1
1

OSC: set UCX module used by default

- OSC/UCX module set priority to 200 to be used by default

Signed-off-by: Sergey Oblomov <sergeyo@mellanox.com>
(cherry picked from commit 36934a8bb2484c3d27d14683d65012ff422334f4)
Этот коммит содержится в:
Sergey Oblomov 2018-11-12 15:08:22 +02:00
родитель 206b574bb3
Коммит 012e27af77

Просмотреть файл

@ -103,9 +103,9 @@ static int component_open(void) {
static int component_register(void) { static int component_register(void) {
char *description_str; char *description_str;
mca_osc_ucx_component.priority = 0; mca_osc_ucx_component.priority = 200;
asprintf(&description_str, "Priority of the osc/ucx component (default: %d)", opal_asprintf(&description_str, "Priority of the osc/ucx component (default: %d)",
mca_osc_ucx_component.priority); mca_osc_ucx_component.priority);
(void) mca_base_component_var_register(&mca_osc_ucx_component.super.osc_version, "priority", description_str, (void) mca_base_component_var_register(&mca_osc_ucx_component.super.osc_version, "priority", description_str,
MCA_BASE_VAR_TYPE_UNSIGNED_INT, NULL, 0, 0, OPAL_INFO_LVL_3, MCA_BASE_VAR_TYPE_UNSIGNED_INT, NULL, 0, 0, OPAL_INFO_LVL_3,
MCA_BASE_VAR_SCOPE_GROUP, &mca_osc_ucx_component.priority); MCA_BASE_VAR_SCOPE_GROUP, &mca_osc_ucx_component.priority);