Skip to content

net: dsa: motorcomm: MIB fixup

David Yang lkml netdev 6 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 posting 2/23 patches 0 repliesNew
  2. v5 Latest6 patches 0 repliesApplied 6/6
  3. v47 patches 1 replySuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v36 patches2 repliesSuperseded
v2 posting 1/26 patches6 repliesSuperseded
v14 patches5 repliesSuperseded

Changes in v5 from the cover letter

- rebase
- hoist type casting helper into chip.h
- fix enable_delayed_work/disable_delayed_work pair
- remove counter reader in favor of an independent series
- reword commit messages
v4: https://lore.kernel.org/r/[email protected]
- reuse port_to_priv helper
- re-enable delayed_work on port_setup
- disable preemption for u64_stats_set
v3: https://lore.kernel.org/r/[email protected]
- fix build errors
- fix logic error on MIB buffer creation
v2: https://lore.kernel.org/r/[email protected]
- split patches
v1: https://lore.kernel.org/r/[email protected]

Patches in v5 All 6 applied

#Subject and filesSizeRepliesApplied
1/6net: dsa: motorcomm: Hoist type casting helper into chip.hdrivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h drivers/net/dsa/motorcomm/leds.c +2 more+74 -800 repliesApplied
2/6net: dsa: motorcomm: Rename MIB stuffdrivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h+19 -190 repliesApplied
3/6net: dsa: motorcomm: Split MIB buffersdrivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h+112 -320 repliesApplied
4/6net: dsa: motorcomm: Split MIB moduledrivers/net/dsa/motorcomm/Makefile drivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h +2 more+565 -5200 repliesApplied
5/6net: dsa: motorcomm: Use u64_stats_t for MIB statsdrivers/net/dsa/motorcomm/mib.c drivers/net/dsa/motorcomm/mib.h+131 -1250 repliesApplied
6/6net: dsa: motorcomm: Fix MIB synchronizationdrivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/mib.c drivers/net/dsa/motorcomm/mib.h+66 -350 repliesApplied

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/6
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH net-next v5 0/6] net: dsa: motorcomm: MIB fixup

Fix (theoretical) MIB inconsistency and prepare for new devices. No new features are introduced.

v5:
- rebase
- hoist type casting helper into chip.h
- fix enable_delayed_work/disable_delayed_work pair
- remove counter reader in favor of an independent series
- reword commit messages
v4: https://lore.kernel.org/r/[email protected]
- reuse port_to_priv helper
- re-enable delayed_work on port_setup
- disable preemption for u64_stats_set
v3: https://lore.kernel.org/r/[email protected]
- fix build errors
- fix logic error on MIB buffer creation
v2: https://lore.kernel.org/r/[email protected]
- split patches
v1: https://lore.kernel.org/r/[email protected]

David Yang (6):
net: dsa: motorcomm: Hoist type casting helper into chip.h
net: dsa: motorcomm: Rename MIB stuff
net: dsa: motorcomm: Split MIB buffers
net: dsa: motorcomm: Split MIB module
net: dsa: motorcomm: Use u64_stats_t for MIB stats
net: dsa: motorcomm: Fix MIB synchronization

 drivers/net/dsa/motorcomm/Makefile   |   1 +
 drivers/net/dsa/motorcomm/chip.c     | 534 ++++++---------------------
 drivers/net/dsa/motorcomm/chip.h     | 128 +------
 drivers/net/dsa/motorcomm/leds.c     |   7 +-
 drivers/net/dsa/motorcomm/mdio_bus.c |  10 +-
 drivers/net/dsa/motorcomm/mib.c      | 431 +++++++++++++++++++++
 drivers/net/dsa/motorcomm/mib.h      | 167 +++++++++
 drivers/net/dsa/motorcomm/pcs-921x.c |   8 +-
 8 files changed, 721 insertions(+), 565 deletions(-)
 create mode 100644 drivers/net/dsa/motorcomm/mib.c
 create mode 100644 drivers/net/dsa/motorcomm/mib.h
Signature · 1 line
2.53.0