linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH rdma-next v4 0/4] RDMA/mana_ib: allow separate mana_ib for each mana client
@ 2025-05-07 15:59 Konstantin Taranov
  2025-05-07 15:59 ` [PATCH rdma-next v4 1/4] net: mana: Probe rdma device in mana driver Konstantin Taranov
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Konstantin Taranov @ 2025-05-07 15:59 UTC (permalink / raw)
  To: kotaranov, pabeni, haiyangz, kys, edumazet, kuba, davem, decui,
	wei.liu, longli, jgg, leon
  Cc: linux-rdma, linux-kernel, netdev

From: Konstantin Taranov <kotaranov@microsoft.com>

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)

v3:
- Added vendorid and partid in mana_ib_query_device (patch 2)

v4:
- rabased on latest rdma-next

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             |  82 +++++++--
 drivers/infiniband/hw/mana/mana_ib.h          |   6 +
 drivers/infiniband/hw/mana/qp.c               |   5 +-
 .../net/ethernet/microsoft/mana/gdma_main.c   |  26 ++-
 .../net/ethernet/microsoft/mana/hw_channel.c  |  20 ++
 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, 333 insertions(+), 123 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-05-12 11:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07 15:59 [PATCH rdma-next v4 0/4] RDMA/mana_ib: allow separate mana_ib for each mana client Konstantin Taranov
2025-05-07 15:59 ` [PATCH rdma-next v4 1/4] net: mana: Probe rdma device in mana driver Konstantin Taranov
2025-05-11 18:16   ` Long Li
2025-05-07 15:59 ` [PATCH rdma-next v4 2/4] RDMA/mana_ib: Add support of mana_ib for RNIC and ETH nic Konstantin Taranov
2025-05-11 18:19   ` Long Li
2025-05-07 15:59 ` [PATCH rdma-next v4 3/4] RDMA/mana_ib: unify mana_ib functions to support any gdma device Konstantin Taranov
2025-05-11 18:30   ` Long Li
2025-05-07 15:59 ` [PATCH rdma-next v4 4/4] net: mana: Add support for auxiliary device servicing events Konstantin Taranov
2025-05-12  5:29   ` ALOK TIWARI
2025-05-12 11:32     ` Leon Romanovsky
2025-05-12 10:45 ` [PATCH rdma-next v4 0/4] RDMA/mana_ib: allow separate mana_ib for each mana client Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).