Re: [PATCH net-next] net: dsa: b53: mirror BPDUs to CPU port 5 when port 8 is not a CPU port

From: Joseph Telaak

Date: Wed Nov 11 2026 - 18:20:23 EST


> > We could also try to use the CFP to perform a full redirection to port 8.
>
> CFP isn't supported in all bcm531x5 chip variants. E.g BCM53115M and
> BCM53125 do, wile BCM53115S and BCM53125S don't. And likely the
> presumably lower cost S variants will be found most (at least the
> board I use for testing has one).
>
> So we could at most use it as an alternative path where supported to
> free up mirroring. Checking if we have CFP can be done via the Bonding
> Pad Status Register.

The CFP redirect would be a nice fit where it exists, since it leaves
the mirror free for tc. This board has a BCM53125M, so I can try it
there. For v2 I'd start with the mirrors, since they work on both
variants, and add the CFP path for the M parts as a follow-up if you
think it's worth it.

Joseph