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: [Patch net-next 0/2] net: dsa: microchip: add support for credit based shaper
Date: Tue, 17 Jan 2023 20:02:50 +0530 [thread overview]
Message-ID: <20230117143252.8339-1-arun.ramadoss@microchip.com> (raw)
LAN937x switch family, KSZ9477, KSZ9567, KSZ9563 and KSZ8563 supports
the credit based shaper. But there were few difference between LAN937x and KSZ
switch like
- number of queues 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.
RFC -> Patch v1
- Rebased to latest net-next
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 | 123 +++++++++++++++++++++++
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, 195 insertions(+), 27 deletions(-)
base-commit: 0349b8779cc949ad9e6aced32672ee48cf79b497
--
2.36.1
next reply other threads:[~2023-01-17 14:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-17 14:32 Arun Ramadoss [this message]
2023-01-17 14:32 ` [Patch net-next 1/2] net: dsa: microchip: enable port queues for tc mqprio Arun Ramadoss
2023-01-19 9:37 ` Paolo Abeni
2023-01-17 14:32 ` [Patch net-next 2/2] net: dsa: microchip: add support for credit based shaper Arun Ramadoss
2023-01-19 9:30 ` Paolo Abeni
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=20230117143252.8339-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®