summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/microchip/lan937x.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-01-23 22:12:36 -0800
committerJakub Kicinski <kuba@kernel.org>2023-01-23 22:12:37 -0800
commit90e05ef3d17a8fcab534bf67109ef98b309b0d0f (patch)
tree8443658cd4f29cf001d0cd936855b662f449f8f8 /drivers/net/dsa/microchip/lan937x.h
parent3176eb82681ec9c8af31c6588ddedcc6cfb9e445 (diff)
parent71d7920fb2d1d6cdaa6db58426783be02c9cb7bb (diff)
Merge branch 'net-dsa-microchip-add-support-for-credit-based-shaper'
Arun Ramadoss says: ==================== 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. ==================== Link: https://lore.kernel.org/r/20230120052135.32120-1-arun.ramadoss@microchip.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/microchip/lan937x.h')
-rw-r--r--drivers/net/dsa/microchip/lan937x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/microchip/lan937x.h b/drivers/net/dsa/microchip/lan937x.h
index 8e9e66d6728d..3388d91dbc44 100644
--- a/drivers/net/dsa/microchip/lan937x.h
+++ b/drivers/net/dsa/microchip/lan937x.h
@@ -20,4 +20,5 @@ void lan937x_phylink_get_caps(struct ksz_device *dev, int port,
struct phylink_config *config);
void lan937x_setup_rgmii_delay(struct ksz_device *dev, int port);
int lan937x_set_ageing_time(struct ksz_device *dev, unsigned int msecs);
+int lan937x_tc_cbs_set_cinc(struct ksz_device *dev, int port, u32 val);
#endif