@@ -94,11 +94,11 @@ General file format:
mgid. Furthermore specifying multiple scope
settings will result in multiple MC groups
being created.
- qkey=<val> - specifies the Q_Key for this MC group
+ Q_Key=<val> - specifies the Q_Key for this MC group
(default: 0x0b1b for IP groups, 0 for other groups)
WARNING: changing this for the broadcast group may
break IPoIB on client nodes!!!
- tclass=<val> - specifies tclass for this MC group
+ TClass=<val> - specifies tclass for this MC group
(default is 0)
FlowLabel=<val> - specifies FlowLabel for this MC group
(default is 0)
@@ -619,9 +619,9 @@ General file format:
mgid. Furthermore specifying multiple scope
settings will result in multiple MC groups
being created.
- qkey=<val> - specifies the Q_Key for this MC group
+ Q_Key=<val> - specifies the Q_Key for this MC group
(default: 0x0b1b for IP groups, 0 for other groups)
- tclass=<val> - specifies tclass for this MC group
+ TClass=<val> - specifies tclass for this MC group
(default is 0)
FlowLabel=<val> - specifies FlowLabel for this MC group
(default is 0)
@@ -296,12 +296,14 @@ static int parse_group_flag(unsigned lineno, osm_log_t * p_log,
else
flags->scope_mask |= (1<<scope);
} else if (!strncmp(flag, "Q_Key", strlen(flag))) {
+ rc = 1;
if (!val || (flags->Q_Key = strtoul(val, NULL, 0)) == 0)
OSM_LOG(p_log, OSM_LOG_VERBOSE,
"PARSE WARN: line %d: "
"flag \'Q_Key\' requires valid value"
" - using '0'\n", lineno);
} else if (!strncmp(flag, "TClass", strlen(flag))) {
+ rc =1;
if (!val || (flags->TClass = strtoul(val, NULL, 0)) == 0)
OSM_LOG(p_log, OSM_LOG_VERBOSE,
"PARSE WARN: line %d: "
@@ -406,7 +408,7 @@ static int partition_add_port(unsigned lineno, struct part_conf *conf,
membership = FULL;
else if (!strncmp(flag, "both", strlen(flag)))
membership = BOTH;
- else if (!strncmp(flag, "limited", strlen(flag))) {
+ else if (strncmp(flag, "limited", strlen(flag))) {
OSM_LOG(conf->p_log, OSM_LOG_VERBOSE,
"PARSE WARN: line %d: "
"unrecognized port flag \'%s\'."
Parsing these paraters caused 'unrecognized mgroup flag' warning. Moreover fixed man page/doc for Q_Key/TClass paramters. Signed-off-by: Alex Netes <alexne@mellanox.com> --- doc/partition-config.txt | 4 ++-- man/opensm.8.in | 4 ++-- opensm/osm_prtn_config.c | 4 +++- 3 files changed, 7 insertions(+), 5 deletions(-)