[ofa-general] setting iWarp IRD and ORD

Sean Hefty sean.hefty at intel.com
Thu Jan 3 16:34:47 PST 2008


>-static int ucma_modify_qp_rtr(struct rdma_cm_id *id)
>+static int ucma_modify_qp_rtr(struct rdma_cm_id *id,
>+			      struct rdma_conn_param *conn_param)
> {
> 	struct ibv_qp_attr qp_attr;
> 	int qp_attr_mask, ret;
>@@ -634,6 +635,8 @@ static int ucma_modify_qp_rtr(struct rdma_cm_id *id)
> 	if (ret)
> 		return ret;
>
>+	if (conn_param)
>+		qp_attr.max_dest_rd_atomic = conn_param->responder_resources;
> 	return ibv_modify_qp(id->qp, &qp_attr, qp_attr_mask);

Can one of the iWarp providers explain how IRD and ORD get set for both
userspace and the kernel?

- Sean




More information about the general mailing list