Re: [PATCH net] net: dsa: b53: be VLAN unaware when not filtering
From: Vladimir Oltean
Date: Mon Aug 10 2026 - 08:12:37 EST
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 |= 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?