IB: Allow userspace to set node description
authorRoland Dreier <rolandd@cisco.com>
Thu, 2 Feb 2006 17:47:14 +0000 (09:47 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:09 +0000 (10:08 -0800)
commitc5bcbbb9fe00128d500c2f473d5ddc8d8c2c53a7
treec4a6feac1bc1dfd9e2fbe88c8e6ad1db4a47a817
parent2fa5e2ebbe2d81f741ba7bed9e07dc38cc734625
IB: Allow userspace to set node description

Expose a writable "node_desc" sysfs attribute for InfiniBand devices.
This allows userspace to update the node description with information
such as the node's hostname, so that IB network management software
can tie its view to the real world.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/sysfs.c
include/rdma/ib_verbs.h