OSDN Git Service

igc: Add SCTP CRC checksumming functionality
authorSasha Neftin <sasha.neftin@intel.com>
Wed, 11 Sep 2019 08:17:58 +0000 (11:17 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 21 Oct 2019 17:22:13 +0000 (10:22 -0700)
Add stream control transmission protocol CRC checksum.

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 63b62d7..69e70b2 100644 (file)
@@ -4211,6 +4211,7 @@ static int igc_probe(struct pci_dev *pdev,
 
        /* Add supported features to the features list*/
        netdev->features |= NETIF_F_HW_CSUM;
+       netdev->features |= NETIF_F_SCTP_CRC;
 
        /* setup the private structure */
        err = igc_sw_init(adapter);