IB/mlx4: Change init flow to request alias GUIDs for active VFs
authorYishai Hadas <yishaih@mellanox.com>
Tue, 3 Mar 2015 14:12:14 +0000 (16:12 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 15 Apr 2015 19:51:50 +0000 (15:51 -0400)
commitf54796012837687532d0a87a0504de22da7c2503
tree0362d329d0d7fe1b38472063177f4db4235bec4c
parent2350f24774627d73fe2e3843172b69db91714cd2
IB/mlx4: Change init flow to request alias GUIDs for active VFs

Change the init flow to ask GUIDs only for active VFs. This is done for
both SM & HOST modes so that there is no need any more to maintain the
ownership record type.

In case SM mode is used, the initial value will be 0, ask the SM to assign,
for the HOST mode the initial value will be the HOST generated GUID.

This will enable out of the box experience for both probed and attached VFs.

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/mlx4_ib.h
drivers/infiniband/hw/mlx4/sysfs.c
This page took 0.044508 seconds and 5 git commands to generate.