mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v1 0/8] net: dsa: realtek: rtl8365mb: DCB ingress QoS offload
@ 2026-10-02 11:58 Oleksij Rempel
  2026-10-02 11:58 ` [PATCH net-next v1 1/8] net: ieee8021q: print traffic type and queue count with %u Oleksij Rempel
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Oleksij Rempel @ 2026-10-02 11:58 UTC (permalink / raw)
  To: Linus Walleij, Luiz Angelo Daros de Luca, Andrew Lunn,
	Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni
  Cc: Oleksij Rempel, kernel, linux-kernel, Alvin Šipraga, netdev,
	Simon Horman

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


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

end of thread, other threads:[~2026-10-05 23:39 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-02 11:58 [PATCH net-next v1 0/8] net: dsa: realtek: rtl8365mb: DCB ingress QoS offload Oleksij Rempel
2026-10-02 11:58 ` [PATCH net-next v1 1/8] net: ieee8021q: print traffic type and queue count with %u Oleksij Rempel
2026-10-02 14:22   ` Luiz Angelo Daros de Luca
2026-10-05 15:04   ` Linus Walleij
2026-10-02 11:58 ` [PATCH net-next v1 2/8] net: ieee8021q: add pcp_to_tt() Oleksij Rempel
2026-10-05 15:06   ` Linus Walleij
2026-10-02 11:58 ` [PATCH net-next v1 3/8] net: ieee8021q: clarify the tt_to_tc() traffic-class mapping Oleksij Rempel
2026-10-05 15:07   ` Linus Walleij
2026-10-02 11:58 ` [PATCH net-next v1 4/8] net: ieee8021q: add tt_to_pcp() Oleksij Rempel
2026-10-05 15:08   ` Linus Walleij
2026-10-02 11:58 ` [PATCH net-next v1 5/8] net: dsa: realtek: rtl8365mb: store the egress queue count per chip Oleksij Rempel
2026-10-05 15:10   ` Linus Walleij
2026-10-05 15:12     ` Linus Walleij
2026-10-02 11:58 ` [PATCH net-next v1 6/8] net: dsa: realtek: rtl8365mb: add QoS baseline and DCB default priority Oleksij Rempel
2026-10-05 23:18   ` Linus Walleij
2026-10-02 11:58 ` [PATCH net-next v1 7/8] net: dsa: realtek: rtl8365mb: offload DCB apptrust Oleksij Rempel
2026-10-05 23:38   ` Linus Walleij
2026-10-02 11:58 ` [PATCH net-next v1 8/8] net: dsa: realtek: rtl8365mb: offload DCB DSCP-to-priority Oleksij Rempel
2026-10-05 15:03 ` [PATCH net-next v1 0/8] net: dsa: realtek: rtl8365mb: DCB ingress QoS offload Linus Walleij

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

all inboxes | Powered by JetHome®