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 message would it show---RDMA read response, or in an initial RC SEND message or both?
Thanks, Suri > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Ralph > Campbell > Sent: Thursday, August 05, 2010 1:42 PM > To: Suresh Shelvapille > Cc: [email protected] > Subject: Re: How to know if SRQ is being used in SRP? > > 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 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 > RDMA_ReadResponse_First/last messages. > > Although there are a bunch of RC SENDs where the AETH syndrome field is > > Invalid, unfortunately I > cannot seem to > > correlate these RC SENDS with the RDMA read/responses. > > My questions is, since the RDMA response AETH field has valid CC credits is > > it saying SRQ is not > being used? > > > > Many thanks, > > Suri > > > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > > the body of a message to [email protected] > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to [email protected] > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
