mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
eqos: Fix group address filtering.
The hash filter table order in the GMAC matches the order of the top bit of the hashed destination address. See the description of GMAC_MAC_Hash_table_Reg0 in RK3568 TRM part 2, section 20.4.2. PR: 282074 Reviewed by: manu MFC after: 7 days Differential Revision: https://reviews.freebsd.org/D47115
This commit is contained in:
parent
7bc0cb91a2
commit
bf8d4cfe34
1 changed files with 2 additions and 2 deletions
|
|
@ -442,8 +442,8 @@ eqos_setup_rxfilter(struct eqos_softc *sc)
|
|||
WR4(sc, GMAC_MAC_ADDRESS0_LOW, val);
|
||||
|
||||
/* Multicast hash filters */
|
||||
WR4(sc, GMAC_MAC_HASH_TABLE_REG0, hash[1]);
|
||||
WR4(sc, GMAC_MAC_HASH_TABLE_REG1, hash[0]);
|
||||
WR4(sc, GMAC_MAC_HASH_TABLE_REG0, hash[0]);
|
||||
WR4(sc, GMAC_MAC_HASH_TABLE_REG1, hash[1]);
|
||||
|
||||
/* Packet filter config */
|
||||
WR4(sc, GMAC_MAC_PACKET_FILTER, pfil);
|
||||
|
|
|
|||
Loading…
Reference in a new issue