Re: [PATCH net] net: dsa: b53: be VLAN unaware when not filtering

Vladimir Oltean <[email protected]>
Newsgroups org.kernel.vger.netdev,org.kernel.vger.linux-kernel
Message-ID <20260810120442.255nahzmurjhi5jn@skbuf>
On Thu, Aug 06, 2026 at 01:09:03PM +0200, Jonas Gorski wrote:
> > static int b53_arl_rw_op(struct b53_device *dev, unsigned int op)
> > {
> >         u8 reg;
> >
> >         if (op > ARLTBL_RW)
> >                 return -EINVAL;
> >
> >         b53_read8(dev, B53_ARLIO_PAGE, B53_ARLTBL_RW_CTRL, &reg);
> >         reg |= ARLTBL_START_DONE;
> >         if (op)
> >                 reg |= ARLTBL_RW;
> >         else
> >                 reg &= ~ARLTBL_RW;
> >         if (dev->vlan_enabled)
> >                 reg &= ~ARLTBL_IVL_SVL_SELECT;
> >         else
> >                 reg |= ARLTBL_IVL_SVL_SELECT;
> 
> This ARLTBL_IVL_SVL_SELECT bit is only implemented for a small subset
> of switches (bcm5302x / bcm58* and bcm53134). Additionally, according
> to the register description, this also requires enabling "per port
> IVL/SVL" mode, which is not enable by b53. The description of that
> also says that the VIDs used in SVL ports must not be used in IVL
> ports. No idea what the consequences are if they do.

What does enabling per port IVL/SVL mode do?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.