Re: [PATCH net-next v2 5/9] net: dsa: microchip: add support for different DCB app configurations
From: Jakub Kicinski
Date: Wed Apr 03 2024 - 20:42:17 EST
On Wed, 3 Apr 2024 11:29:01 +0200 Oleksij Rempel wrote:
> Add DCB support to configure app trust sources and default port priority.
>
> Following commands can be used for testing:
> dcb apptrust set dev lan1 order pcp dscp
> dcb app replace dev lan1 default-prio 3
>
> Since it is not possible to configure DSCP-Prio mapping per port, this
> patch provide only ability to read switch global dscp-prio mapping and
> way to enable/disable app trust for DSCP.
transient compiler nit:
drivers/net/dsa/microchip/ksz_dcb.c:86:17: warning: unused variable 'ksz8_port2_supported_apptrust' [-Wunused-const-variable]
86 | static const u8 ksz8_port2_supported_apptrust[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~