Re: [RFC net-next 2/2] net: dsa: mt7530: trap packets from standalone ports to the CPU

From: DENG Qingfang
Date: Thu Jul 29 2021 - 12:12:51 EST


On Thu, Jul 29, 2021 at 11:28 PM Vladimir Oltean <olteanv@xxxxxxxxx> wrote:
> Actually, on second thought...
> If MT7530 supports 8 FIDs and it has 7 ports, then you can assign one
> FID to each standalone port or VLAN-unaware bridge it is a member of.

The problem is, there is no way to do that..

According to the reference manual:
Filter ID is learned automatically from VLAN Table. 0 is the default value if
VLAN Table is not applicable.

So it is always 0 in VLAN-unaware mode.