]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Add Anti-spoofing feature support
authorGreg Rose <gregory.v.rose@intel.com>
Sat, 6 Nov 2010 02:08:26 +0000 (02:08 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 25 Dec 2010 05:36:51 +0000 (21:36 -0800)
commit215bd29b64d386506cf555621af716afb4b8a210
treed14fda8702cb36ca4039941b254e462b31f32f1c
parent304de5dc908428bac6038cc2e39add3739ca58ae
igb: Add Anti-spoofing feature support

Add support for the anti-spoofing feature in the HW.  Packets from
VF devices with spoofed MAC addresses or VLAN tags will be blocked
and an event generated.  When the watchdog task runs it will call a
function to check if any spoof events occurred.  If an event was
detected then a warning message is dumped to the system log.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/igb/e1000_82575.c
drivers/net/igb/e1000_82575.h
drivers/net/igb/e1000_regs.h
drivers/net/igb/igb.h
drivers/net/igb/igb_main.c