[PATCH net-next v2 0/3] net: dsa: yt921x: Use u64_stats_t for MIB stats

David Yang posted 3 patches 1 month, 3 weeks ago
There is a newer version of this series
drivers/net/dsa/yt921x.c | 235 ++++++++++++++++++++++-----------------
drivers/net/dsa/yt921x.h | 114 ++++++++++---------
2 files changed, 198 insertions(+), 151 deletions(-)
[PATCH net-next v2 0/3] net: dsa: yt921x: Use u64_stats_t for MIB stats
Posted by David Yang 1 month, 3 weeks ago
Avoid load/store tearing of 64-bit values on 32-bit architectures.

v1: https://lore.kernel.org/r/20260203171305.95085-1-mmyangfl@gmail.com
  - use functions instead of macros
  - rework commit message
  - hold lock for stats when possible
v0:
  - Sending remaining part of
    https://lore.kernel.org/r/20260118013019.1078847-1-mmyangfl@gmail.com

David Yang (3):
  net: dsa: yt921x: Refactor port error message
  net: dsa: yt921x: Return early for failed MIB read
  net: dsa: yt921x: Use u64_stats_t for MIB stats

 drivers/net/dsa/yt921x.c | 235 ++++++++++++++++++++++-----------------
 drivers/net/dsa/yt921x.h | 114 ++++++++++---------
 2 files changed, 198 insertions(+), 151 deletions(-)

-- 
2.51.0