IB service resolution
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | RDMA/sa_query: Add RMPP support for SA queriesdrivers/ | +28 | 0 replies | |
| 2/5 | RDMA/sa_query: Support IB service records resolutiondrivers/ include/ include/ | +276 | 0 replies | |
| 3/5 | RDMA/cma: Support IB service record resolutiondrivers/ drivers/ drivers/ +2 more | +202 | 0 replies | |
| 4/5 | RDMA/ucma: Support query resolved service recordsdrivers/ include/ include/ | +61 | 0 replies | |
| 5/5 | RDMA/ucma: Support write an event into a CMdrivers/ include/ include/ | +70 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Vlad Dumitrescu |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH rdma-next 0/5] IB service resolution
From: Leon Romanovsky <[email protected]>
From Mark,
This patchset adds support to resolve IB service records from SM. With this feature, the user-space is able to resolve and query IB address information like DGID and PKEY based on an IB service name or ID, through new ucma commands.
New CM states:
* RDMA_CM_ADDRINFO_QUERY - Indicates cm is in the process of IB service resolution;
* RDMA_CM_ADDRINFO_RESOLVED - Indicates cm has finished the process of IB service resolution.
New CM events:
* RDMA_CM_EVENT_ADDRINFO_RESOLVED - Indicates successful resolution of address information.
* RDMA_CM_EVENT_ADDRINFO_ERROR - Indicates a failure in address information resolution.
The patchset also enables writing custom events into the CM. This is particularly useful for applications that require events not typically generated in the standard rdmacm flow. Two new event types are supported:
* RDMA_CM_EVENT_USER - A user-defined event, where the event details are specified by the application and not interpreted by the librdmacm library.
* RDMA_CM_EVENT_INTERNAL - An internal event, used and consumed exclusively by the librdmacm library.
For instance, the new user-space API rdma_resolve_addrinfo() will support both SA (Service Agent) and DNS resolution. In the DNS case, since there is no standard CM event generated upon completion, an RDMA_CM_EVENT_INTERNAL event with "ADDRINFO_RESOLVED" information as the parameter can be written into the CM. This allows the librdmacm library to receive the event and report an ADDRINFO_RESOLVED event to the user, ensuring that DNS resolution follows the same workflow as IB service record resolution.
Thanks
Mark Zhang (5):
RDMA/sa_query: Add RMPP support for SA queries RDMA/sa_query: Support IB service records resolution RDMA/cma: Support IB service record resolution RDMA/ucma: Support query resolved service records RDMA/ucma: Support write an event into a CM
drivers/infiniband/core/cma.c | 136 +++++++++++++- drivers/infiniband/core/cma_priv.h | 4 +- drivers/infiniband/core/sa_query.c | 277 +++++++++++++++++++++++++++-- drivers/infiniband/core/ucma.c | 120 ++++++++++++- include/rdma/ib_mad.h | 1 + include/rdma/ib_sa.h | 37 ++++ include/rdma/rdma_cm.h | 21 ++- include/uapi/rdma/ib_user_sa.h | 14 ++ include/uapi/rdma/rdma_user_cm.h | 42 ++++- 9 files changed, 634 insertions(+), 18 deletions(-)
Signature · 1 line
2.50.0