[openib-general] OFED SRP initiator always sends CM REJ in response to CM REP

Sean Hefty mshefty at ichips.intel.com
Tue Oct 31 10:31:09 PST 2006


Chris Youb wrote:
>  We are developing SRP target code and testing it with the OFED 1.1 SRP 
> initiator.  The OFED SRP initiator sends us a CM REQ (IB 12.6.5) and we 
> respond with CM REP (12.6.8).  However, instead of the expected CM RTU 
> (12.6.9) we ALWAYS receive a CM REJ (12.6.7) with status 0x1C == Reason 
> 28 (12.6.7.2).

This is IB_CM_REJ_CONSUMER_DEFINED reject reason.  It is only sent by the ib_cm 
in response to an action taken by the user - most likely because the SRP 
initiator is rejecting the response for some reason.

>  Initially we suspected our response values in the CM REP packet.  There 
> is nothing obvious to us, and anything we weren't sure about we tried a 
> number of combinations.  This applies to the SRP private data as well.
>  We also took a look at ./openib-1.1/drivers/infiniband/core/ cm.c and 
> cma.c.  The function cma.c:cma_rep_recv looked like a possibility but 
> there's little debug output.

I don't believe that the OFED SRP initiator uses the CMA.

- Sean




More information about the general mailing list