net: lan966x: Add offload support for mqprio
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Wed, 21 Sep 2022 12:25:36 +0000 (14:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2022 11:31:27 +0000 (12:31 +0100)
commit3c83431f079546d166ef3b0490d7b81753554ca7
tree55a41e0c15a92e25f29002d7f9c7e7821a2c3f07
parent644ffce5f1be181096098f0b8dbbf8f6a0d621c0
net: lan966x: Add offload support for mqprio

Implement mqprio qdisc support using tc command.
The HW supports 8 priority queues from highest (7) to lowest (0).

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan966x/Makefile
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
drivers/net/ethernet/microchip/lan966x/lan966x_main.h
drivers/net/ethernet/microchip/lan966x/lan966x_mqprio.c [new file with mode: 0644]
drivers/net/ethernet/microchip/lan966x/lan966x_tc.c [new file with mode: 0644]