lkml.org 
[lkml]   [2023]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next 0/8] Ocelot/Felix driver cleanup
Date
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

\
 
 \ /
  Last update: 2023-04-12 14:50    [W:0.114 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site