[openib-general] A new simple ulp (SPTS)
Roland Dreier
roland at topspin.com
Tue Jun 21 12:50:03 PDT 2005
Jeff> However, something still goes wrong after MAX_CQ + 1
Jeff> transfers, just like the cmtest code. If anyone has any
Jeff> ideas on what is wrong with what I am doing here that would
Jeff> be helpful. It must be something really simple I just don't
Jeff> understand about the IB stack.
You create the QP so that CQ entries are only created when requested
in the send work request:
+ qp_attr.sq_sig_type = IB_SIGNAL_REQ_WR;
but then all of your send work requests have the signal flag unset:
+ send_wr.send_flags = IB_SEND_SOLICITED;
Since no CQ entry is generated for any of the send requests, there is
no way for any software on the host to know that the send requests
have completed. So no send requests can be freed, and once you have
filled your send queue, the driver will refuse to post any more send
requests.
What happens if you try replacing the send_flags line with the one you
have commented out?
+ // send_wr.send_flags = IB_SEND_SIGNALED;
- R.
More information about the general
mailing list