Skip to content

net: dsa: yt921x: Use u64_stats_t for MIB stats

David Yang lkml netdev oe-kbuild-all 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 0 repliesNew
  2. v32 patches 3 repliesSuperseded
  3. v23 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches5 repliesSuperseded

v0 from the cover letter

- Sending remaining part of

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: dsa: yt921x: Return early for failed MIB readdrivers/net/dsa/yt921x.c+7 -40 replies
2/2net: dsa: yt921x: Use u64_stats_t for MIB statsdrivers/net/dsa/yt921x.c drivers/net/dsa/yt921x.h+178 -1330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH net-next v4 0/2] net: dsa: yt921x: Use u64_stats_t for MIB stats

Avoid load/store tearing of 64-bit values on 32-bit architectures.

v3: https://lore.kernel.org/r/[email protected]
- rework commit message
- avoid some type casting
v2: https://lore.kernel.org/r/[email protected]
- git rid of print_port_err()
- remove unused variable
v1: https://lore.kernel.org/r/[email protected]
- use functions instead of macros
- rework commit message
- hold lock for stats when possible
v0:
- Sending remaining part of

    https://lore.kernel.org/r/[email protected]

David Yang (2):
net: dsa: yt921x: Return early for failed MIB read
net: dsa: yt921x: Use u64_stats_t for MIB stats

 drivers/net/dsa/yt921x.c | 206 +++++++++++++++++++++++----------------
 drivers/net/dsa/yt921x.h | 114 ++++++++++++----------
 2 files changed, 184 insertions(+), 136 deletions(-)

--
2.51.0