mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v5 0/6] net: dsa: motorcomm: MIB fixup
@ 2026-10-04 16:06 David Yang
  2026-10-04 16:06 ` [PATCH net-next v5 1/6] net: dsa: motorcomm: Hoist type casting helper into chip.h David Yang
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: David Yang @ 2026-10-04 16:06 UTC (permalink / raw)
  To: netdev
  Cc: David Yang, Andrew Lunn, Vladimir Oltean, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Russell King,
	linux-kernel

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/20260921203040.1203911-1-mmyangfl@gmail.com
  - reuse port_to_priv helper
  - re-enable delayed_work on port_setup
  - disable preemption for u64_stats_set
v3: https://lore.kernel.org/r/20260906131414.2683362-1-mmyangfl@gmail.com
  - fix build errors
  - fix logic error on MIB buffer creation
v2: https://lore.kernel.org/r/20260904162952.709368-1-mmyangfl@gmail.com
  - split patches
v1: https://lore.kernel.org/r/20260903143514.532023-1-mmyangfl@gmail.com

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

-- 
2.53.0


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

end of thread, other threads:[~2026-10-04 16:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-04 16:06 [PATCH net-next v5 0/6] net: dsa: motorcomm: MIB fixup David Yang
2026-10-04 16:06 ` [PATCH net-next v5 1/6] net: dsa: motorcomm: Hoist type casting helper into chip.h David Yang
2026-10-04 16:06 ` [PATCH net-next v5 2/6] net: dsa: motorcomm: Rename MIB stuff David Yang
2026-10-04 16:06 ` [PATCH net-next v5 3/6] net: dsa: motorcomm: Split MIB buffers David Yang
2026-10-04 16:06 ` [PATCH net-next v5 4/6] net: dsa: motorcomm: Split MIB module David Yang
2026-10-04 16:06 ` [PATCH net-next v5 5/6] net: dsa: motorcomm: Use u64_stats_t for MIB stats David Yang
2026-10-04 16:06 ` [PATCH net-next v5 6/6] net: dsa: motorcomm: Fix MIB synchronization David Yang

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

all inboxes | Powered by JetHome®