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

Michael S. Tsirkin mst at mellanox.co.il
Tue Nov 22 18:54:45 PST 2005


Quoting Michael S. Tsirkin <mst at mellanox.co.il>:
> > 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?
> > 
> >  - R.
> 
> 
> Good stuff.

Roland, do you plan to check this in?

-- 
MST



More information about the general mailing list