Added client_reregister display into PortInfo dump in osm_helper.c
authoreitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 30 Oct 2005 08:29:09 +0000 (08:29 +0000)
committereitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 30 Oct 2005 08:29:09 +0000 (08:29 +0000)
Also, fixed some typos in another log message and another comment

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@132 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/opensm/user/libopensm/osm_helper.c
ulp/opensm/user/opensm/osm_port_info_rcv.c

index 1fb2a38..860e1d4 100644 (file)
@@ -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
index f11a3a7..9588e8d 100644 (file)
@@ -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,