]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Retain HW VLAN filtering while in promiscuous + VT mode
authorGreg Rose <gregory.v.rose@intel.com>
Tue, 26 Mar 2013 06:19:41 +0000 (06:19 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 25 Apr 2013 03:30:08 +0000 (20:30 -0700)
commit87313080a56a0a39c8751e349ef953ac9905bc8b
treee66c72c059624720165ef22f8498fb0b0fcbdcb2
parent0026de892bf76813bae60ffe68f521459f30d262
igb: Retain HW VLAN filtering while 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: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c