net: dsa: add support switches global DSCP priority mapping
authorOleksij Rempel <o.rempel@pengutronix.de>
Fri, 3 May 2024 13:13:49 +0000 (15:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 May 2024 09:35:10 +0000 (10:35 +0100)
commit5f5109af47535bc613c12a089dded425a373a12f
tree776d80d19ba7e3cf1af1ca3d4142c13cca880af0
parentea1078d94ce067c9377340c64435d3ac61e08500
net: dsa: add support switches global DSCP priority mapping

Some switches like Microchip KSZ variants do not support per port DSCP
priority configuration. Instead there is a global DSCP mapping table.

To handle it, we will accept set/del request to any of user ports to
make global configuration and update dcb app entries for all other
ports.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/user.c