aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe
diff options
context:
space:
mode:
authorDon Skidmore <donald.c.skidmore@intel.com>2011-04-12 05:42:11 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-04-27 05:19:06 -0400
commit58be7666a897bb756477da72859f515da35ab805 (patch)
tree3de88eec8487bf1dee7a05904e189db78552e8b4 /drivers/net/ixgbe
parent7aba7b077f638deb9569e0b36256cd9ae76e468c (diff)
ixgbe: enable SCTP checksum offload for X540
X540 supports SCTP checksum offload so enable it. It was overlooked when X540 support was initially added to the driver. Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com> Tested-by: Evan Swanson <evan.swanson@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 227a9b4c7028..a7da5d9c12d0 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -7361,8 +7361,14 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
7361 netdev->features |= NETIF_F_TSO6; 7361 netdev->features |= NETIF_F_TSO6;
7362 netdev->features |= NETIF_F_GRO; 7362 netdev->features |= NETIF_F_GRO;
7363 7363
7364 if (adapter->hw.mac.type == ixgbe_mac_82599EB) 7364 switch (adapter->hw.mac.type) {
7365 case ixgbe_mac_82599EB:
7366 case ixgbe_mac_X540:
7365 netdev->features |= NETIF_F_SCTP_CSUM; 7367 netdev->features |= NETIF_F_SCTP_CSUM;
7368 break;
7369 default:
7370 break;
7371 }
7366 7372
7367 netdev->vlan_features |= NETIF_F_TSO; 7373 netdev->vlan_features |= NETIF_F_TSO;
7368 netdev->vlan_features |= NETIF_F_TSO6; 7374 netdev->vlan_features |= NETIF_F_TSO6;