]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0412e01a3b0936a17e3e8469c939fb3db3de7564
tree3cc8aafc1fb76dcc97e70035c93394afea596234
parentb05001bc45586fa8f4901cc26904b312a84516d6
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