public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] net: dsa: yt921x: Use u64_stats_t for MIB stats
@ 2026-02-24 11:24 David Yang
  2026-02-24 11:24 ` [PATCH net-next v2 1/3] net: dsa: yt921x: Refactor port error message David Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Yang @ 2026-02-24 11:24 UTC (permalink / raw)
  To: netdev
  Cc: David Yang, Andrew Lunn, Vladimir Oltean, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, linux-kernel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-02-25  0:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-24 11:24 [PATCH net-next v2 0/3] net: dsa: yt921x: Use u64_stats_t for MIB stats David Yang
2026-02-24 11:24 ` [PATCH net-next v2 1/3] net: dsa: yt921x: Refactor port error message David Yang
2026-02-24 13:35   ` Andrew Lunn
2026-02-24 11:24 ` [PATCH net-next v2 2/3] net: dsa: yt921x: Return early for failed MIB read David Yang
2026-02-24 11:24 ` [PATCH net-next v2 3/3] net: dsa: yt921x: Use u64_stats_t for MIB stats David Yang
2026-02-25  0:41   ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox