linux/drivers/net/dsa/microchip
Tristram Ha 5d761dc79f net: dsa: microchip: Fix wrong rx drop MIB counter for KSZ8863
[ Upstream commit 165a7f5db9 ]

When KSZ8863 support was first added to KSZ driver the RX drop MIB
counter was somehow defined as 0x105.  The TX drop MIB counter
starts at 0x100 for port 1, 0x101 for port 2, and 0x102 for port 3, so
the RX drop MIB counter should start at 0x103 for port 1, 0x104 for
port 2, and 0x105 for port 3.

There are 5 ports for KSZ8895, so its RX drop MIB counter starts at
0x105.

Fixes: 4b20a07e10 ("net: dsa: microchip: ksz8795: add support for ksz88xx chips")
Signed-off-by: Tristram Ha <tristram.ha@microchip.com>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://patch.msgid.link/20250723030403.56878-1-Tristram.Ha@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-08-15 12:13:47 +02:00
..
Kconfig net: dsa: microchip: rename ksz8 series files 2024-09-06 08:41:35 +01:00
ksz8.c net: dsa: microchip: Fix wrong rx drop MIB counter for KSZ8863 2025-08-15 12:13:47 +02:00
ksz8.h net: dsa: microchip: add WoL support for KSZ87xx family 2024-08-16 10:25:02 -07:00
ksz8_reg.h net: dsa: microchip: Fix wrong rx drop MIB counter for KSZ8863 2025-08-15 12:13:47 +02:00
ksz8863_smi.c net: dsa: microchip: replace unclear KSZ8830 strings 2024-09-06 08:41:35 +01:00
ksz9477.c net: dsa: microchip: Fix KSZ9477 set_ageing_time function 2025-01-09 13:33:36 +01:00
ksz9477.h net: dsa: microchip: move KSZ9477 WoL functions to ksz_common 2024-08-16 10:25:02 -07:00
ksz9477_acl.c net: dsa: microchip: Fix uninitialized var in ksz9477_acl_move_entries() 2023-10-10 11:12:01 +02:00
ksz9477_i2c.c net: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-26 07:28:08 -07:00
ksz9477_reg.h net: dsa: microchip: Fix KSZ9477 set_ageing_time function 2025-01-09 13:33:36 +01:00
ksz9477_tc_flower.c net: dsa: microchip: ksz9477: flower: validate control flags 2024-04-15 10:33:14 +01:00
ksz_common.c net: dsa: microchip: KSZ9896 register regmap alignment to 32 bit boundaries 2024-12-19 18:13:21 +01:00
ksz_common.h net: dsa: microchip: replace unclear KSZ8830 strings 2024-09-06 08:41:35 +01:00
ksz_dcb.c net: dsa: microchip: Add KSZ8895/KSZ8864 switch support 2024-08-27 16:14:18 -07:00
ksz_dcb.h net: dsa: microchip: add support DSCP priority mapping 2024-05-08 10:35:11 +01:00
ksz_ptp.c net: dsa: microchip: fix PTP config failure when using multiple ports 2024-08-20 15:53:56 -07:00
ksz_ptp.h net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
ksz_ptp_reg.h net: dsa: microchip: ptp: lan937x: Enable periodic output in LED pins 2023-01-13 08:40:41 +00:00
ksz_spi.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
lan937x.h net: dsa: microchip: add support for credit based shaper 2023-01-23 22:12:35 -08:00
lan937x_main.c net: dsa: microchip: Fix LAN937X set_ageing_time function 2025-01-09 13:33:36 +01:00
lan937x_reg.h net: dsa: microchip: Fix LAN937X set_ageing_time function 2025-01-09 13:33:36 +01:00
Makefile net: dsa: microchip: rename ksz8 series files 2024-09-06 08:41:35 +01:00