Re: [PATCH] net: mscc: ocelot: Fix multicast to the CPU port

2021-01-19 Thread Vladimir Oltean
On Tue, Jan 19, 2021 at 10:12:34AM +, Bedel, Alban wrote: > My board use felix and I build without CONFIG_MSCC_OCELOT_SWITCH so I > missed these, my bad. Ah, ok, this makes sense. It happens to me too to forget to build with CONFIG_MSCC_OCELOT_SWITCH enabled, more often than I'd like to admit.

Re: [PATCH] net: mscc: ocelot: Fix multicast to the CPU port

2021-01-19 Thread Bedel, Alban
On Mon, 2021-01-18 at 18:55 +, Vladimir Oltean wrote: > Hi Alban, > > On Mon, Jan 18, 2021 at 05:03:17PM +0100, Alban Bedel wrote: > > Multicast entries in the MAC table use the high bits of the MAC > > address to encode the ports that should get the packets. But this > > port > > mask does no

Re: [PATCH] net: mscc: ocelot: Fix multicast to the CPU port

2021-01-18 Thread Vladimir Oltean
Hi Alban, On Mon, Jan 18, 2021 at 05:03:17PM +0100, Alban Bedel wrote: > Multicast entries in the MAC table use the high bits of the MAC > address to encode the ports that should get the packets. But this port > mask does not work for the CPU port, to receive these packets on the > CPU port the MA

[PATCH] net: mscc: ocelot: Fix multicast to the CPU port

2021-01-18 Thread Alban Bedel
Multicast entries in the MAC table use the high bits of the MAC address to encode the ports that should get the packets. But this port mask does not work for the CPU port, to receive these packets on the CPU port the MAC_CPU_COPY flag must be set. Because of this IPv6 was effectively not working b