All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 iproute2-next 0/5] Add RDMA monitor support
@ 2024-11-12  9:57 Chiara Meiohas
  2024-11-12  9:57 ` [PATCH v3 iproute2-next 1/5] rdma: Add support for rdma monitor Chiara Meiohas
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Chiara Meiohas @ 2024-11-12  9:57 UTC (permalink / raw)
  To: dsahern, leonro; +Cc: linux-rdma, netdev, jgg, stephen, Chiara Meiohas

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

-- 
2.44.0


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

end of thread, other threads:[~2024-11-16  4:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-12  9:57 [PATCH v3 iproute2-next 0/5] Add RDMA monitor support Chiara Meiohas
2024-11-12  9:57 ` [PATCH v3 iproute2-next 1/5] rdma: Add support for rdma monitor Chiara Meiohas
2024-11-12  9:57 ` [PATCH v3 iproute2-next 2/5] rdma: Expose whether RDMA monitoring is supported Chiara Meiohas
2024-11-12  9:58 ` [PATCH v3 iproute2-next 3/5] rdma: Fix typo in rdma-link man page Chiara Meiohas
2024-11-12  9:58 ` [PATCH v3 iproute2-next 4/5] rdma: update uapi headers Chiara Meiohas
2024-11-12  9:58 ` [PATCH v3 iproute2-next 5/5] rdma: Add IB device and net device rename events Chiara Meiohas
2024-11-16  4:50 ` [PATCH v3 iproute2-next 0/5] Add RDMA monitor support patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.