Message ID | 1288732095-32199-1-git-send-email-jaschut@sandia.gov (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/opensm/opensm/osm_qos.c b/opensm/opensm/osm_qos.c index c90073e..cc38151 100644 --- a/opensm/opensm/osm_qos.c +++ b/opensm/opensm/osm_qos.c @@ -365,7 +365,7 @@ static int parse_vlarb_entry(char *str, ib_vl_arb_element_t * e) unsigned val; char *p = str; p += parse_one_unsigned(p, ':', &val); - e->vl = val % 15; + e->vl = (val % 15) << 4; p += parse_one_unsigned(p, ',', &val); e->weight = (uint8_t) val; return (int)(p - str);