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

From: Andrew Lunn
Date: Wed Jun 21 2023 - 15:34:02 EST


> + 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 ?

Andrew