Thread (21 messages) 21 messages, 4 authors, 2d ago

[PATCH net-next v1 0/8] net: dsa: realtek: rtl8365mb: DCB ingress QoS offload

flat view
WARM2d

From: Oleksij Rempel <o.rempel@pengutronix.de>
Date: 2026-10-02 11:58:53
Also in: lkml

Add DCB-based ingress QoS offload for the RTL8365MB switch via the dcbnl
app interface: a per-port default priority, PCP trust, and DSCP trust.
It also adds the few net/core ieee8021q helpers the driver needs.

Nothing changes on the wire until an admin enables PCP or DSCP trust;
until then every frame takes the port default and lands on one queue.

Tested on an RTL8365MB-VC.

ETS scheduling and CPU-tag ingress pre-classification build on this and
will follow once it lands.

Oleksij Rempel (8):
  net: ieee8021q: print traffic type and queue count with %u
  net: ieee8021q: add pcp_to_tt()
  net: ieee8021q: clarify the tt_to_tc() traffic-class mapping
  net: ieee8021q: add tt_to_pcp()
  net: dsa: realtek: rtl8365mb: store the egress queue count per chip
  net: dsa: realtek: rtl8365mb: add QoS baseline and DCB default
    priority
  net: dsa: realtek: rtl8365mb: offload DCB apptrust
  net: dsa: realtek: rtl8365mb: offload DCB DSCP-to-priority

 drivers/net/dsa/realtek/Kconfig          |   2 +
 drivers/net/dsa/realtek/Makefile         |   1 +
 drivers/net/dsa/realtek/rtl8365mb_dcb.c  | 589 +++++++++++++++++++++++
 drivers/net/dsa/realtek/rtl8365mb_dcb.h  |  29 ++
 drivers/net/dsa/realtek/rtl8365mb_main.c |  33 ++
 include/net/ieee8021q.h                  |  16 +-
 net/core/ieee8021q_helpers.c             | 115 ++++-
 7 files changed, 768 insertions(+), 17 deletions(-)
 create mode 100644 drivers/net/dsa/realtek/rtl8365mb_dcb.c
 create mode 100644 drivers/net/dsa/realtek/rtl8365mb_dcb.h

--
2.47.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help