Skip to content

Commit df43dd5

Browse files
u1f35cdavem330
authored andcommitted
net: ethernet: stmmac: Disable hardware multicast filter
The IPQ806x does not appear to have a functional multicast ethernet address filter. This was observed as a failure to correctly receive IPv6 packets on a LAN to the all stations address. Checking the vendor driver shows that it does not attempt to enable the multicast filter and instead falls back to receiving all multicast packets, internally setting ALLMULTI. Use the new fallback support in the dwmac1000 driver to correctly achieve the same with the mainline IPQ806x driver. Confirmed to fix IPv6 functionality on an RB3011 router. Cc: [email protected] Signed-off-by: Jonathan McDowell <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 592d751 commit df43dd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ static int ipq806x_gmac_probe(struct platform_device *pdev)
351351
plat_dat->has_gmac = true;
352352
plat_dat->bsp_priv = gmac;
353353
plat_dat->fix_mac_speed = ipq806x_gmac_fix_mac_speed;
354+
plat_dat->multicast_filter_bins = 0;
354355

355356
err = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res);
356357
if (err)

0 commit comments

Comments
 (0)