[openib-general] Wrong byte order in lid of struct ibv_port_attr reported by ibv_query port!?

Bub Thomas thomas.bub at thomson.net
Fri Sep 8 04:07:47 PDT 2006


Sean,
with the help of your modified cmpost.c example I found out that the
byte order in the lid your query_for_path in cmpost.c is getting into
the ib_sa_path_rec is the opposite to the one reported by
ibv_query_port.
Since I'm doing the connection establishment based on lid, GUID and
subnetID this explains why I can't connect to a client to antoher
machine.
Can you tell me which one is wrong or am I doing something wrong here?

Thomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060908/f6b3c2b5/attachment.html>


More information about the general mailing list