igc: Enable NETIF_F_HW_TC flag
Subsystems (2)
PATCH 1/1 igc: Enable NETIF_F_HW_TC flag
This assignment of the feature NETIF_F_HW_TC occurs prior to the initial setup of the local hw_features variable.
This ensures that NETIF_F_HW_TC are marked as user changeable, and also enables it by default when the driver loads.
--- drivers/net/ethernet/intel/igc/igc_main.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/intel/igc/igc_main.c +1 -0
@@ -4898,6 +4898,7 @@ static int igc_probe(struct pci_dev *pdev, netdev->features |=NETIF_F_HW_CSUM ; netdev->features |=NETIF_F_SCTP_CRC ; netdev->features |=NETIF_F_GSO_UDP_L4 ; + netdev->features |=NETIF_F_HW_TC ;#define IGC_GSO_PARTIAL_FEATURES (NETIF_F_GSO_GRE | \ NETIF_F_GSO_GRE_CSUM | \
Signature · 1 line
2.11.0
Brown
PATCH 1/1 igc: Enable NETIF_F_HW_TC flag
Quoted 10 lines
From: Intel-wired-lan <[email protected]> On Behalf Of Sasha Neftin
Sent: Monday, March 2, 2020 4:28 PM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH v1 1/1] igc: EnableNETIF_F_HW_TCflagThis assignment of the feature
NETIF_F_HW_TCoccurs prior to the initial setup of the localhw_featuresvariable.
Quoted 9 lines
This ensures that
NETIF_F_HW_TCare marked as user changeable, and also enables it by default when the driver loads.Signed-off-by Sasha Neftin <[email protected]>--- drivers/net/ethernet/intel/igc/igc_main.c | 1 + 1 file changed, 1 insertion(+)