diff options
author | Peter Jeremy <peterj@FreeBSD.org> | 2024-10-16 07:20:30 +0000 |
---|---|---|
committer | Peter Jeremy <peterj@FreeBSD.org> | 2024-10-16 07:20:30 +0000 |
commit | bf8d4cfe347b34a9ca21e2cdab5f9bba09be73bf (patch) | |
tree | 20f5e4c821010d20538f3f6495b8647e62606f3a | |
parent | 7bc0cb91a2dfc7e23d96efd0fb7866ee2a23ba88 (diff) |
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
-rw-r--r-- | sys/dev/eqos/if_eqos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/eqos/if_eqos.c b/sys/dev/eqos/if_eqos.c index 566f6ffd0a42..6f58c96a10b7 100644 --- a/sys/dev/eqos/if_eqos.c +++ b/sys/dev/eqos/if_eqos.c @@ -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); |