diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2008-06-05 07:06:27 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-11 21:58:42 -0400 |
commit | 48f29ffc509748f5b82d7690561e98f851241a19 (patch) | |
tree | 05558a67f0a9f8d4fa6a401b690f4206a98baa0e /drivers/net | |
parent | ad31c402b41a25cfc6c8369b8412d6c133ccafbe (diff) |
igb: allow vlan devices to use TSO and TCP CSUM offload
Using the new interface for propagating device feature flags into VLAN
deivces, 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/net')
-rw-r--r-- | drivers/net/igb/igb_main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index ae398f04c7b..7b6b780dc8a 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -967,8 +967,13 @@ static int __devinit igb_probe(struct pci_dev *pdev, | |||
967 | NETIF_F_HW_VLAN_FILTER; | 967 | NETIF_F_HW_VLAN_FILTER; |
968 | 968 | ||
969 | netdev->features |= NETIF_F_TSO; | 969 | netdev->features |= NETIF_F_TSO; |
970 | |||
971 | netdev->features |= NETIF_F_TSO6; | 970 | netdev->features |= NETIF_F_TSO6; |
971 | |||
972 | netdev->vlan_features |= NETIF_F_TSO; | ||
973 | netdev->vlan_features |= NETIF_F_TSO6; | ||
974 | netdev->vlan_features |= NETIF_F_HW_CSUM; | ||
975 | netdev->vlan_features |= NETIF_F_SG; | ||
976 | |||
972 | if (pci_using_dac) | 977 | if (pci_using_dac) |
973 | netdev->features |= NETIF_F_HIGHDMA; | 978 | netdev->features |= NETIF_F_HIGHDMA; |
974 | 979 | ||