[PATCH net-next v2 0/3] net: dsa: brcm: add legacy FCS tag

From: Álvaro Fernández Rojas
Date: Tue Jun 10 2025 - 12:32:14 EST


The existing brcm legacy tag only works with BCM63xx switches.
These patches add a new legacy tag for BCM5325 and BCM5365 switches, which
require including the FCS and length.

Álvaro Fernández Rojas (3):
net: dsa: tag_brcm: legacy: reorganize functions
net: dsa: tag_brcm: add support for legacy FCS tags
net: dsa: b53: support legacy FCS tags

v2: replace swab32 with cpu_to_le32.

drivers/net/dsa/b53/Kconfig | 1 +
drivers/net/dsa/b53/b53_common.c | 7 +-
include/net/dsa.h | 2 +
net/dsa/Kconfig | 8 +++
net/dsa/tag_brcm.c | 119 ++++++++++++++++++++++++-------
5 files changed, 111 insertions(+), 26 deletions(-)

--
2.39.5