Re: [PATCH net 1/2] net: dsa: let drivers offload 8021q uppers on standalone ports
From: Vladimir Oltean
Date: Mon Aug 10 2026 - 08:11:02 EST
On Thu, Aug 06, 2026 at 04:39:00PM +0300, Semih Baskan wrote:
> Hi Vladimir,
>
> > But it doesn't, at least not in a sane way. If it still only accepts
> > those VLANs that have been added to filters by higher layers, it's not
> > VLAN-unaware. If a solution is not found to the problem, the driver must
> > reject operation as VLAN-unaware.
>
> You are right that the port is not VLAN-unaware. It cannot be: the VID
> lookup on this silicon cannot be turned off without the ARL loss from
> the other subthread. My mistake in the previous mail was arguing around
> that instead of saying it.
I understand from your discussion with Jonas that with the right IMP
port selection, you do get frames copied to the CPU even despite the
VLAN table miss. This is more in line with the expectations of higher
layers.
What about VLAN-unaware bridging? Can packets with VID=100 be forwarded
autonomously between two ports of a vlan_filtering=0 bridge if that VLAN
is not programmed to hardware? Does the behaviour depend on silicon
capabilities, or is it the same for all switches handled by the b53
driver?