[openib-general] Support for UC connections using the CM API?

Steven Wooding sinate at yahoo.com
Wed Oct 19 14:24:57 PDT 2005


Hi Sean,

I've modified cmpost to try to UC and get similar
results as my app. The changes I made to cmpost.c was
to change RC to UC (two places) and remove the
following req and rep parameters as I beleive these
are not required for UC:

req.retry_count = 5;
rep.rnr_retry_count = req->rnr_retry_count;

I also put in some print statements to observe the
value of qp_type. Here are the results:

Client-side output:

starting client
req.qp_type = 3
Received REJ
Error sending REQ or REP
receiving data transfers
initiating data transfers
data transfers complete
test complete

(note to anybody else reading this thread; the last
four lines do not mean the data got transferred
successfully, as no error checking is done on the
connect_events() function)


Server-side output:

starting server
event->param.req_rcvd.qp_type = 2
failed to modify QP to RTR: 22
failing connection request
initiating data transfers
receiving data transfers
data transfers complete
test complete

So basically the server-side thinks the QP being
requested is an RC, not the required UC.

Hope this helps Sean.

Cheers,


Steve.


--- Sean Hefty <mshefty at ichips.intel.com> wrote:

> I'll look into this more.  If you have time, you
> could change cmpost and ucmpost 
> to use UC and run those.  This would help narrow
> down if the issue is in the 
> kernel, userspace, or the application.  (I'm testing
> some MAD changes, and will 
> try this myself once I'm done testing.)
> 


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com



More information about the general mailing list