summaryrefslogtreecommitdiff
path: root/drivers/net/qlcnic/qlcnic.h
diff options
context:
space:
mode:
authorAmit Kumar Salecha <amit.salecha@qlogic.com>2010-08-31 17:17:52 +0000
committerDavid S. Miller <davem@davemloft.net>2010-09-01 10:41:57 -0700
commit03c5d770c24cd673d105fbf1a9706ae838272091 (patch)
tree420344c7cd203c648c4747293f1a41ae3b3d8ee1 /drivers/net/qlcnic/qlcnic.h
parentb5e5492c0d49e2fd6f51961d03b8533435e5e7f5 (diff)
qlcnic: mac vlan learning support
Hypervisor allows, two VM's interfaces to have same mac address. These VM's interfaces get differentiate with Vlan tag. This patch add support to learn and configure mac+vlan filter on device. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h
index 4727204a2450..9d211529fa16 100644
--- a/drivers/net/qlcnic/qlcnic.h
+++ b/drivers/net/qlcnic/qlcnic.h
@@ -722,6 +722,8 @@ struct qlcnic_cardrsp_tx_ctx {
#define QLCNIC_MAC_NOOP 0
#define QLCNIC_MAC_ADD 1
#define QLCNIC_MAC_DEL 2
+#define QLCNIC_MAC_VLAN_ADD 3
+#define QLCNIC_MAC_VLAN_DEL 4
struct qlcnic_mac_list_s {
struct list_head list;
@@ -932,6 +934,7 @@ struct qlcnic_mac_req {
struct qlcnic_filter {
struct hlist_node fnode;
u8 faddr[ETH_ALEN];
+ u16 vlan_id;
unsigned long ftime;
};