diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2008-06-05 07:07:28 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-11 21:58:43 -0400 |
commit | a5136e23b54250f4082130f3dd6f5cb6c54bc7d5 (patch) | |
tree | 9a92fa7988f8bb98b22637f26a76b728ff9e37a0 /drivers/net/e1000e/netdev.c | |
parent | 48f29ffc509748f5b82d7690561e98f851241a19 (diff) |
e1000e: 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/net/e1000e/netdev.c')
-rw-r--r-- | drivers/net/e1000e/netdev.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index cab1835173cd..ccb8ca2cbb2b 100644 --- a/drivers/net/e1000e/netdev.c +++ b/drivers/net/e1000e/netdev.c | |||
@@ -4343,6 +4343,11 @@ static int __devinit e1000_probe(struct pci_dev *pdev, | |||
4343 | netdev->features |= NETIF_F_TSO; | 4343 | netdev->features |= NETIF_F_TSO; |
4344 | netdev->features |= NETIF_F_TSO6; | 4344 | netdev->features |= NETIF_F_TSO6; |
4345 | 4345 | ||
4346 | netdev->vlan_features |= NETIF_F_TSO; | ||
4347 | netdev->vlan_features |= NETIF_F_TSO6; | ||
4348 | netdev->vlan_features |= NETIF_F_HW_CSUM; | ||
4349 | netdev->vlan_features |= NETIF_F_SG; | ||
4350 | |||
4346 | if (pci_using_dac) | 4351 | if (pci_using_dac) |
4347 | netdev->features |= NETIF_F_HIGHDMA; | 4352 | netdev->features |= NETIF_F_HIGHDMA; |
4348 | 4353 | ||