IB/mlx4: Manage admin alias GUID upon admin request
authorYishai Hadas <yishaih@mellanox.com>
Sun, 1 Mar 2015 16:17:22 +0000 (18:17 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 15 Apr 2015 19:51:50 +0000 (15:51 -0400)
commit2350f24774627d73fe2e3843172b69db91714cd2
tree87e290665417cc6ffa097ed5bd0350650e11d9bd
parentfb517a4f03041c5eaed394bd57ee518b44301f1a
IB/mlx4: Manage admin alias GUID upon admin request

Set the admin alias GUID per the administrator's request via the sysfs
mechanism into the core layer.

The "get" request returns the current value. However, if the administrator
requests the SM to assign a new value by requesting 0, the SM assigned
GUID is returned.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/alias_GUID.c
drivers/infiniband/hw/mlx4/sysfs.c