linux/drivers/net/ethernet/intel/igb
Emil Tantilov 7e44892c1b igb: fix vlan filtering in promisc mode when not in VT mode
This patch fixes a VT mode check to make sure VLAN filters are disabled when
in promisc mode and VT is not enabled.

The problem with the previous check was that:
E1000_MRQC_ENABLE_VMDQ is defined as 0x00000003

but when not in VT mode:
mrqc |= E1000_MRQC_ENABLE_RSS_4Q (0x00000002)

So the above check will trigger regardless if VT mode is being used or not.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-07-28 13:17:17 -07:00
..
Makefile igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_82575.c igb: Support for SFP modules discovery 2013-05-21 02:37:36 -07:00
e1000_82575.h igb: Add support for i354 devices 2013-04-18 16:40:35 -07:00
e1000_defines.h igb: Support for SFP modules discovery 2013-05-21 02:37:36 -07:00
e1000_hw.h igb: Support for SFP modules discovery 2013-05-21 02:37:36 -07:00
e1000_i210.c igb: Add SMBI semaphore to I210/I211 2013-04-24 18:05:19 -07:00
e1000_i210.h igb: Implementation of i210/i211 LED support 2013-05-21 03:01:58 -07:00
e1000_mac.c igb: Implementation of i210/i211 LED support 2013-05-21 03:01:58 -07:00
e1000_mac.h igb: Fix code comments and whitespace 2013-04-18 16:40:25 -07:00
e1000_mbx.c igb: Fix code comments and whitespace 2013-04-18 16:40:25 -07:00
e1000_mbx.h igb: Fix code comments and whitespace 2013-04-18 16:40:25 -07:00
e1000_nvm.c igb: Add support for i354 devices 2013-04-18 16:40:35 -07:00
e1000_nvm.h igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_phy.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-07-09 18:24:39 -07:00
e1000_phy.h igb: Support for SFP modules discovery 2013-05-21 02:37:36 -07:00
e1000_regs.h igb: Add support for i354 devices 2013-04-18 16:40:35 -07:00
igb.h igb: Removed unused i2c function 2013-05-21 03:08:15 -07:00
igb_ethtool.c igb: Fix set_ethtool function to call update nvm for entire image 2013-05-21 02:49:34 -07:00
igb_hwmon.c igb: Fix code comments and whitespace 2013-04-18 16:40:25 -07:00
igb_main.c igb: fix vlan filtering in promisc mode when not in VT mode 2013-07-28 13:17:17 -07:00
igb_ptp.c igb: Add support for i354 devices 2013-04-18 16:40:35 -07:00