aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@mellanox.com>2015-02-12 02:49:43 -0500
committerDoug Ledford <dledford@redhat.com>2015-04-15 15:51:50 -0400
commit56c1d2335b355205d6fabb7663d383e73ea0de47 (patch)
tree703bddb81acd139f85bbc43749d624bca8633535 /drivers/infiniband
parente9a7ff3a71154ec03b6dc617d97d7c710b7bb98c (diff)
IB/mlx4: Change alias guids default to be host assigned
Change the default mode to be HOST assigned instead of SM assigned. This is the expected operational mode, because it doesn't depend on SM availability. As PF generates random GUIDs as the initial admin values, this gives out of the box experience. 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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/mlx4/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c
index e92dc9aa075e..57070c529dfb 100644
--- a/drivers/infiniband/hw/mlx4/main.c
+++ b/drivers/infiniband/hw/mlx4/main.c
@@ -66,9 +66,9 @@ MODULE_DESCRIPTION("Mellanox ConnectX HCA InfiniBand driver");
66MODULE_LICENSE("Dual BSD/GPL"); 66MODULE_LICENSE("Dual BSD/GPL");
67MODULE_VERSION(DRV_VERSION); 67MODULE_VERSION(DRV_VERSION);
68 68
69int mlx4_ib_sm_guid_assign = 1; 69int mlx4_ib_sm_guid_assign = 0;
70module_param_named(sm_guid_assign, mlx4_ib_sm_guid_assign, int, 0444); 70module_param_named(sm_guid_assign, mlx4_ib_sm_guid_assign, int, 0444);
71MODULE_PARM_DESC(sm_guid_assign, "Enable SM alias_GUID assignment if sm_guid_assign > 0 (Default: 1)"); 71MODULE_PARM_DESC(sm_guid_assign, "Enable SM alias_GUID assignment if sm_guid_assign > 0 (Default: 0)");
72 72
73static const char mlx4_ib_version[] = 73static const char mlx4_ib_version[] =
74 DRV_NAME ": Mellanox ConnectX InfiniBand driver v" 74 DRV_NAME ": Mellanox ConnectX InfiniBand driver v"