mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 17:05:18 +07:00
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>
This commit is contained in:
parent
091810dbde
commit
0926142619
@ -198,6 +198,7 @@ static void dwmac1000_set_filter(struct mac_device_info *hw,
|
||||
}
|
||||
}
|
||||
|
||||
value |= GMAC_FRAME_FILTER_HPF;
|
||||
dwmac1000_set_mchash(ioaddr, mc_filter, mcbitslog2);
|
||||
|
||||
/* Handle multiple unicast addresses (perfect filtering) */
|
||||
|
Loading…
Reference in New Issue
Block a user