[ofa-general] How to use some ibv_wc fields ?

Todd Rimmer todd.rimmer at qlogic.com
Mon Oct 1 08:36:37 PDT 2007



> From: Tang, Changqing
> Sent: Monday, October 01, 2007 11:20 AM
> To: general at lists.openfabrics.org
> 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
Todd.Rimmer at QLogic.com  www.QLogic.com
 




More information about the general mailing list