[openib-general] [PATCH] [CMA] [RFC] add routine to transition a QP to INIT state

James Lentini jlentini at netapp.com
Wed Sep 28 09:10:30 PDT 2005



On Tue, 27 Sep 2005, Sean Hefty wrote:

> Index: include/rdma/rdma_cma.h
> ===================================================================
> --- include/rdma/rdma_cma.h	(revision 3568)
> +++ include/rdma/rdma_cma.h	(working copy)
> @@ -93,8 +93,14 @@ int rdma_cma_resolve_route(struct rdma_c
>  			   struct sockaddr *src_addr, struct sockaddr *dst_addr,
>  			   int timeout_ms);
>  
> +/**
> + * rdma_cma_init_qp - Associates a QP with a CMA identifier and initializes the
> + *   QP for use in establishing a connection.
> + */
> +int rdma_cma_init_qp(struct rdma_cma_id *cma_id, struct ib_qp *qp,
> +		     int qp_access_flags);
> +

How will the qp_accesss_flags be implemented in a transport neutral 
way? If iWARP doesn't support the ib_access_flags values, a transport 
nuetral consumer can't pass them here.

Can we remove the need for a consumer to call rdma_cma_init_qp all 
together? Can we create a QP and move it to the init state when the 
consumer creates their rdma_cma_id?



More information about the general mailing list