mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
igb: open up SCTP checksum offloads to all MACs 82576 and newer
Going forward the plan is to have the MACs support SCTP checksum offloads so change the check from == to >=. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c809d2276c
commit
5b043fb08e
1 changed files with 1 additions and 1 deletions
|
@ -1456,7 +1456,7 @@ static int __devinit igb_probe(struct pci_dev *pdev,
|
||||||
if (pci_using_dac)
|
if (pci_using_dac)
|
||||||
netdev->features |= NETIF_F_HIGHDMA;
|
netdev->features |= NETIF_F_HIGHDMA;
|
||||||
|
|
||||||
if (adapter->hw.mac.type == e1000_82576)
|
if (hw->mac.type >= e1000_82576)
|
||||||
netdev->features |= NETIF_F_SCTP_CSUM;
|
netdev->features |= NETIF_F_SCTP_CSUM;
|
||||||
|
|
||||||
adapter->en_mng_pt = igb_enable_mng_pass_thru(hw);
|
adapter->en_mng_pt = igb_enable_mng_pass_thru(hw);
|
||||||
|
|
Loading…
Reference in a new issue