RDMA resource tracking
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 of 10 patches 3 repliesIn review
Changes in v1 from the cover letter
* Fixed subject title in patch #1: rdam -> rdma.
* Added newline between variable declaration and the code.
* Add check to failure in strdup() call in rd_check_is_string_filtered().
* Rewrote res_qp_parse_cb() to avoid long lines and extra indentation.
7 of 10 patches are in this archive. The cover letter announces 10.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | rdma: Add option to provide "-" sign for the port numberrdma/ rdma/ rdma/ | +44 | 0 replies | |
| 2/10 | rdma: Make visible the number of argumentsrdma/ rdma/ | +2 | 0 replies | |
| 4/10 | rdma: Set pointer to device name positionrdma/ rdma/ | +20 | 0 replies | |
| 5/10 | rdma: Allow external usage of compare string routinerdma/ rdma/ | +3 | 0 replies | |
| 6/10 | rdma: Update kernel header fileinclude/ | +57 | 0 replies | |
| 9/10 | rdma: Document resource trackingman/ | +86 | 0 replies | |
| 10/10 | rdma: Check return value of strdup callrdma/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH iproute2-next 00/10] RDMA resource tracking
Changelog:
v2 -> v3:
* Rebased to commit: 1e24e773f144 ("Merge branch 'iproute2-master' into iproute2-next")
* Refreshed include/uapi/rdma/rdma_netlink.h file
* Fixed bug, where cxgb4 was printed twice.
v1 -> v2;
* Added checks for all occurrences of strdup failures and added patch with fix of already merged code.
* Sync with latest kernel code.
* Rewrote table representation to be similar to "ip route" output.
* Implemented string filters.
* Removed curr/max representation from the summary output.
v0 -> v1:
* Fixed subject title in patch #1: rdam -> rdma.
* Added newline between variable declaration and the code.
* Add check to failure in strdup() call in rd_check_is_string_filtered().
* Rewrote res_qp_parse_cb() to avoid long lines and extra indentation.
------------------------------------------------------------------------
David, Stephen,
The kernel code is accepted to the RDMA and will be sent to Linus in this merge window, and this is refreshed version of user space part.
Because, I found bug in handling cxgb4 devices and we cleaned header file a little bit more, it was more wise to resend the series instead of applying v2.
Thanks
[1] https://www.spinics.net/lists/linux-rdma/msg59535.html
Leon Romanovsky (10):
rdma: Add option to provide "-" sign for the port number
rdma: Make visible the number of arguments
rdma: Add filtering infrastructure
rdma: Set pointer to device name position
rdma: Allow external usage of compare string routine
rdma: Update kernel header file
rdma: Add resource tracking summary
rdma: Add QP resource tracking information
rdma: Document resource tracking
rdma: Check return value of strdup call
include/uapi/rdma/rdma_netlink.h | 67 +++++- man/man8/rdma-resource.8 | 86 +++++++ rdma/Makefile | 2 +- rdma/link.c | 2 +- rdma/rdma.c | 4 +- rdma/rdma.h | 28 ++- rdma/res.c | 486 +++++++++++++++++++++++++++++++++++++++ rdma/utils.c | 321 +++++++++++++++++++++++++- 8 files changed, 971 insertions(+), 25 deletions(-) create mode 100644 man/man8/rdma-resource.8 create mode 100644 rdma/res.c