mbox series

[v3,iproute2-next,0/5] Add RDMA monitor support

Message ID 20241112095802.2355220-1-cmeioahs@nvidia.com (mailing list archive)
Headers show
Series Add RDMA monitor support | expand

Message

Chiara Meiohas Nov. 12, 2024, 9:57 a.m. UTC
From: Chiara Meiohas <cmeiohas@nvidia.com>

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/20240821051017.7730-1-michaelgur@nvidia.com/
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

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 16, 2024, 4:50 a.m. UTC | #1
Hello:

This series was applied to iproute2/iproute2-next.git (main)
by David Ahern <dsahern@kernel.org>:

On Tue, 12 Nov 2024 11:57:57 +0200 you wrote:
> From: Chiara Meiohas <cmeiohas@nvidia.com>
> 
> 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.
> 
> [...]

Here is the summary with links:
  - [v3,iproute2-next,1/5] rdma: Add support for rdma monitor
    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=e0add1aff50a
  - [v3,iproute2-next,2/5] rdma: Expose whether RDMA monitoring is supported
    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=be24be7405ed
  - [v3,iproute2-next,3/5] rdma: Fix typo in rdma-link man page
    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=98a224f3f920
  - [v3,iproute2-next,4/5] rdma: update uapi headers
    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=629e65d2fa1f
  - [v3,iproute2-next,5/5] rdma: Add IB device and net device rename events
    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=380a95109c39

You are awesome, thank you!