[PATCH RFC net-next 5/7] net: dsa: qca8k: select the four-byte format before port activation
Linus Walleij
linusw at kernel.org
Thu Dec 3 00:40:21 PST 2026
Hi Fil,
On Wed, Nov 25, 2026 at 9:50 PM Fil Dunsky via B4 Relay
<devnull+filipp.dunsky.gmail.com at kernel.org> wrote:
> From: Fil Dunsky <filipp.dunsky at gmail.com>
>
> Select the requested format from the CPU ports before DSA chooses its
> tagger. Stop packet actors and verify the switch header state before
> opening user ports. Use MDIO for management and preserve both conduit
> MTUs.
>
> On teardown, retire flowtable lookups before changing the format.
> Restore and verify the two-byte baseline before releasing the format
> hold. The initial supported topology is the CS7542 dual-conduit QCA8337
> arrangement; unsupported topologies remain rejected.
>
> Signed-off-by: Fil Dunsky <filipp.dunsky at gmail.com>
Over 1000 lines of code added to the QCA driver?
Just to handle daisy-chaining this with another tagger, or something?
The idea with the taggers are to work independently of one another,
not to incur enormous patches to handle this or that special case, they
should be re-usable independently of how they are chained together
so this patch is just one big warning sign that something is off with this
patch series.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list