Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next v1 0/6] net: dsa: mt7628: add VLAN filtering support
@ 2026-09-06 17:16 Joris Vaisvila
  2026-09-06 17:16 ` [PATCH net-next v1 1/6] net: dsa: mt7628: rework vlan block allocator Joris Vaisvila
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Joris Vaisvila @ 2026-09-06 17:16 UTC (permalink / raw)
  To: netdev
  Cc: horms, pabeni, kuba, edumazet, davem, olteanv, Andrew Lunn,
	Joris Vaisvila

Add bridge offload and VLAN filtering support to the MT7628 switch.

The MT7628 switch uses VLAN membership as its forwarding mechanism. This
series uses tag_8021q VLANs to emulate VLAN-unaware bridge forwarding,
while using the bridge's VLAN configuration directly when VLAN filtering
is enabled. A major limitation is that VIDs cannot be reused between
separate bridges, as this would allow cross-bridge forwarding. tag_8021q
VIDs are also reserved for the same reason.

The switch driver adds 6x "reserved" VLAN slots for use by tag_8021q
that are only programmed on VLAN-unaware ports, together with double
tagging, while the remaining slots are only programmed for VLAN-aware
ports.

The tagger is updated to preserve the existing VLAN tags on transmit and
receive.

Thanks,
Joris

Joris Vaisvila (6):
  net: dsa: mt7628: rework vlan block allocator
  net: dsa: mt7628: add port bridge offload support
  net: dsa: tag: mt7628: add bridge support
  net: dsa: mt7628: add VLAN filtering support
  net: dsa: tag: mt7628: add VLAN awareness support
  MAINTAINERS: add myself as MT7628 embedded switch maintainer

 MAINTAINERS              |   9 ++
 drivers/net/dsa/mt7628.c | 305 ++++++++++++++++++++++++++++++++-------
 net/dsa/tag_mt7628.c     |  66 +++++++--
 3 files changed, 313 insertions(+), 67 deletions(-)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-09-13 17:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-06 17:16 [PATCH net-next v1 0/6] net: dsa: mt7628: add VLAN filtering support Joris Vaisvila
2026-09-06 17:16 ` [PATCH net-next v1 1/6] net: dsa: mt7628: rework vlan block allocator Joris Vaisvila
2026-09-10  0:17   ` netdev-bot+sashiko
2026-09-06 17:16 ` [PATCH net-next v1 2/6] net: dsa: mt7628: add port bridge offload support Joris Vaisvila
2026-09-10  0:17   ` netdev-bot+sashiko
2026-09-06 17:16 ` [PATCH net-next v1 3/6] net: dsa: tag: mt7628: add bridge support Joris Vaisvila
2026-09-10  0:17   ` netdev-bot+sashiko
2026-09-06 17:16 ` [PATCH net-next v1 4/6] net: dsa: mt7628: add VLAN filtering support Joris Vaisvila
2026-09-10  0:17   ` netdev-bot+sashiko
2026-09-06 17:16 ` [PATCH net-next v1 5/6] net: dsa: tag: mt7628: add VLAN awareness support Joris Vaisvila
2026-09-10  0:17   ` netdev-bot+sashiko
2026-09-13 16:59     ` Joris Vaisvila
2026-09-06 17:16 ` [PATCH net-next v1 6/6] MAINTAINERS: add myself as MT7628 embedded switch maintainer Joris Vaisvila

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox