[PATCH net-next 0/5] net: rnpgbe: Add basic management and statistics
From: Dong Yibo
Date: Fri Nov 06 2026 - 06:32:16 EST
This patch series adds basic management and statistics support to the
RNPGBE driver.
The series introduces:
- Basic ethtool driver and link information
- Link settings reporting for copper, fibre and backplane ports
- Copper autonegotiation, speed/duplex and MDI/MDI-X configuration
- Primary MAC address changes
- Hardware and per-queue statistics
These changes allow users to inspect and configure the adapter and
monitor interface and queue statistics.
Dong Yibo (5):
net: rnpgbe: Add basic ethtool support
net: rnpgbe: Report link settings through ethtool
net: rnpgbe: Support copper link configuration
net: rnpgbe: Allow changing the primary MAC address
net: rnpgbe: Add hardware and queue statistics
Tested on N210 and N500 copper ports with firmware 1.1.8.0.
LLM assisted with development, testing and code review.
Dong Yibo (5):
net: rnpgbe: Add basic ethtool support
net: rnpgbe: Report link settings through ethtool
net: rnpgbe: Support copper link configuration
net: rnpgbe: Allow changing the primary MAC address
net: rnpgbe: Add hardware and queue statistics
drivers/net/ethernet/mucse/rnpgbe/Makefile | 2 +
drivers/net/ethernet/mucse/rnpgbe/rnpgbe.h | 24 ++
.../net/ethernet/mucse/rnpgbe/rnpgbe_chip.c | 51 +++-
.../ethernet/mucse/rnpgbe/rnpgbe_ethtool.c | 242 ++++++++++++++++++
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_hw.h | 2 +
.../net/ethernet/mucse/rnpgbe/rnpgbe_lib.c | 28 +-
.../net/ethernet/mucse/rnpgbe/rnpgbe_main.c | 17 +-
.../net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.c | 35 ++-
.../net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h | 26 ++
.../net/ethernet/mucse/rnpgbe/rnpgbe_stats.c | 217 ++++++++++++++++
.../net/ethernet/mucse/rnpgbe/rnpgbe_stats.h | 37 +++
11 files changed, 672 insertions(+), 9 deletions(-)
create mode 100644 drivers/net/ethernet/mucse/rnpgbe/rnpgbe_ethtool.c
create mode 100644 drivers/net/ethernet/mucse/rnpgbe/rnpgbe_stats.c
create mode 100644 drivers/net/ethernet/mucse/rnpgbe/rnpgbe_stats.h
--
2.50.1