From 277e5565a959f2e8f3eb36c0107d8c8d2cf22242 Mon Sep 17 00:00:00 2001 From: eitan Date: Sun, 30 Oct 2005 08:29:09 +0000 Subject: [PATCH] Added client_reregister display into PortInfo dump in osm_helper.c Also, fixed some typos in another log message and another comment git-svn-id: svn://openib.tc.cornell.edu/gen1@132 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- trunk/ulp/opensm/user/libopensm/osm_helper.c | 2 ++ trunk/ulp/opensm/user/opensm/osm_port_info_rcv.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/trunk/ulp/opensm/user/libopensm/osm_helper.c b/trunk/ulp/opensm/user/libopensm/osm_helper.c index 1fb2a382..860e1d4c 100644 --- a/trunk/ulp/opensm/user/libopensm/osm_helper.c +++ b/trunk/ulp/opensm/user/libopensm/osm_helper.c @@ -608,6 +608,7 @@ osm_dump_port_info( "\t\t\t\tp_key_violations........0x%X\n" "\t\t\t\tq_key_violations........0x%X\n" "\t\t\t\tguid_cap................0x%X\n" + "\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" @@ -644,6 +645,7 @@ osm_dump_port_info( cl_ntoh16( p_pi->p_key_violations ), 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 diff --git a/trunk/ulp/opensm/user/opensm/osm_port_info_rcv.c b/trunk/ulp/opensm/user/opensm/osm_port_info_rcv.c index f11a3a71..9588e8d7 100644 --- a/trunk/ulp/opensm/user/opensm/osm_port_info_rcv.c +++ b/trunk/ulp/opensm/user/opensm/osm_port_info_rcv.c @@ -136,7 +136,7 @@ __osm_pi_rcv_process_endport( { osm_log( p_rcv->p_log, OSM_LOG_VERBOSE, "__osm_pi_rcv_process_endport: " - "Setting endport minimal rate to:%u defiend by port:0x%" + "Setting endport minimal rate to:%u defined by port:0x%" PRIx64 ".\n", rate, cl_ntoh64( port_guid ) ); @@ -241,7 +241,7 @@ __osm_pi_rcv_process_switch_port( /* Check the state of the physical port. If there appears to be something on the other end of the wire, - then ask for NodeInfo. Ignore the switch managment port. + then ask for NodeInfo. Ignore the switch management port. */ port_num = osm_physp_get_port_num( p_physp ); /* if in_sweep_hop_0 is TRUE, then this means the SM in on the switch, -- 2.41.0