]> 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)
commit08bbf633ce4b1ebf9414f76a5bf5a5595498efc2
treee66c72c059624720165ef22f8498fb0b0fcbdcb2
parente89690b015be040193a7c830625ff2d70cbf4131
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