[openib-general] Re: why does the value of the node_guid don't have the machine en dian ess?

Sean Hefty mshefty at ichips.intel.com
Tue Jul 26 11:03:48 PDT 2005


Roland Dreier wrote:
>     Dotan> I expect the value to have the same endian-ness when
>     Dotan> printed with %llx and when read from sysfs.
> 
> I don't think this is right.  sysfs is showing the GUID as a string.
> On the other hand, I think it makes sense for the query verb to return
> it in network order.

To clarify, node_guid in ib_device_attr is in network order, correct?  Do 
you know offhand which other fields of that structure are also in network 
order?  Is it just the two guid fields?

- Sean



More information about the general mailing list