[ofa-general] The significance of port numbers when creating QPs?

Matthew Small matthewtsmall at gmail.com
Fri May 16 10:27:24 PDT 2008


So, when you are using an RC QP and attempting to write code for general
hardware, how would you query the device to find which physical IB ports are
available?

On Fri, May 16, 2008 at 12:50 PM, Ralph Campbell <ralph.campbell at qlogic.com>
wrote:

> It depends on the hardware you have in your system.
> Most HCAs have one or two ports (a CX4 connector
> for the IB cable). The port_num is a property of
> the address handle (for UD QPs) or QP attributes
> (for UC, RC QPs) which specifies which physical IB
> port to use.
>
> On Fri, 2008-05-16 at 12:40 -0400, Matthew Small wrote:
> > Can anyone explain a little on the significance of choosing a port
> > number when creating a QP.  In particular, my implementation has
> > multiple QPs associated with a single PD and the only attr.port_num I
> > can  use to  initialize my queue pair seems to be 1.  Can someone
> > answer why this is and perhaps explain a general method for choosing
> > an available port_num.
> >
> > -Matt
> > _______________________________________________
> > general mailing list
> > general at lists.openfabrics.org
> > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> >
> > To unsubscribe, please visit
> http://openib.org/mailman/listinfo/openib-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080516/a4dc1bc2/attachment.html>


More information about the general mailing list