]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Lay infrastructure for vlan filtering offload
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 18 Feb 2016 15:00:39 +0000 (17:00 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 19:29:05 +0000 (12:29 -0700)
commite843323fe8079f5bad05dacc7d19f7b19056f19a
tree14a0476f73349813f8e2b2d3653796f367976a1c
parenta61e3b12d1364504823efe63eea78e1633efe09b
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>
Orabug: 23732603
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_l2.c
include/linux/qed/qed_eth_if.h