]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'net-dsa-netc-add-bridge-mode-support'
authorJakub Kicinski <kuba@kernel.org>
Mon, 15 Jun 2026 21:32:45 +0000 (14:32 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 15 Jun 2026 21:32:45 +0000 (14:32 -0700)
Wei Fang says:

====================
net: dsa: netc: add bridge mode support

This series adds bridge mode support to the NETC DSA switch driver,
covering both VLAN-aware and VLAN-unaware operation.

The NETC switch manages forwarding through a set of hardware tables
accessed via NTMP: the FDB table (FDBT), VLAN filter table (VFT), egress
treatment table (ETT), and egress count table (ECT). The series extends
the NTMP layer with the operations required for bridging, then builds the
DSA bridge callbacks on top.

Since all switch ports share the VFT, so only one VLAN-aware bridge is
supported.

FDB aging is managed in software. A periodic delayed work sweeps the
table using the hardware activity element mechanism, with a default aging
time of 300 seconds matching the IEEE 802.1Q standard. Per-port entries
are also flushed immediately on bridge leave and link-down events.
====================

Link: https://patch.msgid.link/20260611021458.2629145-1-wei.fang@oss.nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge