igc: Add ECN support for TSO
authorSasha Neftin <sasha.neftin@intel.com>
Sun, 22 Mar 2020 07:58:46 +0000 (09:58 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 18 May 2020 22:06:28 +0000 (15:06 -0700)
Align with other Intel drivers and add ECN support for TSO.

Add NETIF_F_TSO_ECN flag

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_main.c

index 9d5f8287c704bd5eb971fe1d1770249341950c23..7556fcdf1fd77a6214e7790350c0654e1301cc76 100644 (file)
@@ -4838,6 +4838,7 @@ static int igc_probe(struct pci_dev *pdev,
        netdev->features |= NETIF_F_SG;
        netdev->features |= NETIF_F_TSO;
        netdev->features |= NETIF_F_TSO6;
+       netdev->features |= NETIF_F_TSO_ECN;
        netdev->features |= NETIF_F_RXCSUM;
        netdev->features |= NETIF_F_HW_CSUM;
        netdev->features |= NETIF_F_SCTP_CRC;