summaryrefslogtreecommitdiff
path: root/include/linux/qed
diff options
context:
space:
mode:
authorYuval Mintz <Yuval.Mintz@caviumnetworks.com>2016-10-14 05:19:20 -0400
committerDavid S. Miller <davem@davemloft.net>2016-10-14 11:59:58 -0400
commit7b7e70f979e34ed84d725eab8ea42921ab6f42e3 (patch)
treeedc6eceb6d95e30d47f3720470fb625ad07bbbdb /include/linux/qed
parent256958538ae2616e4aa14efab8c0d11df1e188db (diff)
downloadlwn-7b7e70f979e34ed84d725eab8ea42921ab6f42e3.tar.gz
lwn-7b7e70f979e34ed84d725eab8ea42921ab6f42e3.zip
qed*: Allow unicast filtering
Apparently qede fails to set IFF_UNICAST_FLT, and as a result is not actually performing unicast MAC filtering. While we're at it - relax a hard-coded limitation that limits each interface into using at most 15 unicast MAC addresses before turning promiscuous. Instead utilize the HW resources to their limit. Signed-off-by: Yuval Mintz <Yuval.Mintz@caviumnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/qed')
-rw-r--r--include/linux/qed/qed_eth_if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/qed/qed_eth_if.h b/include/linux/qed/qed_eth_if.h
index 1c779486c30d..15130805d792 100644
--- a/include/linux/qed/qed_eth_if.h
+++ b/include/linux/qed/qed_eth_if.h
@@ -23,6 +23,7 @@ struct qed_dev_eth_info {
u8 port_mac[ETH_ALEN];
u8 num_vlan_filters;
+ u16 num_mac_filters;
/* Legacy VF - this affects the datapath, so qede has to know */
bool is_legacy;