OSDN Git Service

net: stmmac: dwmac1000: Fix Hash Filter
authorJose Abreu <Jose.Abreu@synopsys.com>
Fri, 24 May 2019 08:20:20 +0000 (10:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 May 2019 20:45:56 +0000 (13:45 -0700)
commit09261426198370665b82e0be892fb6e495dcac6e
treea1d6b83a2d332bfc119c994688268c282775c6d6
parent091810dbded96c2af81f645e386e4262553e3493
net: stmmac: dwmac1000: Fix Hash Filter

In order for hash filter to work we need to set the HPF bit.

Found out while running stmmac selftests.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c