]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Add anti-spoofing feature support
authorGreg Rose <gregory.v.rose@intel.com>
Thu, 18 Nov 2010 03:02:52 +0000 (03:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 25 Dec 2010 05:41:06 +0000 (21:41 -0800)
commit6e2a140acdfc0a423480a559bb0983e26bfc1bf2
tree74ec1479b9f28e055c45a8a636f86b537d959b37
parent76e76fa6ed0c586f1a1788b9aba5ce2ca29ceec8
ixgbe: 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 a counter incremented.  During the watchdog timer the spoofed
packet dropped counter is read and if it is non-zero then a warning
message is displayed on the host VMM's console.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_82599.c
drivers/net/ixgbe/ixgbe_common.c
drivers/net/ixgbe/ixgbe_common.h
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_sriov.c
drivers/net/ixgbe/ixgbe_type.h