mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC Patch net-next 0/2] net: dsa: microchip: add support for Credit based shaper
@ 2022-11-09 16:07 Arun Ramadoss
  2022-11-09 16:07 ` [RFC Patch net-next 1/2] net: dsa: microchip: enable port queues for tc mqprio Arun Ramadoss
  2022-11-09 16:07 ` [RFC Patch net-next 2/2] net: dsa: microchip: add support for credit based shaper Arun Ramadoss
  0 siblings, 2 replies; 3+ messages in thread
From: Arun Ramadoss @ 2022-11-09 16:07 UTC (permalink / raw)
  To: linux-kernel, netdev
  Cc: woojung.huh, UNGLinuxDriver, andrew, vivien.didelot, f.fainelli,
	olteanv, davem, edumazet, kuba, pabeni, linux, Tristram.Ha

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(-)

-- 
2.36.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-09 16:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-09 16:07 [RFC Patch net-next 0/2] net: dsa: microchip: add support for Credit based shaper Arun Ramadoss
2022-11-09 16:07 ` [RFC Patch net-next 1/2] net: dsa: microchip: enable port queues for tc mqprio Arun Ramadoss
2022-11-09 16:07 ` [RFC Patch net-next 2/2] net: dsa: microchip: add support for credit based shaper Arun Ramadoss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®