Skip to contentSkip to conversation

igc: Enable NETIF_F_HW_TC flag

PATCH New Sasha Neftin 2 participants 2 messages Mar 3, 2020 – Mar 5, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index 47009fe0cbde..025f2e439aef 100644
@@ -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
#1 lore raw

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: 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.

Quoted 9 lines

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(+)