net/mlx4_core: Return the admin alias GUID upon host view request
authorYishai Hadas <yishaih@mellanox.com>
Mon, 2 Feb 2015 13:07:23 +0000 (15:07 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 15 Apr 2015 19:51:50 +0000 (15:51 -0400)
commite9a7ff3a71154ec03b6dc617d97d7c710b7bb98c
tree653eee37500ae5d9653bede8380718f120f65394
parenta0667a83aff20c7659960d7e7cd6a5d187c7df20
net/mlx4_core: Return the admin alias GUID upon host view request

Return the admin alias GUID value upon a GET request via HOST. We do this so
that the GUID value requested by the admin is returned even if the SM has not
yet approved this GUID (e.g. the SM is down).

Note that this does not create a problem, since the virtual port will remain
down until the SM does ACK the requested GUID value.

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/net/ethernet/mellanox/mlx4/cmd.c