mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Yang <mmyangfl@gmail.com>
To: netdev@vger.kernel.org
Cc: David Yang <mmyangfl@gmail.com>, Andrew Lunn <andrew@lunn.ch>,
	Vladimir Oltean <olteanv@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Russell King <linux@armlinux.org.uk>,
	linux-kernel@vger.kernel.org
Subject: [PATCH net-next v5 0/6] net: dsa: motorcomm: MIB fixup
Date: Mon,  5 Oct 2026 00:06:14 +0800	[thread overview]
Message-ID: <20261004160622.948037-1-mmyangfl@gmail.com> (raw)

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


             reply	other threads:[~2026-10-04 16:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-04 16:06 David Yang [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261004160622.948037-1-mmyangfl@gmail.com \
    --to=mmyangfl@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®