]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55331188cd3fec5ac739693587bd41b80812f0d0
tree55a41e0c15a92e25f29002d7f9c7e7821a2c3f07
parent33623b84e9057fdc4d762568f15eaddc4d625779
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]