Skip to content

nbl driver for Nebulamatrix NICs

illusion.wang lkml netdev 36 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v35 Latest8 patches 0 repliesNew
  2. v348 patches 3 repliesSuperseded
  3. v33 posting 2/28 patches 0 repliesSuperseded
Earlier versions · 33
VersionPostedPatchesRepliesStatus
v33 posting 1/28 patches1 replySuperseded
v328 patches1 replySuperseded
v318 patches1 replySuperseded
v308 patches0 repliesSuperseded
v298 patches0 repliesSuperseded
v2810 patches1 replySuperseded 2 of 10 applied
v2710 patches0 repliesSuperseded
v2610 patches0 repliesSuperseded
v2510 patches1 replySuperseded
v2411 patches5 repliesSuperseded
v2312 patches3 repliesSuperseded
v2212 patches14 repliesSuperseded
v2112 patches4 repliesSuperseded
v2010 patches6 repliesSuperseded
v1911 patches1 replySuperseded
v1811 patches3 repliesSuperseded
v1711 patches3 repliesSuperseded
v1611 patches1 replySuperseded
v1511 patches2 repliesSuperseded
v1411 patches9 repliesSuperseded
v1311 patches12 repliesSuperseded
v1211 patches1 replySuperseded
v1111 patches3 repliesSuperseded
v1011 patches8 repliesSuperseded
v911 patches1 replySuperseded
v811 patches1 replySuperseded
v711 patches8 repliesSuperseded
v611 patches2 repliesSuperseded
v511 patches12 repliesSuperseded
v411 patches16 repliesSuperseded
v315 patches15 repliesSuperseded
v215 patches3 repliesSuperseded
v115 patches9 repliesSuperseded

Changes in v35 from the cover letter

Link to v34:https://lore.kernel.org/netdev/[email protected]/ 1.AI review issues
2.Issue found by Leitao

Patches in v35 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8net/nebula-matrix: add channel layerdrivers/net/ethernet/nebula-matrix/nbl/Makefile drivers/net/ethernet/nebula-matrix/nbl/nbl_channel/nbl_channel.c drivers/net/ethernet/nebula-matrix/nbl/nbl_channel/nbl_channel.h +11 more+2524 -180 replies
2/8net/nebula-matrix: add common resource implementationdrivers/net/ethernet/nebula-matrix/nbl/Makefile drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c drivers/net/ethernet/nebula-matrix/nbl/nbl_core.h +13 more+719 -50 replies
3/8net/nebula-matrix: add intr resource implementationdrivers/net/ethernet/nebula-matrix/nbl/Makefile drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h +8 more+1284 -100 replies
4/8net/nebula-matrix: add chip-wide hardware init/deinit implementationdrivers/net/ethernet/nebula-matrix/nbl/Makefile drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_chip.c drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_chip.h +5 more+1097 -00 replies
5/8net/nebula-matrix: dispatch: add control-level routing core infrastructuredrivers/net/ethernet/nebula-matrix/nbl/Makefile drivers/net/ethernet/nebula-matrix/nbl/nbl_core.h drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c +3 more+194 -00 replies
6/8net/nebula-matrix: dispatch: add mailbox RPCs for msix map, mailbox irq and vsi/eth iddrivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_channel.h drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_dispatch.h+578 -30 replies
7/8net/nebula-matrix: add common/ctrl dev init/remove operationdrivers/net/ethernet/nebula-matrix/nbl/Makefile drivers/net/ethernet/nebula-matrix/nbl/nbl_core.h drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c +4 more+436 -60 replies
8/8net/nebula-matrix: add common dev start/stop operationdrivers/net/ethernet/nebula-matrix/nbl/nbl_core.h drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_interrupt.c +2 more+512 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v35 yet.

Read the v35 thread

Cover letter [PATCH v35 net-next 0/8] nbl driver for Nebulamatrix NICs

This series continues and refines the previous v28 NBL NIC driver patch set for Nebula-matrix m18110/m18000 (SNIC s1000) Ethernet adapters.

The first two foundational patches of v28 have been merged into net-next main branch:
- net/nebula-matrix: add minimum nbl build framework (cffde9e49e86)
- net/nebula-matrix: add core driver architecture and HW layer initialization (825e6d230163)

Following maintainer feedback to shorten the patch series, this iteration drops the two merged commits, reorganizes and polishes the remaining functionality into a standalone 8-patch sequence. No new features are added; this series only completes the pending core infrastructure.

