[PATCH v1] net: designware: Pass all multicast frames in designware driver
Jim Liu
jim.t90615 at gmail.com
Mon Apr 8 10:50:17 CEST 2024
Allowing multicast packets is required for IPv6 neighbor discovery
protocol.
Signed-off-by: Parvathi Bhogaraju <pbhogaraju at microsoft.com>
Signed-off-by: Jim Liu <JJLIU0 at nuvoton.com>
---
drivers/net/designware.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index 03b531c667..4c1642b29a 100644
--- a/drivers/net/designware.c
+++ b/drivers/net/designware.c
@@ -352,6 +352,11 @@ static int dw_adjust_link(struct dw_eth_dev *priv, struct eth_mac_regs *mac_p,
(phydev->duplex) ? "full" : "half",
(phydev->port == PORT_FIBRE) ? ", fiber mode" : "");
+#ifdef CONFIG_ARCH_NPCM8XX
+ /* Pass all Multicast Frames */
+ setbits_le32(&mac_p->framefilt, BIT(4));
+
+#endif
return 0;
}
--
2.25.1
More information about the U-Boot
mailing list