]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Retain VLAN filtering in promiscuous + VT mode
authorGreg Rose <gregory.v.rose@intel.com>
Fri, 22 Feb 2013 02:14:39 +0000 (02:14 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 31 Jul 2013 00:07:12 +0000 (17:07 -0700)
commit489c0574382b2072668c841097e7e2d8d4d87299
treea926784d4a4c3a59a564bf92be407b41b7c77754
parent5b213998c5ae70e679d5f2982ec7197a09de39fb
ixgbe: Retain VLAN filtering in promiscuous + VT mode

When using the new bridge FDB interface to allow SR-IOV virtual function
network devices to communicate with SW bridged network devices the
physical function is placed into promiscuous mode and hardware VLAN
filtering is disabled.  This defeats the ability to use VLAN tagging
to isolate user networks.  When the device is in promiscuous mode and
VT mode simultaneously ensure that VLAN hardware filtering remains
enabled.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c