aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic.h
diff options
context:
space:
mode:
authorSony Chacko <sony.chacko@qlogic.com>2010-08-19 05:08:27 +0000
committerDavid S. Miller <davem@davemloft.net>2010-08-19 16:52:40 -0700
commitfe4d434da8e96142e36eb22fc5cf29ef2c2df9c2 (patch)
tree6e4d124efa2ecc98d025a79268c77dd46e449ef2 /drivers/net/qlcnic/qlcnic.h
parentqlcnic: configure offload setting on eswitch (diff)
downloadlinux-dev-fe4d434da8e96142e36eb22fc5cf29ef2c2df9c2.tar.xz
linux-dev-fe4d434da8e96142e36eb22fc5cf29ef2c2df9c2.zip
qlcnic: support anti mac spoofing
Administrator can configure to drop packet in transmit, if it doesn't match interface mac address, in case of virtual function. Signed-off-by: Sony Chacko <sony.chacko@qlogic.com> Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic.h')
-rw-r--r--drivers/net/qlcnic/qlcnic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h
index 9433a05555f1..b58c4119f279 100644
--- a/drivers/net/qlcnic/qlcnic.h
+++ b/drivers/net/qlcnic/qlcnic.h
@@ -900,6 +900,7 @@ struct qlcnic_mac_req {
#define QLCNIC_BRIDGE_ENABLED 0X10
#define QLCNIC_DIAG_ENABLED 0x20
#define QLCNIC_ESWITCH_ENABLED 0x40
+#define QLCNIC_MACSPOOF 0x200
#define QLCNIC_IS_MSI_FAMILY(adapter) \
((adapter)->flags & (QLCNIC_MSI_ENABLED | QLCNIC_MSIX_ENABLED))