]> 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)
commita9c44ad7f4f0246109a40e1bb2903ecefde94d23
treea926784d4a4c3a59a564bf92be407b41b7c77754
parent51dac1860d13d47cd6b3d62564aaaee5b2948c3b
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