[PATCH net-next v2 0/4] net: lan966x: Add mqprio and taprio support

From: Horatiu Vultur
Date: Wed Sep 21 2022 - 08:21:39 EST


Add support for offloading QoS features with tc command to lan966x. The
offloaded QoS features are mqprio and taprio.

v1->v2:
- fix compilation warning
- rename lan966x_taprio_enable/disable to lan966x_taprio_add/del

Horatiu Vultur (4):
net: lan966x: Add define for number of priority queues NUM_PRIO_QUEUES
net: lan966x: Add offload support for mqprio
net: lan966x: Add registers used by taprio
net: lan966x: Add offload support for taprio

.../net/ethernet/microchip/lan966x/Makefile | 3 +-
.../ethernet/microchip/lan966x/lan966x_main.c | 11 +-
.../ethernet/microchip/lan966x/lan966x_main.h | 17 +
.../microchip/lan966x/lan966x_mqprio.c | 28 +
.../ethernet/microchip/lan966x/lan966x_port.c | 2 +
.../ethernet/microchip/lan966x/lan966x_ptp.c | 9 +-
.../ethernet/microchip/lan966x/lan966x_regs.h | 159 ++++++
.../microchip/lan966x/lan966x_taprio.c | 528 ++++++++++++++++++
.../ethernet/microchip/lan966x/lan966x_tc.c | 40 ++
9 files changed, 792 insertions(+), 5 deletions(-)
create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_mqprio.c
create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_taprio.c
create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_tc.c

--
2.33.0