OK, thanks. qp_num is something like process PID.

I really wish 'struct ibv_wc' had qp_context field(void *) application
given when creating QP.


--CQ



> -----Original Message-----
> From: Todd Rimmer [mailto:[EMAIL PROTECTED] 
> Sent: Monday, October 01, 2007 10:37 AM
> To: Tang, Changqing; [email protected]
> Subject: RE: [ofa-general] How to use some ibv_wc fields ?
> 
> 
> 
> > From: Tang, Changqing
> > Sent: Monday, October 01, 2007 11:20 AM
> > To: [email protected]
> > Subject: [ofa-general] How to use some ibv_wc fields ?
> > 
> > 
> > Another question, how is qp number assigned to a QP ? is it 
> a random 
> > number, or a number from 1 and then increasing with QPs ? 
> one process 
> > basis or on node basis ?
> 
> 
> The assignment depends on the specifics of the HCA driver.
> QP 0 and QP 1 are well known and defined by the spec for management.
> The remaining 2^24 QPs are up to the hardware and driver.  A 
> given QP number is unique per HCA.  As QPs are destroyed and 
> created, QP numbers may be reused, however at a given point 
> in time, only a single QP in the HCA will exist with the given number.
> 
> Todd Rimmer
> Chief Architect
> QLogic System Interconnect Group
> Voice: 610-233-4852     Fax: 610-233-4777
> [EMAIL PROTECTED]  www.QLogic.com
>  
> 
> 
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to