[openib-general] [PATCH] Allow setting of NodeDescription

Hal Rosenstock halr at voltaire.com
Tue Sep 20 10:10:14 PDT 2005


On Tue, 2005-09-20 at 13:00, Sean Hefty wrote:
> Roland Dreier wrote:
> > This patch does a few things:
> >  - Adds node_guid and node_desc fields to struct ib_device
> >  - Has mthca set these fields on startup
> >  - Extends modify_device method to handle setting node_desc
> >  - Exposes node_desc in sysfs
> >  - Allows userspace to set node_desc by writing into sysfs file, eg.
> >      echo -n `hostname` >> /sys/class/infiniband/mthca0/node_desc
> > 
> > This should probably be combined with Sean's work to get rid of
> > node_guid queries in ULPs.
> > 
> > Comments?
> 
> Are there any objections to separating the node_guid changes and commit that 
> portion?

Are you referring to the changes for:
Adds node_guid and node_desc fields to struct ib_device

At this point, I forget why node_guid needs to be moved from
ib_device_attr to ib_device.

-- Hal




More information about the general mailing list