public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/4] net: rnpgbe: Add TX/RX and link status support
@ 2026-04-03  2:57 Dong Yibo
  2026-04-03  2:57 ` [PATCH net-next v2 1/4] net: rnpgbe: Add interrupt handling Dong Yibo
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Dong Yibo @ 2026-04-03  2:57 UTC (permalink / raw)
  To: andrew+netdev, davem, edumazet, kuba, pabeni, danishanwar,
	vadim.fedorenko, horms
  Cc: linux-kernel, netdev, dong100

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:
- Msix/msi interrupt handling with NAPI support
- TX path with scatter-gather DMA and completion handling
- RX path with page pool buffer management
- Link status monitoring and carrier management

These changes enable the RNPGBE driver to support basic tx/rx network operations.

Changelog:
v1 -> v2:
[patch 1/4]:
1. Format exceeds 80 columns.
2. Move napi_complete_done from patch3 to patch1. (AI review)
3. Fix off-by-one issue in rnpgbe_request_irq. (AI review)
4. Update kdoc commit for rnpgbe_open. (AI review)
5. Remove legacy-irq mode support. (Sashiko)
6. Move register_mbx_irq after register_netdev. (Sashiko)

[patch 2/4]:
1. Format exceeds 80 columns.
2. Call rnpgbe_clean_tx_irq after rnpgbe_napi_disable_all. (AI review)
3. Fix return in rnpgbe_clean_tx_irq. (Sashiko)
4. Consider non-linear SKBs in tx_map. (Sashiko)

[patch 3/4]:
1. Fix error recycle page in rnpgbe_clean_rx_irq (AI review).
2. Fix truesize in rnpgbe_add_rx_frag and rnpgbe_build_skb. (Sashiko)
3. Consider MAX_SKB_FRAGS in rnpgbe_is_non_eop. (Sashiko)
4. Remove redundant dma_sync_single_range_for_device in
   rnpgbe_alloc_rx_buffers. (Sashiko)
5. Fix miss u64_stats_init in rnpgbe_alloc_q_vector. (Sashiko)

[patch 4/4]:
1. Fix 'warning for is_report not described'
   in mucse_mbx_link_report. (kernel test robot)
2. Fix 'warning for hw not described' in
   mucse_mbx_fw_req_handler. (kernel test robot)
3. Fix 'prototype warning for rnpgbe_watchdog_subtask'
   in rnpgbe_watchdog_subtask. (kernel test robot)
4. Format exceeds 80 columns.
5. Remove mucse->serv_wq, just use system_wq. (Sashiko)
6. Remove bitfields in 'struct st_status', use mask. (Sashiko) 

links:
v1: https://lore.kernel.org/netdev/20260325091204.94015-1-dong100@mucse.com/

Dong Yibo (4):
  net: rnpgbe: Add interrupt handling
  net: rnpgbe: Add basic TX packet transmission support
  net: rnpgbe: Add RX packet reception support
  net: rnpgbe: Add link status handling support

 drivers/net/ethernet/mucse/Kconfig            |    1 +
 drivers/net/ethernet/mucse/rnpgbe/Makefile    |    3 +-
 drivers/net/ethernet/mucse/rnpgbe/rnpgbe.h    |  184 +-
 .../net/ethernet/mucse/rnpgbe/rnpgbe_chip.c   |   39 +-
 drivers/net/ethernet/mucse/rnpgbe/rnpgbe_hw.h |   18 +
 .../net/ethernet/mucse/rnpgbe/rnpgbe_lib.c    | 1929 +++++++++++++++++
 .../net/ethernet/mucse/rnpgbe/rnpgbe_lib.h    |   90 +
 .../net/ethernet/mucse/rnpgbe/rnpgbe_main.c   |   93 +-
 .../net/ethernet/mucse/rnpgbe/rnpgbe_mbx.c    |   20 +
 .../net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h    |    1 +
 .../net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.c |  166 ++
 .../net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h |   38 +
 12 files changed, 2571 insertions(+), 11 deletions(-)
 create mode 100644 drivers/net/ethernet/mucse/rnpgbe/rnpgbe_lib.c
 create mode 100644 drivers/net/ethernet/mucse/rnpgbe/rnpgbe_lib.h

-- 
2.25.1


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

end of thread, other threads:[~2026-04-03 15:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03  2:57 [PATCH net-next v2 0/4] net: rnpgbe: Add TX/RX and link status support Dong Yibo
2026-04-03  2:57 ` [PATCH net-next v2 1/4] net: rnpgbe: Add interrupt handling Dong Yibo
2026-04-03  2:57 ` [PATCH net-next v2 2/4] net: rnpgbe: Add basic TX packet transmission support Dong Yibo
2026-04-03  2:57 ` [PATCH net-next v2 3/4] net: rnpgbe: Add RX packet reception support Dong Yibo
2026-04-03  2:57 ` [PATCH net-next v2 4/4] net: rnpgbe: Add link status handling support Dong Yibo
2026-04-03 15:12 ` [PATCH net-next v2 0/4] net: rnpgbe: Add TX/RX and link status support Jakub Kicinski

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