[PATCH net-next v16 0/5] net: rnpgbe: Add TX/RX and link status support

From: Dong Yibo

Date: Mon Oct 12 2026 - 22:30:52 EST


Hi maintainers,

This patch series adds the packet transmission, reception, and link status
management features to the RNPGBE driver, building upon the previously
introduced mailbox communication and basic driver infrastructure.

The series introduces:
- MSI-X interrupt handling with NAPI support
- TX path with scatter-gather DMA and completion handling
- RX path with page pool buffer management
- Unicast/Multicast filter.
- Firmware link-event processing and carrier management

These changes enable the RNPGBE driver to support basic TX/RX
network operations.

---
Changelog:
v15 -> v16:
[patch 2/5]:
1. Clarify that carrier is enabled by the later link-status patch.
[patch 3/5]:
1. Track RX drop reasons across polls and account each packet once at
EOP, giving length errors precedence over resource drops.
2. Check for pending RX refills before releasing NAPI ownership, and arm
the retry timer after successful completion.

Links:
v1: https://lore.kernel.org/netdev/20260325091204.94015-1-dong100@xxxxxxxxx/
v2: https://lore.kernel.org/netdev/20260403025713.527841-1-dong100@xxxxxxxxx/
v3: https://lore.kernel.org/netdev/20260507081539.171844-1-dong100@xxxxxxxxx/
v4: https://lore.kernel.org/netdev/20260526033539.164061-1-dong100@xxxxxxxxx/
v5: https://lore.kernel.org/netdev/20260528023150.239532-1-dong100@xxxxxxxxx/
v6: https://lore.kernel.org/netdev/20260604112750.769215-1-dong100@xxxxxxxxx/
v7: https://lore.kernel.org/netdev/20260611100036.36370-1-dong100@xxxxxxxxx/
v8: https://lore.kernel.org/netdev/20260731120322.895955-1-dong100@xxxxxxxxx/
v9: https://lore.kernel.org/netdev/20260814111317.1741087-1-dong100@xxxxxxxxx/
v10: https://lore.kernel.org/netdev/F44E6669E6C9E7C4+20260831073608.401988-2-dong100@xxxxxxxxx/
v11: https://lore.kernel.org/netdev/745DADAC2A5786BD+20260911112416.2142101-1-dong100@xxxxxxxxx/
v12: https://lore.kernel.org/netdev/64BE41C2D2C0836A+20260914013019.2262317-1-dong100@xxxxxxxxx/
v13: https://lore.kernel.org/netdev/B8AF0FDE24FAFB51+20260920092424.345309-1-dong100@xxxxxxxxx/
v14: https://lore.kernel.org/netdev/0A4D45AD9F6A0F14+20260928033701.1033196-1-dong100@xxxxxxxxx/
v15: https://lore.kernel.org/netdev/B438B0A83ACCA2DE+20261004065604.224873-1-dong100@xxxxxxxxx/
---

Dong Yibo (5):
net: rnpgbe: Add interrupt handling
net: rnpgbe: Add basic TX packet transmission support
net: rnpgbe: Add basic RX data path support
net: rnpgbe: Add receive mode support
net: rnpgbe: Add link status handling support

drivers/net/ethernet/mucse/Kconfig | 2 +
drivers/net/ethernet/mucse/rnpgbe/Makefile | 3 +-
drivers/net/ethernet/mucse/rnpgbe/rnpgbe.h | 216 +-
.../net/ethernet/mucse/rnpgbe/rnpgbe_chip.c | 167 +-
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_hw.h | 45 +
.../net/ethernet/mucse/rnpgbe/rnpgbe_lib.c | 2262 +++++++++++++++++
.../net/ethernet/mucse/rnpgbe/rnpgbe_lib.h | 88 +
.../net/ethernet/mucse/rnpgbe/rnpgbe_main.c | 208 +-
.../net/ethernet/mucse/rnpgbe/rnpgbe_mbx.c | 179 +-
.../net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h | 4 +
.../net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.c | 283 +++
.../net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h | 60 +
12 files changed, 3478 insertions(+), 39 deletions(-)
create mode 100644 drivers/net/ethernet/mucse/rnpgbe/rnpgbe_lib.c
create mode 100644 drivers/net/ethernet/mucse/rnpgbe/rnpgbe_lib.h

--
2.50.1