From: Alexander Duyck Date: Tue, 27 Oct 2009 23:52:31 +0000 (+0000) Subject: igb: open up SCTP checksum offloads to all MACs 82576 and newer X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5b043fb08e1b9e10eef7cc41512462f99811e96e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- 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, if (pci_using_dac) netdev->features |= NETIF_F_HIGHDMA; - if (adapter->hw.mac.type == e1000_82576) + if (hw->mac.type >= e1000_82576) netdev->features |= NETIF_F_SCTP_CSUM; adapter->en_mng_pt = igb_enable_mng_pass_thru(hw);