[openib-general] [PATCH] Allow setting of NodeDescription
Hal Rosenstock
halr at voltaire.com
Wed Sep 14 20:38:43 PDT 2005
On Wed, 2005-09-14 at 21:56, Roland Dreier wrote:
> Roland> - Allows userspace to set node_desc by writing into sysfs file, eg.
> Roland> echo -n `hostname` >> /sys/class/infiniband/mthca0/node_desc
>
> Hal> Shouldn't there be a non volatile way to do this ?
>
> I'm not sure what "non volatile" means in this context. For Mellanox
> HCAs, one can already set a permanent NodeDescription in the flash
> when burning firmware. Also, the echo command above was just an
> example; a hotplug script could also do
>
> cat /my/permanent/node_desc > /sys/class/infiniband/mthca0/node_desc
>
> or anything more elaborate it wants.
The issue I see with changing this "on the fly" is that the SM has no
way of knowing it changed (other than polling this which is less than
optimal).
-- Hal
More information about the general
mailing list