From: Arun Ramadoss <arun.ramadoss@microchip.com>
To: <linux-kernel@vger.kernel.org>, <netdev@vger.kernel.org>
Cc: <woojung.huh@microchip.com>, <UNGLinuxDriver@microchip.com>,
<andrew@lunn.ch>, <vivien.didelot@gmail.com>,
<f.fainelli@gmail.com>, <olteanv@gmail.com>,
<davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>, <linux@armlinux.org.uk>,
<Tristram.Ha@microchip.com>
Subject: [RFC Patch net-next 0/2] net: dsa: microchip: add support for Credit based shaper
Date: Wed, 9 Nov 2022 21:37:55 +0530 [thread overview]
Message-ID: <20221109160757.27902-1-arun.ramadoss@microchip.com> (raw)
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
next reply other threads:[~2022-11-09 16:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-09 16:07 Arun Ramadoss [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221109160757.27902-1-arun.ramadoss@microchip.com \
--to=arun.ramadoss@microchip.com \
--cc=Tristram.Ha@microchip.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=vivien.didelot@gmail.com \
--cc=woojung.huh@microchip.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®