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 > [email protected] > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general > > To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general _______________________________________________ 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
