mbox series

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

Message ID 20240402131339.1525330-1-o.rempel@pengutronix.de (mailing list archive)
Headers show
Series net: dsa: microchip: ksz8: refactor FDB dump path | expand

Message

Oleksij Rempel April 2, 2024, 1:13 p.m. UTC
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(-)

Comments

Vladimir Oltean April 3, 2024, 11:21 a.m. UTC | #1
On Tue, Apr 02, 2024 at 03:13:31PM +0200, Oleksij Rempel wrote:
> 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.

Reviewed-by: Vladimir Oltean <olteanv@gmail.com>