Skip to contentSkip to conversation

opensm: fix default cc_max_outstanding_mads assignment

PATCH New Alex Netes 1 participant 1 message Aug 26, 2012 InfiniBand

lore
Share & tools
lore

Alex Netes

author
#0 lore raw

PATCH 1/1 opensm: fix default cc_max_outstanding_mads assignment

Should be: OSM_CC_DEFAULT_MAX_OUTSTANDING_QUERIES instead of OSM_PERFMGR_DEFAULT_MAX_OUTSTANDING_QUERIES

---
 opensm/osm_subnet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
opensm/osm_subnet.c +1 -1
index 195adb8..b9a491b 100644
@@ -1520,7 +1520,7 @@ void osm_subn_set_default_opt(IN osm_subn_opt_t * p_opt)
 	p_opt->exit_on_fatal = TRUE;
 	p_opt->congestion_control = FALSE;
 	p_opt->cc_key = OSM_DEFAULT_CC_KEY;
-	p_opt->cc_max_outstanding_mads = OSM_PERFMGR_DEFAULT_MAX_OUTSTANDING_QUERIES;
+	p_opt->cc_max_outstanding_mads = OSM_CC_DEFAULT_MAX_OUTSTANDING_QUERIES;
 	p_opt->enable_quirks = FALSE;
 	p_opt->no_clients_rereg = FALSE;
 	p_opt->prefix_routes_file = strdup(OSM_DEFAULT_PREFIX_ROUTES_FILE);
Signature · 6 lines
1.7.11.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html