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)
commit13800469d40bf4dc9fbed17f4692b2ebe94d4526
treed14fda8702cb36ca4039941b254e462b31f32f1c
parent1b5dda331ff8646a70d247cace45a60035937a9b
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