Re: [PATCH net-next 2/6] net: dsa: vsc73xx: add port_stp_state_set function

Paweł Dembicki
2023-06-21T20:38:42Z

śr., 21 cze 2023 o 21:33 Andrew Lunn <andrew@lunn.ch> napisał(a):
>
> > + struct vsc73xx *vsc = ds->priv;
> > + /* FIXME: STP frames isn't forwarded at this moment. BPDU frames are
> > + * forwarded only from to PI/SI interface. For more info see chapter
> > + * 2.7.1 (CPU Forwarding) in datasheet.
>
> Do you mean the CPU never gets to see the BPDU frames?
>
> Does the hardware have any sort of packet matching to trap frames to
> the CPU? Can you match on the destination MAC address
> 01:80:C2:00:00:00 ?
>

Analyzer in VSC73XX switches can send some kind of packages to (and
from) processor via registers available from SPI/Platform BUS (for
some external analysis). In some cases it's possible to configure: if
packet will be copied or forwarded to this special CPU queue. But
BPDU frames could be sent to processor via CPU queue only. So It's
impossible to forward bridge control data via rgmii interface.

--
Pawel Dembicki