From: Jeff Kirsher Date: Thu, 5 Jun 2008 11:05:30 +0000 (-0700) Subject: ixbge: allow vlan devices to use TSO and TCP CSUM offload X-Git-Tag: MMI-PSA29.97-13-9~33552^2~329^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ad31c402b41a25cfc6c8369b8412d6c133ccafbe;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Jeff Kirsher Signed-off-by: Jeff Garzik --- 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, NETIF_F_HW_VLAN_FILTER; 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;