rdma: display resource limits in curr/max format
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
- v7 Latest2 patches 0 repliesApplied
- v62 patches 1 replySuperseded
- v52 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 1 patch | 1 reply | Superseded | |
| v3 | 1 patch | 3 replies | Superseded |
Changes in v7 from the cover letter
- Drop the unnecessary intermediate buffer in res_print_summary() and pass the format string to pr_out() directly (claude review).
- Add a JSON output example to the tool commit message. Changes in v6:
- Fix the incorrect kernel commit SHA referenced in the uapi headers sync message (5911f6d6e7cc, not 5911f6d6e7ce).
Patches in v7 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rdma: update uapi headersrdma/ | +5 | 0 replies | |
| 2/2 | rdma: display resource limits in curr/max formatrdma/ rdma/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.
Cover letter [PATCH iproute2-next v7 0/2] rdma: display resource limits in curr/max format
From: Tao Cui <[email protected]>
This series adds support for displaying RDMA device resource limits in curr/max format in the rdma tool, building on the kernel uapi attribute RDMA_NLDEV_ATTR_RES_SUMMARY_ENTRY_MAX which has landed in linux-next (kernel commit 5911f6d6e7cc [1]).
Patch 1 syncs the rdma_netlink.h uapi header from the kernel. Patch 2 updates the rdma tool to parse the new attribute and display resource usage in curr/max format:
$ rdma resource show 0: mlx5_0: qp 123/131072 cq 45/65536 mr 200/1000000 pd 10/32768
[1]:
Tao Cui (2):
rdma: update uapi headers
rdma: display resource limits in curr/max format
rdma/include/uapi/rdma/rdma_netlink.h | 5 +++++ rdma/res.c | 16 +++++++++++++++- rdma/utils.c | 1 + 3 files changed, 21 insertions(+), 1 deletion(-)
---
Changes in v7:
- Drop the unnecessary intermediate buffer in res_print_summary() and pass the format string to pr_out() directly (claude review).
- Add a JSON output example to the tool commit message. Changes in v6:
- Fix the incorrect kernel commit SHA referenced in the uapi headers sync message (5911f6d6e7cc, not 5911f6d6e7ce).
Changes in v5:
- Split the rdma_netlink.h update into its own commit following the uapi headers sync format ("rdma: update uapi headers").
Changes in v4:
- Add a Link: reference to the kernel patch; re-send now that the kernel side has landed in linux-next.
Signature · 1 line
2.43.0