Skip to content

net: mana: Add support for the CDX bus

Manish Awasthi bpf linux-hyperv linux-rdma lkml netdev 1 version Applied

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

  1. v1 Latest4 patches 9 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: mana: Introduce gdma_bus_ops for bus-specific operationsdrivers/net/ethernet/microsoft/mana/gdma_main.c drivers/net/ethernet/microsoft/mana/mana_en.c include/net/mana/gdma.h+630 -3891 replyApplied
2/4net: mana: Move PCI transport code into gdma_pci.cdrivers/net/ethernet/microsoft/mana/Makefile drivers/net/ethernet/microsoft/mana/gdma_main.c drivers/net/ethernet/microsoft/mana/gdma_pci.c +1 more+914 -9001 replyApplied
3/4net: mana: Build the PCI transport as a separate moduledrivers/net/ethernet/microsoft/Kconfig drivers/net/ethernet/microsoft/Makefile drivers/net/ethernet/microsoft/mana/Makefile +4 more+36 -311 replyApplied
4/4net: mana: Add support for CDX device ID 0x00C2drivers/net/ethernet/microsoft/Kconfig drivers/net/ethernet/microsoft/mana/Makefile drivers/net/ethernet/microsoft/mana/gdma_cdx.c +3 more+365 -25 repliesApplied

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.

PatchHaiyang ZhangSimon Horman
SeriesR-b
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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