net: dsa: add support for DCB get/set apptrust configuration
authorOleksij Rempel <o.rempel@pengutronix.de>
Fri, 3 May 2024 13:13:40 +0000 (15:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 May 2024 09:35:09 +0000 (10:35 +0100)
commit96c6f337951a03ab40e13a44cf5ea59b14725721
tree035817f74893822337f77c8524d5e8e510cf48e3
parent09ca994072fd8ae99c763db2450222365dfe8fdf
net: dsa: add support for DCB get/set apptrust configuration

Add DCB support to get/set trust configuration for different packet
priority information sources. Some switch allow to chose different
source of packet priority classification. For example on KSZ switches it
is possible to configure VLAN PCP and/or DSCP sources.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/user.c