]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: stmmac: Disable hardware multicast filter
authorJonathan McDowell <noodles@earth.li>
Wed, 12 Aug 2020 19:37:23 +0000 (20:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Aug 2020 20:12:52 +0000 (13:12 -0700)
commitc8bf334e6017cb6bf90757d8b5fa75ab4695fe43
tree492677f3dc81e398cd8581497a0bba1e62c48129
parent35798038aefce95b19e106de23fd0fbfe59c789e
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: stable@vger.kernel.org
Signed-off-by: Jonathan McDowell <noodles@earth.li>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.c