e1000: allow VLAN devices to use TSO and CSUM offload
Subsystems (2)
PATCH 1/1 e1000: allow VLAN devices to use TSO and CSUM offload
From: Patrick McHardy <[email protected]>
This patch changes e1000 to set vlan_features so TSO and CSUM offload can be used by VLAN devices, similar as with the other Intel drivers.
Signed-off-by Patrick McHardy <[email protected]>
Signed-off-by Jesse Brandeburg <[email protected]>
Signed-off-by Jeff Kirsher <[email protected]>
---
drivers/net/e1000/e1000_main.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/net/e1000/e1000_main.c +5 -0
@@ -1053,6 +1053,11 @@ static int __devinit e1000_probe(struct pci_dev *pdev, netdev->features |=NETIF_F_LLTX ; + 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 ; + adapter->en_mng_pt =e1000_enable_mng_pass_thru (hw);/* initialize eeprom parameters */
From: Jeff Kirsher <[email protected]>
Date: Fri, 10 Oct 2008 18:34:58 -0700
Quoted 9 lines
From: Patrick McHardy <[email protected]>
This patch changes e1000 to set
vlan_featuresso TSO and CSUM offload can be used by VLAN devices, similar as with the other Intel drivers.Signed-off-by Patrick McHardy <[email protected]>Signed-off-by Jesse Brandeburg <[email protected]>Signed-off-by Jeff Kirsher <[email protected]>
Applied to net-2.6, thanks.
I'm applying this because Patrick submitted this a long time ago in the same form that it had in this final submission.