OpenSM: Trivial comment changes and other cleanup Signed-off-by: Hal Rosenstock <[EMAIL PROTECTED]>
diff --git a/opensm/include/opensm/osm_sa.h b/opensm/include/opensm/osm_sa.h index eb009eb..6c7b9c6 100644 --- a/opensm/include/opensm/osm_sa.h +++ b/opensm/include/opensm/osm_sa.h @@ -442,7 +442,7 @@ osm_sa_bind(IN osm_sa_t * const p_sa, IN const ib_net64_t port_guid); * osm_sa_vendor_send * * DESCRIPTION -* Sends SA MAD via osm_vendor_call and maintains the QP1 sent statistic +* Sends SA MAD via osm_vendor_send and maintains the QP1 sent statistic * * SYNOPSIS */ diff --git a/opensm/include/opensm/osm_stats.h b/opensm/include/opensm/osm_stats.h index 787d511..51424d1 100644 --- a/opensm/include/opensm/osm_stats.h +++ b/opensm/include/opensm/osm_stats.h @@ -128,20 +128,20 @@ typedef struct _osm_stats { * unrecognized attribute IDs and methods. * * sa_mads_outstanding -* Contains the number of MADs outstanding on QP1. +* Contains the number of SA MADs outstanding on QP1. * * sa_mads_rcvd -* Total number of QP1 MADs received. +* Total number of SA MADs received. * * sa_mads_sent -* Total number of QP1 MADs sent. +* Total number of SA MADs sent. * * sa_mads_rcvd_unknown -* Total number of unknown QP1 MADs received. This includes +* Total number of unknown SA MADs received. This includes * unrecognized attribute IDs and methods. * * sa_mads_ignored -* Total number of QP1 MADs received because SM is not +* Total number of SA MADs received because SM is not * master or SM is in first time sweep. * * SEE ALSO diff --git a/opensm/opensm/osm_console.c b/opensm/opensm/osm_console.c index ad5662b..34b69a0 100644 --- a/opensm/opensm/osm_console.c +++ b/opensm/opensm/osm_console.c @@ -390,18 +390,17 @@ static void print_status(osm_opensm_t * p_osm, FILE * out) #endif fprintf(out, "\n MAD stats\n" " ---------\n" - " QP0 MADS outstanding : %d\n" - " QP0 MADS outstanding (on wire) : %d\n" - " QP0 MADS rcvd : %d\n" - " QP0 MADS sent : %d\n" + " QP0 MADs outstanding : %d\n" + " QP0 MADs outstanding (on wire) : %d\n" + " QP0 MADs rcvd : %d\n" + " QP0 MADs sent : %d\n" " QP0 unicasts sent : %d\n" " QP0 unknown MADs rcvd : %d\n" - " SA MADS outstanding : %d\n" - " SA MADS rcvd : %d\n" - " SA MADS sent : %d\n" - " QP1 MADs sent : %d\n" - " QP1 unknown MADs rcvd : %d\n" - " QP1 MADs ignored : %d\n", + " SA MADs outstanding : %d\n" + " SA MADs rcvd : %d\n" + " SA MADs sent : %d\n" + " SA unknown MADs rcvd : %d\n" + " SA MADs ignored : %d\n", p_osm->stats.qp0_mads_outstanding, p_osm->stats.qp0_mads_outstanding_on_wire, p_osm->stats.qp0_mads_rcvd, @@ -409,7 +408,7 @@ static void print_status(osm_opensm_t * p_osm, FILE * out) p_osm->stats.qp0_unicasts_sent, p_osm->stats.qp0_mads_rcvd_unknown, p_osm->stats.sa_mads_outstanding, - p_osm->stats.sa_mads_rcvd, p_osm->stats.sa_mads_sent, + p_osm->stats.sa_mads_rcvd, p_osm->stats.sa_mads_sent, p_osm->stats.sa_mads_rcvd_unknown, p_osm->stats.sa_mads_ignored); _______________________________________________ general mailing list general@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general