[openib-general] Re: How to change NodeDescription

Michael S. Tsirkin mst at mellanox.co.il
Wed Aug 24 07:42:15 PDT 2005


Quoting r. Eitan Zahavi <eitan at mellanox.co.il>:
> Subject: Re: How to change NodeDescription
> 
> Steve Wooding wrote:
> >Hi,
> >
> >Is it possible with the gen2 driver to set the NodeDescription for each
> >host. I have a machine which is still running gen1 drivers and the
> >NodeDescription is set to the hostname. I guess this is done when the
> >driver is loaded at boot time (but couldn't find out exactly how this
> >is done).
>
> The gen1 implementation sniffed the ingoing 
> SubnetManagement.Get(NodeDesc) in the sma.c and replaced appended to the 
> results a string the looked like: <host name> HCA-<hca index>.
> I think it was very useful feature.

Sounds good.
Making node description visible, and editable, through
/sys/class/infiniband/mthcaX/node_desc is probably the way to do it.
The user would then be able to write whatever he wants there.

-- 
MST



More information about the general mailing list