fields.c: Print SwitchPortCongestionSetting:Threshold in decimal rather than hex
PATCH 1/1 fields.c: Print SwitchPortCongestionSetting:Threshold in decimal rather than hex
for consistency with printing of SwitchCongestionSetting:Threshold
---
src/fields.c +1 -1
@@ -870,7 +870,7 @@ static const ib_field_t ib_mad_f[] = {*/ {BITSOFFS(0, 1), "Valid", mad_dump_uint}, {BITSOFFS(1, 1), "Control_Type", mad_dump_uint}, - {BITSOFFS(4, 4), "Threshold", mad_dump_hex}, + {BITSOFFS(4, 4), "Threshold", mad_dump_uint}, {BITSOFFS(8, 8), "Packet_Size", mad_dump_uint}, {BITSOFFS(16, 16), "Cong_Parm_Marking_Rate", mad_dump_uint}, {0, 0}, /* IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_LAST_F */
--
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