[PATCH net-next 0/4] net: mana: Add support for the CDX bus
From: Manish Awasthi
Date: Thu Sep 24 2026 - 14:05:30 EST
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