net: microchip: sparx5: add support for offloading dscp table
authorDaniel Machon <daniel.machon@microchip.com>
Tue, 1 Nov 2022 09:48:33 +0000 (10:48 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 3 Nov 2022 14:16:50 +0000 (15:16 +0100)
commit8dcf69a64118f0ae9506ce6c584bc5648ad84aa1
treef07e29d079e2e30e72acd4b8737e6027ceab04a8
parent23f8382cd95db36dc32ca81ce72d0936caa34f80
net: microchip: sparx5: add support for offloading dscp table

Add support for offloading dscp app entries. Dscp values are global for
all ports on the sparx5 switch. Therefore, we replicate each dscp app
entry per-port.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/microchip/sparx5/sparx5_dcb.c
drivers/net/ethernet/microchip/sparx5/sparx5_port.c
drivers/net/ethernet/microchip/sparx5/sparx5_port.h