Skip to content

Add RDMA monitor support

Chiara Meiohas linux-rdma netdev 2 versions – Applied

Status from this message: This series was applied to iproute2/iproute2-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 0 repliesApplied
  2. v25 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Return an error if monitoring is not supported by the kernel
- Modify initialization of the event_types_str array for better clarity and remove static allocation
- Replace "extern int json;" with "#include "utils.h"
- Wrap line at 80 characters

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5rdma: Add support for rdma monitorinclude/mnl_utils.h lib/mnl_utils.c man/man8/rdma-monitor.8 +6 more+276 -30 replies
2/5rdma: Expose whether RDMA monitoring is supportedman/man8/rdma-system.8 rdma/sys.c rdma/utils.c+12 -40 replies
3/5rdma: Fix typo in rdma-link man pageman/man8/rdma-link.8+1 -10 replies
4/5rdma: update uapi headersrdma/include/uapi/rdma/rdma_netlink.h+2 -00 replies
5/5rdma: Add IB device and net device rename eventsrdma/monitor.c+2 -00 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMark BlochLeon Romanovsky
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b R-b

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

Read the v3 thread

Cover letter [PATCH v3 iproute2-next 0/5] Add RDMA monitor support

From: Chiara Meiohas <[email protected]>

This series adds support to a new command to monitor IB events and expands the rdma-sys command to indicate whether this new functionality is supported.
We've also included a fix for a typo in rdma-link man page.

Command usage and examples are in the commits and man pages.

These patches are complimentary to the kernel patches:
https://lore.kernel.org/linux-rdma/[email protected]/
https://lore.kernel.org/linux-rdma/093c978ef2766fd3ab4ff8798eeb68f2f11582f6.1730367038.git.leon@kernel.org/

--
v1->v2
- Print hex value if an unknown event is received
- Add IB device and net device names in the output
- Add IB device and net device rename events
v2->v3
- Return an error if monitoring is not supported by the kernel
- Modify initialization of the event_types_str array for better clarity and remove static allocation
- Replace "extern int json;" with "#include "utils.h"
- Wrap line at 80 characters

Chiara Meiohas (5):
rdma: Add support for rdma monitor
rdma: Expose whether RDMA monitoring is supported
rdma: Fix typo in rdma-link man page
rdma: update uapi headers
rdma: Add IB device and net device rename events

 include/mnl_utils.h                   |   1 +
 lib/mnl_utils.c                       |   5 +
 man/man8/rdma-link.8                  |   2 +-
 man/man8/rdma-monitor.8               |  51 +++++++
 man/man8/rdma-system.8                |   9 +-
 man/man8/rdma.8                       |   7 +-
 rdma/Makefile                         |   3 +-
 rdma/include/uapi/rdma/rdma_netlink.h |   2 +
 rdma/monitor.c                        | 209 ++++++++++++++++++++++++++
 rdma/rdma.c                           |   3 +-
 rdma/rdma.h                           |   1 +
 rdma/sys.c                            |   6 +
 rdma/utils.c                          |   2 +
 13 files changed, 293 insertions(+), 8 deletions(-)
 create mode 100644 man/man8/rdma-monitor.8
 create mode 100644 rdma/monitor.c
Signature · 1 line
2.44.0