]> 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)
commit44c67fe8a657eaba2a2160e3f448807bcb70daf7
tree87ac3a439e52775f4ee09485b97a5bb6048ce5a1
parent3643528d27865923c34f90f13c81efdfc25c6c49
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