[openib-general] Re: Remove unsignaled receive support

Roland Dreier roland at topspin.com
Tue Feb 22 10:30:40 PST 2005


I've also committed this trivial fix to make SDP build again.

 - R.

Index: infiniband/ulp/sdp/sdp_conn.c
===================================================================
--- infiniband/ulp/sdp/sdp_conn.c	(revision 1857)
+++ infiniband/ulp/sdp/sdp_conn.c	(working copy)
@@ -1174,7 +1174,6 @@ int sdp_conn_alloc_ib(struct sdp_opt *co
 		init_attr->send_cq        = conn->send_cq;
 		init_attr->recv_cq        = conn->recv_cq;
 		init_attr->sq_sig_type    = IB_SIGNAL_REQ_WR;
-		init_attr->rq_sig_type    = IB_SIGNAL_ALL_WR;
 		init_attr->qp_type        = IB_QPT_RC;
 		/* TODO: real handler */
 		init_attr->event_handler  = NULL;
Index: infiniband/ulp/sdp/sdp_recv.c
===================================================================
--- infiniband/ulp/sdp/sdp_recv.c	(revision 1857)
+++ infiniband/ulp/sdp/sdp_recv.c	(working copy)
@@ -97,7 +97,6 @@ static int _sdp_post_recv_buff(struct sd
 	receive_param.wr_id      = buff->wrid;
 	receive_param.sg_list    = (struct ib_sge *)&buff->real;
 	receive_param.num_sge    = 1;
-	receive_param.recv_flags = IB_RECV_SIGNALED;
 
 	result = ib_post_recv(conn->qp, &receive_param, &bad_wr);
 	if (0 != result) {



More information about the general mailing list