mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] net: mana: Add support for the CDX bus
@ 2026-09-24 17:30 Manish Awasthi
  2026-09-24 17:30 ` [PATCH net-next 1/4] net: mana: Introduce gdma_bus_ops for bus-specific operations Manish Awasthi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Manish Awasthi @ 2026-09-24 17:30 UTC (permalink / raw)
  To: kys, haiyangz, wei.liu, decui, longli, andrew+netdev, davem,
	edumazet, kuba, pabeni, kotaranov
  Cc: horms, linux-hyperv, netdev, linux-kernel, linux-rdma, bpf,
	nipun.gupta, nikhil.agarwal, gargaditya, ernis, kees, paulros,
	mawasthi

This series adds CDX bus support to the MANA driver.

The shared GDMA and Ethernet code currently builds together with the PCI
transport. To add another bus without duplicating the driver or adding
configuration checks throughout the shared code, this series separates the
bus-specific operations and builds each transport independently.

Patch 1 introduces gdma_bus_ops and routes bus-specific interrupt, reset,
service, and setup operations through it.

Patch 2 moves the PCI-specific code from gdma_main.c into gdma_pci.c
without changing PCI behavior.

Patch 3 builds the shared code as gdma_core.ko and the PCI transport as
mana.ko. The PCI module keeps its existing name, device table, and
mana.eth/mana.rdma auxiliary-device identities.

Patch 4 adds the CDX transport as mana_cdx.ko for device ID 0x00C2.

Manish Awasthi (4):
  net: mana: Introduce gdma_bus_ops for bus-specific operations
  net: mana: Move PCI transport code into gdma_pci.c
  net: mana: Build the PCI transport as a separate module
  net: mana: Add support for CDX device ID 0x00C2

 drivers/net/ethernet/microsoft/Kconfig        |   26 +-
 drivers/net/ethernet/microsoft/Makefile       |    2 +-
 drivers/net/ethernet/microsoft/mana/Makefile  |    9 +-
 .../net/ethernet/microsoft/mana/gdma_cdx.c    |  340 ++++++
 .../net/ethernet/microsoft/mana/gdma_main.c   | 1063 +++--------------
 .../net/ethernet/microsoft/mana/gdma_pci.c    |  917 ++++++++++++++
 drivers/net/ethernet/microsoft/mana/mana_en.c |   18 +-
 include/net/mana/gdma.h                       |  106 +-
 8 files changed, 1552 insertions(+), 929 deletions(-)
 create mode 100644 drivers/net/ethernet/microsoft/mana/gdma_cdx.c
 create mode 100644 drivers/net/ethernet/microsoft/mana/gdma_pci.c


base-commit: 87b80c2f6b05cad9f0ff9136709c62a0f59923e3
-- 
2.54.0

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

end of thread, other threads:[~2026-09-24 17:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-24 17:30 [PATCH net-next 0/4] net: mana: Add support for the CDX bus Manish Awasthi
2026-09-24 17:30 ` [PATCH net-next 1/4] net: mana: Introduce gdma_bus_ops for bus-specific operations Manish Awasthi
2026-09-24 17:30 ` [PATCH net-next 2/4] net: mana: Move PCI transport code into gdma_pci.c Manish Awasthi
2026-09-24 17:30 ` [PATCH net-next 3/4] net: mana: Build the PCI transport as a separate module Manish Awasthi
2026-09-24 17:30 ` [PATCH net-next 4/4] net: mana: Add support for CDX device ID 0x00C2 Manish Awasthi

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®