]> git.baikalelectronics.ru Git - kernel.git/commit
net: lan966x: Add offload support for tbf
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Sun, 25 Sep 2022 18:46:31 +0000 (20:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Sep 2022 08:36:28 +0000 (09:36 +0100)
commit94644b6d72b4ebb4b0cbea35ee542463b2225803
tree87ac3a439e52775f4ee09485b97a5bb6048ce5a1
parent2ae3cb58b9afc1ede5cb79d5718efbb4b798b140
net: lan966x: Add offload support for tbf

The tbf qdisc allows to attach a shaper on traffic egress on a port or
on a queue. On port they are attached directly to the root and on queue
they are attached on one of the classes of the parent qdisc.

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.h
drivers/net/ethernet/microchip/lan966x/lan966x_regs.h
drivers/net/ethernet/microchip/lan966x/lan966x_tbf.c [new file with mode: 0644]
drivers/net/ethernet/microchip/lan966x/lan966x_tc.c