On Wed, Jan 26, 2005 at 03:45:00PM -0800, Sean Hefty wrote: > On Wed, 26 Jan 2005 12:49:21 -0800 > Libor Michalek <[EMAIL PROTECTED]> wrote: > > > Sean, > > > > There is an inconsistency between the port returned by cm_find_port() > > and the port needed for ib_find_cached_pkey() > > > > cm_find_port() is using base 0 port numbering, while > > ib_find_cached_pkey() uses base 1 port numbering. If I make this change > > ib_send_cm_req() appears to work correctly: > > I'm wondering if the issue isn't in ib_find_cached_gid instead. Can you > retest using this patch in place of yours?
I took a look at the actual port number being passed to cached pkey, port->port_num, and in the unmodified code the result from cm_find_port() has port_num set as 0, which seems incorrect since port numbering should be 1 based, right? -Libor _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
