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

Lan966x switch supports credit based shaper in hardware according to
IEEE Std 802.1Q-2018 Section 8.6.8.2. Add support for cbs configuration
on egress port of lan966x switch.

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