]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
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 63b62d74f9610c744fbd7f6c0a1e2e768291dc19..69e70b297e85da6e6089825108161a8c2e58d8cb 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);