[PATCH net-next v1 0/8] net: dsa: microchip: ksz8: refactor FDB dump path

From: Oleksij Rempel
Date: Tue Apr 02 2024 - 09:15:08 EST


Refactor FDB dump code path for Microchip KSZ8xxx series. This series
mostly makes some cosmetic reworks and allows to forward errors detected
by the regmap.

Oleksij Rempel (8):
net: dsa: microchip: Remove unused FDB timestamp support in
ksz8_r_dyn_mac_table()
net: dsa: microchip: Make ksz8_r_dyn_mac_table() static
net: dsa: microchip: ksz8: Refactor ksz8_fdb_dump()
net: dsa: microchip: ksz8: Refactor ksz8_r_dyn_mac_table() for
readability
net: dsa: microchip: ksz8: Unify variable naming in
ksz8_r_dyn_mac_table()
net: dsa: microchip: ksz8_r_dyn_mac_table(): ksz: do not return EAGAIN
on timeout
net: dsa: microchip: ksz8_r_dyn_mac_table(): return read/write error
if we got any
net: dsa: microchip: ksz8_r_dyn_mac_table(): use entries variable to
signal 0 entries

drivers/net/dsa/microchip/ksz8.h | 2 -
drivers/net/dsa/microchip/ksz8795.c | 144 ++++++++++++------------
drivers/net/dsa/microchip/ksz8795_reg.h | 1 +
3 files changed, 75 insertions(+), 72 deletions(-)

--
2.39.2