aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vhost.c
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2010-04-14 16:04:23 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-14 16:11:34 -0700
commit5f6c01819979afbfec7e0b15fe52371b8eed87e8 (patch)
treecc8c13c6e78f001225d8c6f9a6eaa7cabb3ca666 /drivers/vhost/vhost.c
parente743d31312d00932391b123dfac3324d2b9e8c81 (diff)
downloadkernel_samsung_smdk4412-5f6c01819979afbfec7e0b15fe52371b8eed87e8.zip
kernel_samsung_smdk4412-5f6c01819979afbfec7e0b15fe52371b8eed87e8.tar.gz
kernel_samsung_smdk4412-5f6c01819979afbfec7e0b15fe52371b8eed87e8.tar.bz2
ixgbe: fix bug with vlan strip in promsic mode
The ixgbe driver was setting up 82598 hardware correctly, so that when promiscuous mode was enabled hardware stripping was turned off. But on 82599 the logic to disable/enable hardware stripping is different, and the code was not updated correctly when the hardware vlan stripping was enabled as default. This change comprises the creation of two new helper functions and calling them from the right locations to disable and enable hardware stripping of vlan tags at appropriate times. 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>
Diffstat (limited to 'drivers/vhost/vhost.c')
0 files changed, 0 insertions, 0 deletions