mbox series

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

Message ID 20220920090010.305172-1-horatiu.vultur@microchip.com (mailing list archive)
Headers show
Series net: lan966x: Add mqprio and taprio support | expand

Message

Horatiu Vultur Sept. 20, 2022, 9 a.m. UTC
Add support for offloading QoS features with tc command to lan966x. The
offloaded QoS features are mqprio and taprio.

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