aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/qed/qed_eth_if.h
diff options
context:
space:
mode:
authorYuval Mintz <Yuval.Mintz@qlogic.com>2016-02-18 17:00:39 +0200
committerDavid S. Miller <davem@davemloft.net>2016-02-18 16:07:44 -0500
commit3f9b4a6972d50562613daa649ed064244e6bc7bb (patch)
treec026cf2be058f984f2b24eca91ebdba8c42736f0 /include/linux/qed/qed_eth_if.h
parentnet: phy: dp83848: Fix sysfs naming collision warning (diff)
downloadlinux-dev-3f9b4a6972d50562613daa649ed064244e6bc7bb.tar.xz
linux-dev-3f9b4a6972d50562613daa649ed064244e6bc7bb.zip
qed: Lay infrastructure for vlan filtering offload
Today, interfaces are working in vlan-promisc mode; But once vlan filtering offloaded would be supported, we'll need a method to control it directly [e.g., when setting device to PROMISC, or when running out of vlan credits]. This adds the necessary API for L2 client to manually choose whether to accept all vlans or only those for which filters were configured. Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--include/linux/qed/qed_eth_if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/qed/qed_eth_if.h b/include/linux/qed/qed_eth_if.h
index 81ab178e31c1..e53b0ca49e41 100644
--- a/include/linux/qed/qed_eth_if.h
+++ b/include/linux/qed/qed_eth_if.h
@@ -33,6 +33,8 @@ struct qed_update_vport_params {
u8 vport_id;
u8 update_vport_active_flg;
u8 vport_active_flg;
+ u8 update_accept_any_vlan_flg;
+ u8 accept_any_vlan;
u8 update_rss_flg;
struct qed_update_vport_rss_params rss_params;
};