Re: [PATCH net-next] net: dsa: mv88e6xxx: Add partial support for TCAM entries

From: Andrew Lunn

Date: Sun Feb 15 2026 - 21:34:55 EST


On Fri, Feb 13, 2026 at 01:48:00PM +0100, Cedric Jehasse via B4 Relay wrote:
> From: Cedric Jehasse <cedric.jehasse@xxxxxxxxxx>
>
> This patch adds partial Ternary Content Addressable Memory (TCAM) for
> the mv88e6390 and mv88e6393 family of switches.

Have you looked at other generations of switches? The TCAM has been
around a while. We need a clear understanding of what is generic, and
what is specific to the mv88e6390 and mv88e6393. You can then pick the
appropriate function names. Anything which is specific to these two
devices needs to use the prefix mv88e6390 and mv88e6393. Anything
which is generic to all switches with a TCAN can use the prefix
mv88e6xxx. The 6320, 6341, 6352 families have a TCAM, so we need the
naming to reflect if there is anything specific to a family, so
somebody can later add TCAM support for the other families without
having to rename things.

Andrew