From 4e2ee393ab8561aaf1b5da7e64dedbaa0c07a141 Mon Sep 17 00:00:00 2001 From: Boyang Yu Date: Thu, 2 Nov 2023 13:53:19 -0700 Subject: [PATCH] Disable NETIF_F_HW_CSUM in KNET --- .../broadcom/saibcm-modules/sdklt/linux/knet/ngknet_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platform/broadcom/saibcm-modules/sdklt/linux/knet/ngknet_main.c b/platform/broadcom/saibcm-modules/sdklt/linux/knet/ngknet_main.c index abf1746bc435..a261083945ed 100644 --- a/platform/broadcom/saibcm-modules/sdklt/linux/knet/ngknet_main.c +++ b/platform/broadcom/saibcm-modules/sdklt/linux/knet/ngknet_main.c @@ -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 */