Skip to content

RFC net: dsa: microchip: add support for Credit based shaper

Arun Ramadoss lkml netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: dsa: microchip: enable port queues for tc mqpriodrivers/net/dsa/microchip/ksz9477.c drivers/net/dsa/microchip/ksz9477_reg.h drivers/net/dsa/microchip/ksz_common.c +4 more+50 -20 replies
2/2net: dsa: microchip: add support for credit based shaperdrivers/net/dsa/microchip/ksz9477.c drivers/net/dsa/microchip/ksz9477.h drivers/net/dsa/microchip/ksz9477_reg.h +5 more+143 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC Patch net-next 0/2] net: dsa: microchip: add support for Credit based shaper

LAN937x switch family, KSZ9477, KSZ9567, KSZ8567, KSZ9563 and KSZ8563 supports the credit based shaper. But there were few difference between LAN937x and KSZ switch like
- number of queue for LAN937x is 8 and for others it is 4.
- Size of credit increment register for LAN937x is 24 and for other is 16-bit. This patch series add the credit based shaper with common implementation for LAN937x and KSZ swithes.

Arun Ramadoss (2):
net: dsa: microchip: enable port queues for tc mqprio
net: dsa: microchip: add support for credit based shaper

 drivers/net/dsa/microchip/ksz9477.c      |  11 +++
 drivers/net/dsa/microchip/ksz9477.h      |   1 +
 drivers/net/dsa/microchip/ksz9477_reg.h  |  32 ++----
 drivers/net/dsa/microchip/ksz_common.c   | 121 +++++++++++++++++++++++
 drivers/net/dsa/microchip/ksz_common.h   |  21 ++++
 drivers/net/dsa/microchip/lan937x.h      |   1 +
 drivers/net/dsa/microchip/lan937x_main.c |   9 ++
 drivers/net/dsa/microchip/lan937x_reg.h  |   9 +-
 net/dsa/tag_ksz.c                        |  15 +++
 9 files changed, 193 insertions(+), 27 deletions(-)
Signature · 1 line
2.36.1