[ofa-general] ***SPAM*** [PATCH 2/2] opensm/osm_helper.c: Add support for MaxCreditHint and LinkRoundTripLatency to osm_dump_port_info
Hal Rosenstock
hnrose at comcast.net
Wed Apr 15 11:45:10 PDT 2009
Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
diff --git a/opensm/opensm/osm_helper.c b/opensm/opensm/osm_helper.c
index ac4b372..0dc8055 100644
--- a/opensm/opensm/osm_helper.c
+++ b/opensm/opensm/osm_helper.c
@@ -827,7 +827,9 @@ void osm_dump_port_info(IN osm_log_t * p_log, IN const ib_net64_t node_guid,
"\t\t\t\tclient_reregister.......0x%X\n"
"\t\t\t\tsubnet_timeout..........0x%X\n"
"\t\t\t\tresp_time_value.........0x%X\n"
- "\t\t\t\terror_threshold.........0x%X\n",
+ "\t\t\t\terror_threshold.........0x%X\n"
+ "\t\t\t\tmax_credit_hint.........0x%X\n"
+ "\t\t\t\tlink_round_trip_latency.0x%X\n",
port_num,
cl_ntoh64(node_guid),
cl_ntoh64(port_guid),
@@ -855,7 +857,8 @@ void osm_dump_port_info(IN osm_log_t * p_log, IN const ib_net64_t node_guid,
cl_ntoh16(p_pi->q_key_violations), p_pi->guid_cap,
ib_port_info_get_client_rereg(p_pi),
ib_port_info_get_timeout(p_pi), p_pi->resp_time_value,
- p_pi->error_threshold);
+ p_pi->error_threshold, cl_ntoh16(p_pi->max_credit_hint),
+ cl_ntoh32(p_pi->link_rt_latency));
/* show the capabilities mask */
if (p_pi->capability_mask) {
More information about the general
mailing list