>How does UD operation work with the SID anyhow?

Not sure what you mean here.  The passive side listens on a SID.  Either a REQ
or SIDR REQ can match with that.  For UD, the expectation is that it will be a
SIDR REQ.  (The rdma cm needs a changed to reject whichever is unexpected.)

>So where does ai_qp_type get stuffed in user space?

Right now, there's a new call:

int rdma_create_ep(struct rdma_cm_id **id, struct rdma_addrinfo *res,
                   struct ibv_pd *pd, struct ibv_qp_init_attr *qp_init_attr);

Based on whether RAI_PASSIVE flag is set and the input parameters, this provides
functionality similar to:

rdma_create_id / rdma_bind_addr 
or
rdma_create_id / rdma_resolve_addr / rdma_resolve_route / rdma_create_qp

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to