[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1745587777-15716-1-git-send-email-kotaranov@linux.microsoft.com>
Date: Fri, 25 Apr 2025 06:29:33 -0700
From: Konstantin Taranov <kotaranov@...ux.microsoft.com>
To: kotaranov@...rosoft.com,
pabeni@...hat.com,
haiyangz@...rosoft.com,
kys@...rosoft.com,
edumazet@...gle.com,
kuba@...nel.org,
davem@...emloft.net,
decui@...rosoft.com,
wei.liu@...nel.org,
longli@...rosoft.com,
jgg@...pe.ca,
leon@...nel.org
Cc: linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: [PATCH rdma-next v2 0/4] RDMA/mana_ib: allow separate mana_ib for each mana client
Microsoft mana adapter has 2 devices in the HW: mana ethernet device and RNIC device.
Both devices can implement RDMA drivers and, so far, they have been sharing
one ib device context. However, they are different devices with different
capabilities in the HW and have different lifetime model.
This series allows us to model the aforementioned two devices as separate ib devices.
The mana_ib will continue supporting two devices but as individual ib devices.
It enables the driver to dynamically destroy and create the auxiliary device over
RNIC, when the HW reboots the RNIC module. Without this separation, the reboot
would cause destruction of the ib device serving DPDK clients from the uninterrupted
ethernet HW module.
v2:
- renamed aux device from mana.dpdk to mana.eth (patch 1 and 2)
- Fixed a possible race between servicing and pci threads (patch 4)
Konstantin Taranov (3):
net: mana: Probe rdma device in mana driver
RDMA/mana_ib: Add support of mana_ib for RNIC and ETH nic
RDMA/mana_ib: unify mana_ib functions to support any gdma device
Shiraz Saleem (1):
net: mana: Add support for auxiliary device servicing events
drivers/infiniband/hw/mana/cq.c | 4 +-
drivers/infiniband/hw/mana/device.c | 174 +++++++++++------------
drivers/infiniband/hw/mana/main.c | 77 +++++++---
drivers/infiniband/hw/mana/mana_ib.h | 6 +
drivers/infiniband/hw/mana/qp.c | 5 +-
drivers/net/ethernet/microsoft/mana/gdma_main.c | 27 +++-
drivers/net/ethernet/microsoft/mana/hw_channel.c | 19 +++
drivers/net/ethernet/microsoft/mana/mana_en.c | 108 +++++++++++++-
include/net/mana/gdma.h | 19 +++
include/net/mana/hw_channel.h | 9 ++
include/net/mana/mana.h | 3 +
11 files changed, 330 insertions(+), 121 deletions(-)
--
1.8.3.1
Powered by blists - more mailing lists