[openib-general] [PATCH] [verbs] add node_guid to device structure

Sean Hefty mshefty at ichips.intel.com
Wed Sep 7 16:33:45 PDT 2005


Roland Dreier wrote:
>     Sean> This patch adds the node_guid to struct ib_device to avoid
>     Sean> ULPs needing to query for it.
> 
> Seems reasonable.  I can't think of any valid reason why the node_guid
> would ever change during a device's lifetime.
> 
> If we're going to put node_guid in the ib_device_attr, should we
> remove it from struct ib_device_attr?

I call ib_query_device() to set the node_guid.  I didn't see any other way of 
getting it reading through the mthca code.

- Sean



More information about the general mailing list