Skip to content

Export object IDs to users

Leon Romanovsky linux-rdma netdev 2 versions – Applied

Status from this message: applied to iproute2-next. Thanks, Leon.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest19 patches 2 repliesApplied
  2. v119 patches 25 repliesSuperseded

Changes in v2 from the cover letter

* Fixed commit messages
* Added Steve's ROB

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/19rdma: update uapi headersrdma/include/uapi/rdma/rdma_netlink.h+50 -140 replies
2/19rdma: Remove duplicated print coderdma/res.c+7 -150 replies
3/19rdma: Provide unique indexes for all visible objectsrdma/res.c+63 -200 replies
4/19rdma: Provide parent context index for all objects except CM_IDrdma/res.c+72 -380 replies
5/19rdma: Move resource PD logic to separate filerdma/Makefile rdma/res-pd.c rdma/res.c +1 more+175 -1460 replies
6/19rdma: Refactor out resource MR logic to separate filerdma/Makefile rdma/res-mr.c rdma/res.c +1 more+132 -1230 replies
7/19rdma: Move out resource CQ logic to separate filerdma/Makefile rdma/res-cq.c rdma/res.c +1 more+157 -1480 replies
8/19rdma: Move out resource CM-ID logic to separate filerdma/Makefile rdma/res-cmid.c rdma/res.c +1 more+282 -2680 replies
9/19rdma: Move resource QP logic to separate filerdma/Makefile rdma/res-qp.c rdma/res.c +1 more+252 -2370 replies
10/19rdma: Properly mark RDMAtool licenserdma/Makefile rdma/dev.c rdma/link.c +4 more+7 -370 replies
11/19rdma: Simplify code to reuse existing functionsrdma/res-cmid.c rdma/res-cq.c rdma/res-mr.c +4 more+13 -620 replies
12/19rdma: Simplify CM_ID print coderdma/res-cmid.c+124 -1220 replies
13/19rdma: Refactor CQ printsrdma/res-cq.c+91 -860 replies
14/19rdma: Move MR code to be suitable for per-line parsingrdma/res-mr.c+90 -880 replies
15/19rdma: Place PD parsing print routine into separate functionrdma/res-pd.c+89 -810 replies
16/19rdma: Move QP code to separate functionrdma/res-qp.c+127 -1260 replies
17/19rdma: Unify netlink attribute checks prior to printsrdma/res-cmid.c rdma/res-cq.c rdma/res-mr.c +4 more+53 -510 replies
18/19rdma: Perform single .doit call to query specific objectsrdma/rdma.h rdma/res-cmid.c rdma/res-cq.c +6 more+239 -730 replies
19/19rdma: Provide and reuse filter functionsrdma/rdma.h rdma/res-cmid.c rdma/res-cq.c +4 more+112 -770 replies

Reviews trailers per patch

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

PatchSteve Wise
1/19R-b
2/19R-b
3/19R-b
4/19R-b
5/19R-b
6/19R-b
7/19R-b
8/19R-b
9/19R-b
10/19R-b
11/19R-b
12/19R-b
13/19R-b
14/19R-b
15/19R-b
16/19R-b
17/19R-b
18/19R-b
19/19R-b

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

Read the v2 thread

Cover letter [PATCH iproute2-next v2 00/19] Export object IDs to users

From: Leon Romanovsky <[email protected]>

Changelog:
v1->v2:
* Fixed commit messages
* Added Steve's ROB
v0->v1:
* Rebased to latest iproute2-next
* Added latest rdma_netlink.h and updated commit message to point to kernel SHA commit.

This series adds ability to present and query all known to rdmatool object by their respective, unique IDs (e.g. pdn. mrn, cqn e.t.c). All objects which have "parent" object has this information too.

Thanks

Leon Romanovsky (19):
rdma: update uapi headers
rdma: Remove duplicated print code
rdma: Provide unique indexes for all visible objects
rdma: Provide parent context index for all objects except CM_ID
rdma: Move resource PD logic to separate file
rdma: Refactor out resource MR logic to separate file
rdma: Move out resource CQ logic to separate file
rdma: Move out resource CM-ID logic to separate file
rdma: Move resource QP logic to separate file
rdma: Properly mark RDMAtool license
rdma: Simplify code to reuse existing functions
rdma: Simplify CM_ID print code
rdma: Refactor CQ prints
rdma: Move MR code to be suitable for per-line parsing
rdma: Place PD parsing print routine into separate function
rdma: Move QP code to separate function
rdma: Unify netlink attribute checks prior to prints
rdma: Perform single .doit call to query specific objects
rdma: Provide and reuse filter functions

 rdma/Makefile                         |   5 +-
 rdma/dev.c                            |   7 +-
 rdma/include/uapi/rdma/rdma_netlink.h |  64 +-
 rdma/link.c                           |   7 +-
 rdma/rdma.c                           |   7 +-
 rdma/rdma.h                           |  24 +-
 rdma/res-cmid.c                       | 275 ++++++++
 rdma/res-cq.c                         | 160 +++++
 rdma/res-mr.c                         | 133 ++++
 rdma/res-pd.c                         | 136 ++++
 rdma/res-qp.c                         | 240 +++++++
 rdma/res.c                            | 932 ++------------------------
 rdma/res.h                            | 148 ++++
 rdma/utils.c                          |  53 +-
 14 files changed, 1257 insertions(+), 934 deletions(-)
 create mode 100644 rdma/res-cmid.c
 create mode 100644 rdma/res-cq.c
 create mode 100644 rdma/res-mr.c
 create mode 100644 rdma/res-pd.c
 create mode 100644 rdma/res-qp.c
 create mode 100644 rdma/res.h