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)
commit670224f12929942cfd74638d31ec18124def65f6
treea926784d4a4c3a59a564bf92be407b41b7c77754
parent60ff779c4abba37a31bd8624ef45026f7fb1b70c
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