It seems multicast filtering of RTL8168F does not work. Workaround

the silicon bug by accepting any multicast packets.

PR:	193488
MFC After:	1 week
This commit is contained in:
Pyun YongHyeon 2014-10-21 01:31:24 +00:00
parent a5045426db
commit b8333e4546

View File

@ -703,6 +703,12 @@ re_set_rxmode(struct rl_softc *sc)
rxfilt |= RL_RXCFG_RX_MULTI;
}
if (sc->rl_hwrev->rl_rev == RL_HWREV_8168F) {
/* Disable multicast filtering due to silicon bug. */
hashes[0] = 0xffffffff;
hashes[1] = 0xffffffff;
}
done:
CSR_WRITE_4(sc, RL_MAR0, hashes[0]);
CSR_WRITE_4(sc, RL_MAR4, hashes[1]);