net: mana: Add support for the CDX bus
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net: mana: Introduce gdma_bus_ops for bus-specific operationsdrivers/ drivers/ include/ | +630 | 1 reply | Applied |
| 2/4 | net: mana: Move PCI transport code into gdma_pci.cdrivers/ drivers/ drivers/ +1 more | +914 | 1 reply | Applied |
| 3/4 | net: mana: Build the PCI transport as a separate moduledrivers/ drivers/ drivers/ +4 more | +36 | 1 reply | Applied |
| 4/4 | net: mana: Add support for CDX device ID 0x00C2drivers/ drivers/ drivers/ +3 more | +365 | 5 replies | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Haiyang Zhang | Simon Horman |
|---|---|---|
| Series | R-b | |
| 1/4 | R-b | |
| 2/4 | R-b | |
| 3/4 | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/4] net: mana: Add support for the CDX bus
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
Signature · 1 line
2.54.0