On Mon, 13 Jan 2020 at 11:46, Alexander Lobakin [off-list ref] wrote:
Vladimir Oltean wrote 13.01.2020 12:42:
quoted
Hi Alexander,
On Mon, 13 Jan 2020 at 11:22, Alexander Lobakin [off-list ref]
wrote:
quoted
CPU ports can't be bridged anyway
Regards,
ᚷ ᛖ ᚢ ᚦ ᚠ ᚱ
The fact that CPU ports can't be bridged is already not ideal.
One can have a DSA switch with cascaded switches on each port, so it
acts like N DSA masters (not as DSA links, since the taggers are
incompatible), with each switch forming its own tree. It is desirable
that the ports of the DSA switch on top are bridged, so that
forwarding between cascaded switches does not pass through the CPU.
Oh, I see. But currently DSA infra forbids the adding DSA masters to
bridges IIRC. Can't name it good or bad decision, but was introduced
to prevent accidental packet flow breaking on DSA setups.
I just wanted to point out that some people are going to be looking at
ways by which the ETH_P_XDSA handler can be made to play nice with the
master's rx_handler, and that it would be nice to at least not make
the limitation worse than it is by converting everything to
rx_handlers (which "currently" can't be stacked, from the comments in
netdevice.h).
quoted
-Vladimir
Regards,
ᚷ ᛖ ᚢ ᚦ ᚠ ᚱ
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek