Skip to content

Commit

Permalink
[knet]: Disable NETIF_F_HW_CSUM in KNET (#17080) (#17118)
Browse files Browse the repository at this point in the history
  • Loading branch information
mssonicbld authored Nov 8, 2023
1 parent 403d09d commit 14934ab
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1705,8 +1705,9 @@ ngknet_ndev_init(ngknet_netif_t *netif, struct net_device **nd)
memcpy(ndev->dev_addr, ma, ETH_ALEN);

/* Initialize the device features */
ndev->hw_features = NETIF_F_RXCSUM | NETIF_F_HW_CSUM |
NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX;
ndev->hw_features = NETIF_F_RXCSUM |
NETIF_F_HW_VLAN_CTAG_RX |
NETIF_F_HW_VLAN_CTAG_TX;
ndev->features = ndev->hw_features | NETIF_F_HIGHDMA;

/* Register the kernel network device */
Expand Down

0 comments on commit 14934ab

Please sign in to comment.