aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2008-06-05 07:05:30 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-06-11 21:58:42 -0400
commitad31c402b41a25cfc6c8369b8412d6c133ccafbe (patch)
treefac9bd59f78a258d6edd77cbe1b0deb212d5444a /drivers
parent72dc1c096c7051a48ab1dbb12f71976656b55eb5 (diff)
ixbge: allow vlan devices to use TSO and TCP CSUM offload
Using the new interface for propagating device feature flags into VLAN devices, turn on TSO and CSUM offload on VLAN devices. Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 7b859220c255..0d37c9025be4 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -3518,8 +3518,13 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
3518 NETIF_F_HW_VLAN_FILTER; 3518 NETIF_F_HW_VLAN_FILTER;
3519 3519
3520 netdev->features |= NETIF_F_TSO; 3520 netdev->features |= NETIF_F_TSO;
3521
3522 netdev->features |= NETIF_F_TSO6; 3521 netdev->features |= NETIF_F_TSO6;
3522
3523 netdev->vlan_features |= NETIF_F_TSO;
3524 netdev->vlan_features |= NETIF_F_TSO6;
3525 netdev->vlan_features |= NETIF_F_HW_CSUM;
3526 netdev->vlan_features |= NETIF_F_SG;
3527
3523 if (pci_using_dac) 3528 if (pci_using_dac)
3524 netdev->features |= NETIF_F_HIGHDMA; 3529 netdev->features |= NETIF_F_HIGHDMA;
3525 3530