ixgb: Don't check for vlan group on transmit
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 4 Dec 2010 05:35:17 +0000 (05:35 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 11 Dec 2010 06:12:36 +0000 (22:12 -0800)
commitae54496f9e8d40c89e5668205c181dccfa9ecda1
tree3cc8aafc1fb76dcc97e70035c93394afea596234
parent667445008db3f45a760c235d771be0c9671e59e5
ixgb: Don't check for vlan group on transmit

Based on a patch from Jesse Gross.

Enable vlan tag insertion even when vlan group is not configured.

For ixgb HW both CTRL0.VME and VLE bit in the Tx descriptor need to be set
in order to enable HW acceleration.

Introduced separate functions for enabling/disabling of vlan tag stripping
similar to ixgbe.

CC: Jesse Gross <jesse@nicira.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgb/ixgb_main.c