aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-10-27 19:52:31 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-28 06:26:07 -0400
commit5b043fb08e1b9e10eef7cc41512462f99811e96e (patch)
treea218d34ae97f6ad7bdbf8bcf7608c8c76fdd25e8 /drivers/net/igb
parentc809d2276cb035228cd9e83e2ca7d2b902c61cef (diff)
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>
Diffstat (limited to 'drivers/net/igb')
-rw-r--r--drivers/net/igb/igb_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index 846e64f0ad86..1a6c07455052 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -1456,7 +1456,7 @@ static int __devinit igb_probe(struct pci_dev *pdev,
1456 if (pci_using_dac) 1456 if (pci_using_dac)
1457 netdev->features |= NETIF_F_HIGHDMA; 1457 netdev->features |= NETIF_F_HIGHDMA;
1458 1458
1459 if (adapter->hw.mac.type == e1000_82576) 1459 if (hw->mac.type >= e1000_82576)
1460 netdev->features |= NETIF_F_SCTP_CSUM; 1460 netdev->features |= NETIF_F_SCTP_CSUM;
1461 1461
1462 adapter->en_mng_pt = igb_enable_mng_pass_thru(hw); 1462 adapter->en_mng_pt = igb_enable_mng_pass_thru(hw);