public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-next v2 0/7] Support RDMA events monitoring through
@ 2024-08-30  7:31 Michael Guralnik
  2024-08-30  7:31 ` [PATCH rdma-next v2 1/7] RDMA/mlx5: Check RoCE LAG status before getting netdev Michael Guralnik
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Michael Guralnik @ 2024-08-30  7:31 UTC (permalink / raw)
  To: jgg; +Cc: linux-rdma, leonro, mbloch, cmeiohas, msanalla, Michael Guralnik

This series consists of multiple parts that collectively offer a method
to monitor RDMA events from userspace.
Using netlink, users will be able to monitor their IB device events and
changes such as device register, device unregister and netdev
attachment.

The first 2 patches contain fixes in mlx5 lag code that are required for
accurate event reporting in case of a lag bond.

Patch #3 initializes phys_port_cnt early in device probe to allow the
IB-to-netdev mapping API to work properly.

Patches #4,#5 modify and export IB-to-netdev mapping API, making it accessible
to all vendors who wish to rely on it for associating their IB device with
a netdevice.

Patches #6,#7 add the netlink support for reporting IB device events to
userspace.

Changes in v2:
	- Fix compilation issues with forward declaration of ib_device
	- Add missing setting of return code in error flow

Chiara Meiohas (4):
  RDMA/mlx5: Initialize phys_port_cnt earlier in RDMA device creation
  RDMA/mlx5: Use IB set_netdev and get_netdev functions
  RDMA/nldev: Add support for RDMA monitoring
  RDMA/nldev: Expose whether RDMA monitoring is supported

Maher Sanalla (1):
  RDMA/device: Clear netdev mapping in ib_device_get_netdev on
    unregistration

Mark Bloch (2):
  RDMA/mlx5: Check RoCE LAG status before getting netdev
  RDMA/mlx5: Obtain upper net device only when needed

 drivers/infiniband/core/device.c              |  43 ++++
 drivers/infiniband/core/netlink.c             |   1 +
 drivers/infiniband/core/nldev.c               | 124 +++++++++++
 drivers/infiniband/hw/mlx5/ib_rep.c           |  22 +-
 drivers/infiniband/hw/mlx5/main.c             | 197 +++++++++++++-----
 drivers/infiniband/hw/mlx5/mlx5_ib.h          |   3 +-
 .../net/ethernet/mellanox/mlx5/core/lag/lag.c |  76 +++----
 include/linux/mlx5/device.h                   |   1 +
 include/linux/mlx5/driver.h                   |   2 +-
 include/rdma/ib_verbs.h                       |   2 +
 include/rdma/rdma_netlink.h                   |  12 ++
 include/uapi/rdma/rdma_netlink.h              |  16 ++
 12 files changed, 394 insertions(+), 105 deletions(-)

-- 
2.17.2


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

end of thread, other threads:[~2024-09-02 12:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30  7:31 [PATCH rdma-next v2 0/7] Support RDMA events monitoring through Michael Guralnik
2024-08-30  7:31 ` [PATCH rdma-next v2 1/7] RDMA/mlx5: Check RoCE LAG status before getting netdev Michael Guralnik
2024-08-30  7:31 ` [PATCH rdma-next v2 2/7] RDMA/mlx5: Obtain upper net device only when needed Michael Guralnik
2024-08-30  7:31 ` [PATCH rdma-next v2 3/7] RDMA/mlx5: Initialize phys_port_cnt earlier in RDMA device creation Michael Guralnik
2024-08-30  7:31 ` [PATCH rdma-next v2 4/7] RDMA/device: Clear netdev mapping in ib_device_get_netdev on unregistration Michael Guralnik
2024-08-30  7:31 ` [PATCH rdma-next v2 5/7] RDMA/mlx5: Use IB set_netdev and get_netdev functions Michael Guralnik
2024-08-30  7:31 ` [PATCH rdma-next v2 6/7] RDMA/nldev: Add support for RDMA monitoring Michael Guralnik
2024-09-02 12:29   ` Leon Romanovsky
2024-08-30  7:31 ` [PATCH rdma-next v2 7/7] RDMA/nldev: Expose whether RDMA monitoring is supported Michael Guralnik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox