[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230117143252.8339-1-arun.ramadoss@microchip.com>
Date: Tue, 17 Jan 2023 20:02:50 +0530
From: Arun Ramadoss <arun.ramadoss@...rochip.com>
To: <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>
CC: <woojung.huh@...rochip.com>, <UNGLinuxDriver@...rochip.com>,
<andrew@...n.ch>, <vivien.didelot@...il.com>,
<f.fainelli@...il.com>, <olteanv@...il.com>, <davem@...emloft.net>,
<edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>,
<linux@...linux.org.uk>, <Tristram.Ha@...rochip.com>
Subject: [Patch net-next 0/2] net: dsa: microchip: add support for credit based shaper
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
Powered by blists - more mailing lists