The overall driver development plan remains consistent with the v28 two-phase roadmap:
1) Complete hardware initialization, mailbox/channel communication and control-plane infrastructure (this series)
2) Implement netdev registration and TX/RX data-path functionality (follow-up series)

This patch set supplements the merged foundational code, covering channel layer abstraction, resource management, interrupt handling, chip-level initialization, control dispatch routing, channel RPC framework, and device lifecycle init/remove/start/stop logic.

changes v34->v35
Link to v34:https://lore.kernel.org/netdev/[email protected]/ 1.AI review issues
2.Issue found by Leitao
changes v33->v34
Link to v33:https://lore.kernel.org/netdev/[email protected]/ AI review issues
changes v32->v33
Link to v32:https://lore.kernel.org/netdev/[email protected]/ AI review issues
changes v31->v32
Link to v31:https://lore.kernel.org/netdev/[email protected]/ AI review issues
changes v30->v31
Link to v30:https://lore.kernel.org/netdev/[email protected]/ 1.AI review issues
changes v29->v30
Link to v29:https://lore.kernel.org/netdev/[email protected]/ 1.AI review issues
changes v28->v29
Link to v28:https://lore.kernel.org/netdev/[email protected]/ 1.AI review issues
2.remove the hash table implementation

illusion wang (8):
net/nebula-matrix: add channel layer
net/nebula-matrix: add common resource implementation net/nebula-matrix: add intr resource implementation net/nebula-matrix: add chip-wide hardware init/deinit implementation net/nebula-matrix: dispatch: add control-level routing core
infrastructure
net/nebula-matrix: dispatch: add mailbox RPCs for msix map, mailbox
irq and vsi/eth id
net/nebula-matrix: add common/ctrl dev init/remove operation net/nebula-matrix: add common dev start/stop operation

 .../net/ethernet/nebula-matrix/nbl/Makefile   |   10 +-
 .../nbl/nbl_channel/nbl_channel.c             | 1568 +++++++++++++++++
 .../nbl/nbl_channel/nbl_channel.h             |  196 +++
 .../nebula-matrix/nbl/nbl_common/nbl_common.c |   51 +
 .../nebula-matrix/nbl/nbl_common/nbl_common.h |   14 +
 .../net/ethernet/nebula-matrix/nbl/nbl_core.h |   22 +
 .../nebula-matrix/nbl/nbl_core/nbl_dev.c      |  757 ++++++++
 .../nebula-matrix/nbl/nbl_core/nbl_dev.h      |   55 +
 .../nebula-matrix/nbl/nbl_core/nbl_dispatch.c |  623 +++++++
 .../nebula-matrix/nbl/nbl_core/nbl_dispatch.h |   23 +
 .../nebula-matrix/nbl/nbl_hw/nbl_chip.c       |   32 +
 .../nebula-matrix/nbl/nbl_hw/nbl_chip.h       |   12 +
 .../nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c  | 1314 +++++++++++++-
 .../nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h  |  342 ++++
 .../nbl_hw_leonis/nbl_resource_leonis.c       |  346 ++++
 .../nbl_hw_leonis/nbl_resource_leonis.h       |   12 +
 .../nebula-matrix/nbl/nbl_hw/nbl_hw_reg.h     |   33 +
 .../nebula-matrix/nbl/nbl_hw/nbl_interrupt.c  |  859 +++++++++
 .../nebula-matrix/nbl/nbl_hw/nbl_interrupt.h  |   21 +
 .../nebula-matrix/nbl/nbl_hw/nbl_resource.c   |  157 ++
 .../nebula-matrix/nbl/nbl_hw/nbl_resource.h   |  158 ++
 .../nbl/nbl_include/nbl_def_channel.h         |  175 ++
 .../nbl/nbl_include/nbl_def_common.h          |   23 +
 .../nbl/nbl_include/nbl_def_dev.h             |   16 +
 .../nbl/nbl_include/nbl_def_dispatch.h        |   92 +
 .../nbl/nbl_include/nbl_def_hw.h              |   81 +
 .../nbl/nbl_include/nbl_def_resource.h        |   16 +
 .../nbl/nbl_include/nbl_include.h             |   28 +
 .../net/ethernet/nebula-matrix/nbl/nbl_main.c |  306 +++-
 29 files changed, 7318 insertions(+), 24 deletions(-)
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_channel/nbl_channel.c
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_channel/nbl_channel.h
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.h
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.h
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.h
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_chip.c
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_chip.h
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.h
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_interrupt.c
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_interrupt.h
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_channel.h
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_dev.h
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_dispatch.h
 create mode 100644 drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h
Signature · 1 line
2.51.0.windows.1