]> git.ipfire.org Git - thirdparty/linux.git/commit
net: dsa: add tagging driver for MaxLinear GSW1xx switch family
authorDaniel Golle <daniel@makrotopia.org>
Mon, 3 Nov 2025 12:20:20 +0000 (12:20 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 6 Nov 2025 22:16:17 +0000 (14:16 -0800)
commitc6230446b1a6f3c91effafd99f604de455da52e5
treed2396509c711a94e18d4adf2f13381a212c0830e
parente1bb4b36a7ae0915f16abb5fd7073d2547235fa7
net: dsa: add tagging driver for MaxLinear GSW1xx switch family

Add support for a new DSA tagging protocol driver for the MaxLinear
GSW1xx switch family. The GSW1xx switches use a proprietary 8-byte
special tag inserted between the source MAC address and the EtherType
field to indicate the source and destination ports for frames
traversing the CPU port.

Implement the tag handling logic to insert the special tag on transmit
and parse it on receive.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Tested-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Link: https://patch.msgid.link/0e973ebfd9433c30c96f50670da9e9449a0d98f2.1762170107.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
MAINTAINERS
include/net/dsa.h
include/uapi/linux/if_ether.h
net/dsa/Kconfig
net/dsa/Makefile
net/dsa/tag_mxl-gsw1xx.c [new file with mode: 0644]