summaryrefslogtreecommitdiff
path: root/mm/hmm.c
diff options
context:
space:
mode:
authorJose Abreu <joabreu@synopsys.com>2019-10-06 13:17:12 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-06 18:46:31 +0200
commitc7ab0b8088d7f023f543013963f23aecc7e47efb (patch)
treecd9f3861b9c65fa9c0fdae0d6843a6bc635131f7 /mm/hmm.c
parent04c1b4c70de958c229fc3d63298b807909a6f31a (diff)
net: stmmac: Fallback to VLAN Perfect filtering if HASH is not available
If VLAN Hash Filtering is not available we can fallback to perfect filtering instead. Let's implement this in XGMAC and GMAC cores and let the user use this filter. VLAN VID=0 always passes filter so we check if more than 2 VLANs are created and return proper error code if so because perfect filtering only supports 1 VID at a time. Signed-off-by: Jose Abreu <joabreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/hmm.c')
0 files changed, 0 insertions, 0 deletions