Messages in this thread | | | From | Vladimir Oltean <> | Subject | [PATCH net-next 0/8] Ocelot/Felix driver cleanup | Date | Wed, 12 Apr 2023 15:47:29 +0300 |
| |
The cleanup mostly handles the statistics code path - some issues regarding understandability became apparent after the series "Fix trainwreck with Ocelot switch statistics counters": https://lore.kernel.org/netdev/20230321010325.897817-1-vladimir.oltean@nxp.com/
There is also one patch which cleans up a misleading comment in the DSA felix_setup().
Vladimir Oltean (8): net: mscc: ocelot: strengthen type of "u32 reg" in I/O accessors net: mscc: ocelot: refactor enum ocelot_reg decoding to helper net: mscc: ocelot: debugging print for statistics regions net: mscc: ocelot: remove blank line at the end of ocelot_stats.c net: dsa: felix: remove confusing/incorrect comment from felix_setup() net: mscc: ocelot: strengthen type of "u32 reg" and "u32 base" in ocelot_stats.c net: mscc: ocelot: strengthen type of "int i" in ocelot_stats.c net: mscc: ocelot: fix ineffective WARN_ON() in ocelot_stats.c
drivers/net/dsa/ocelot/felix.c | 5 --- drivers/net/ethernet/mscc/ocelot.h | 9 +++++ drivers/net/ethernet/mscc/ocelot_io.c | 50 +++++++++++++----------- drivers/net/ethernet/mscc/ocelot_stats.c | 42 +++++++++++++------- include/soc/mscc/ocelot.h | 20 +++++----- 5 files changed, 75 insertions(+), 51 deletions(-)
-- 2.34.1
| |