[PATCH net-next 00/12] net: dsa: support for inband management of switches
From: Luke Howard <hidden>
Date: 2026-07-03 07:30:34
Also in:
lkml
This patch set shephards a series of commits made by Andrew Lunn and others to support inband management of DSA switches. [1] Specifically, it allows the switch itself to be managed using DSA tagged frames instead of MDIO. MDIO is typically required to enable inband management. An implementation is included for the qca8k driver. This is patch set one of four: the remaining sets add support for the Remote Management Unit (RMU) in the mv88e6xxx, and then general and mv88e6xxx support for "inband-only" mode where MDIO is unavailable on the hardware. Note: the patch to validate the source trunk against lags_len was previously submitted and rejected, but I am including it as the issue has been triggered when running in inband mode. [1] https://github.com/lunn/linux/tree/v6.15-rc2-next-next-inband Signed-off-by: Luke Howard <redacted> --- Andrew Lunn (10): net: dsa: qca8k: Move register access completion into DSA core net: dsa: qca8K: Move queuing for request frame into the core net: dsa: qca8k: dsa_inband_request: More normal return values net: dsa: qca8k: Drop replies with wrong sequence numbers net: dsa: qca8k: Move request sequence number handling into core net: dsa: qca8k: Refactor sequence number mismatch to use error code net: dsa: qca8k: Pass error code from reply decoder to requester net: dsa: qca8k: Update error handling net: dsa: qca8k: Move inband mutex into DSA core net: dsa: Add helper to find ds_switch by index Christian Marangi (1): net: dsa: qca8k: drop redundant mgmt_eth_data Luke Howard (1): net: dsa: validate source trunk against lags_len drivers/net/dsa/qca/qca8k-8xxx.c | 238 +++++++++---------------------------- drivers/net/dsa/qca/qca8k-common.c | 2 +- drivers/net/dsa/qca/qca8k.h | 12 +- include/net/dsa.h | 36 ++++++ net/dsa/dsa.c | 109 +++++++++++++++++ net/dsa/tag.h | 14 +++ 6 files changed, 220 insertions(+), 191 deletions(-) --- base-commit: 2bb62a85aff6d4c14a62a476dfabaada3c1cc014 change-id: 20260612-net-next-dsa-rmu-5cbb0f10ab8b Best regards, -- Luke Howard [off-list ref]