From: Jeff Kirsher Date: Thu, 5 Jun 2008 11:07:28 +0000 (-0700) Subject: e1000e: allow VLAN devices to use TSO and TCP CSUM offload X-Git-Tag: MMI-PSA29.97-13-9~33552^2~329^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a5136e23b54250f4082130f3dd6f5cb6c54bc7d5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Jeff Kirsher Signed-off-by: Jeff Garzik --- 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, netdev->features |= NETIF_F_TSO; netdev->features |= NETIF_F_TSO6; + netdev->vlan_features |= NETIF_F_TSO; + netdev->vlan_features |= NETIF_F_TSO6; + netdev->vlan_features |= NETIF_F_HW_CSUM; + netdev->vlan_features |= NETIF_F_SG; + if (pci_using_dac) netdev->features |= NETIF_F_HIGHDMA;