[PATCH net-next v3 0/4] net: dsa: motorcomm: TC offload follow-ups

From: David Yang

Date: Fri Oct 09 2026 - 12:59:20 EST


This series continues the traffic control work on the Motorcomm YT9215S
DSA driver: it reorganizes the offload code and then adds ACL enablement
on demand and flower priority mapping.

v3:
- rebase
- reword commit messages and comments
- fix cleanup path in acl_add()
v2: https://lore.kernel.org/r/20261001204851.2576101-1-mmyangfl@xxxxxxxxx
- move type casting helper into chip.h
- remove flow statistics and broadcast/multicast policers
v1: https://lore.kernel.org/r/20260926211813.935723-1-mmyangfl@xxxxxxxxx

David Yang (4):
net: dsa: motorcomm: Split TC module
net: dsa: motorcomm: Use NSEC_PER_SEC
net: dsa: motorcomm: Enable ACL on demand
net: dsa: motorcomm: Add TC prio support

drivers/net/dsa/motorcomm/Makefile | 1 +
drivers/net/dsa/motorcomm/chip.c | 1662 ++--------------------------
drivers/net/dsa/motorcomm/chip.h | 352 +-----
drivers/net/dsa/motorcomm/tc.c | 1583 ++++++++++++++++++++++++++
drivers/net/dsa/motorcomm/tc.h | 381 +++++++
5 files changed, 2059 insertions(+), 1920 deletions(-)
create mode 100644 drivers/net/dsa/motorcomm/tc.c
create mode 100644 drivers/net/dsa/motorcomm/tc.h

--
2.53.0