Skip to content

Commit

Permalink
e1000: allow VLAN devices to use TSO and CSUM offload
Browse files Browse the repository at this point in the history
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 <kaber@trash.net>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Oct 11, 2008
1 parent 7bb82d9 commit 20501a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/net/e1000/e1000_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1047,6 +1047,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 */
Expand Down

0 comments on commit 20501a6

Please sign in to comment.