net: microchip: sparx5: add support for offloading ets qdisc
authorDaniel Machon <daniel.machon@microchip.com>
Tue, 20 Sep 2022 10:14:31 +0000 (12:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2022 08:53:10 +0000 (09:53 +0100)
commit211225428d65882ceccfbde49ab6f4d832badc0c
tree7a7251eaa72e83a7d5003c320a9605be671780c7
parente02a5ac6bf7763edcd9590b98a14dd17f49a5248
net: microchip: sparx5: add support for offloading ets qdisc

Add support for offloading ets qdisc to sparx5 switch.

The ets qdisc makes it possible to configure a mix og strict and
bandwidth-sharing bands. The ets qdisc must be attached as a root qdisc.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/sparx5/sparx5_main_regs.h
drivers/net/ethernet/microchip/sparx5/sparx5_qos.c
drivers/net/ethernet/microchip/sparx5/sparx5_qos.h
drivers/net/ethernet/microchip/sparx5/sparx5_tc.c