[PATCH net-next 0/2] net: dsa: mv88e6xxx: add support for dcb pcp app

From: Cedric Jehasse via B4 Relay

Date: Thu Jun 04 2026 - 04:30:38 EST


This patch series adds support for dcb pcp app to the mv88e6xxx
driver. The pcp app is there to configure pcp based queue
classification.

In the Marvell switches this is done by configuring the IEEE PRI Mapping
table. There are different hardware implementations of this table
depending on the switch:
* a global table
* the 6390 has one table per port
* the 6393 has one table for DEI=0, and another table for DEI=1 per port

For this the DSA framework needs to be extended. The implementation for
pcp-prio in the DSA framework is very similar to existing dcsp-prio
implementation.

There's another patch series [1] on the mailing list that uses the same
IEEE PRI Mapping table to implement MPQRIO. To me the dcb pcp app feels
like the natural way to configure the pcp to QPri mappings in the
switch.

[1] https://lore.kernel.org/netdev/20260602-mv88e6xxx-8021qat-mqprio-v2-0-72be14522e7c@xxxxxxxx/

Signed-off-by: Cedric Jehasse <cedric.jehasse@xxxxxxxxxx>
---
Cedric Jehasse (2):
net: dsa: add support for dcb pcp app
net: dsa: mv88e6xxx: add support for dcb pcp app

drivers/net/dsa/mv88e6xxx/Makefile | 1 +
drivers/net/dsa/mv88e6xxx/chip.c | 36 ++++++
drivers/net/dsa/mv88e6xxx/chip.h | 17 +++
drivers/net/dsa/mv88e6xxx/dcb.c | 229 +++++++++++++++++++++++++++++++++++++
drivers/net/dsa/mv88e6xxx/dcb.h | 21 ++++
drivers/net/dsa/mv88e6xxx/port.c | 28 ++++-
drivers/net/dsa/mv88e6xxx/port.h | 8 ++
include/net/dsa.h | 10 ++
net/dsa/user.c | 126 ++++++++++++++++++--
9 files changed, 467 insertions(+), 9 deletions(-)
---
base-commit: 09942ddedcb960f9e78fd817ec33f501d1040c5b
change-id: 20260603-net-next-mv88e6xxx-pcp-prio-5752caa7926b
prerequisite-change-id: 20260430-net-next-mv88e6xxx-cbs-2121169caa68:v5
prerequisite-patch-id: 8ad59c43368d4639e0cabcc59a7f6e487560d3f7
prerequisite-patch-id: 88ee88bf34ac3631056bc92c6c6251c29cf7223c

Best regards,
--
Cedric Jehasse <cedric.jehasse@xxxxxxxxxx>