How to know if SRQ is being used in SRP?

2010-08-05 Thread Suresh Shelvapille
Folks: I have the envious task of figuring out whether SRQ is being used in an SRP application (which I have very little knowledge about). I only have IB transport layer traces from the customer. From the traces I can see Valid Credits in the Syndrome field of the AETH in

Re: How to know if SRQ is being used in SRP?

2010-08-05 Thread Ralph Campbell
SRP doesn't use a SRQ. Look at drivers/infiniband/ulp/srp/ib_srp.c for ib_create_qp() and the init_attr.cap.max_recv_wr is set and init_attr.ib_srq is not set. On Thu, 2010-08-05 at 09:38 -0700, Suresh Shelvapille wrote: Folks: I have the envious task of figuring out whether SRQ is being

RE: How to know if SRQ is being used in SRP?

2010-08-05 Thread Suresh Shelvapille
Ralph: I am told that the customer has modified the SRP code, which is why I cannot go by the ib_srp.c code. Hence, I am trying to figure out from the IB transport traces whether SRQ is being used or not. 1. Would the Syndrome field show CC INVALID if SRQ were being used? If so, in which IB

Re: How to know if SRQ is being used in SRP?

2010-08-05 Thread Roland Dreier
I have the envious task of figuring out whether SRQ is being used in an SRP application (which I have very little knowledge about). I only have IB transport layer traces from the customer. From the traces I can see Valid Credits in the Syndrome field of the AETH in

Re: How to know if SRQ is being used in SRP?

2010-08-05 Thread Roland Dreier
I am told that the customer has modified the SRP code, which is why I cannot go by the ib_srp.c code. Can you not ask the customer?? Or if you have the object code, look for calls to srq functions in the binary?? 1. Would the Syndrome field show CC INVALID if SRQ were being used? If