osm_perfmgr_db.c: Add missing clear of new xmit_wait counter in clear_counters
PATCH 3/3 osm_perfmgr_db.c: Add missing clear of new xmit_wait counter in clear_counters
Found-by Susan Coulter <[email protected]>
Signed-off-by Ira Weiny <[email protected]>
--- opensm/osm_perfmgr_db.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
opensm/osm_perfmgr_db.c +0 -0
@@ -627,6 +627,7 @@ static void clear_counters(cl_map_item_t * const
p_map_item, void *context)
node->ports[i].err_total.link_integrity = 0; node->ports[i].err_total.buffer_overrun = 0; node->ports[i].err_total.vl15_dropped = 0;
+ node->ports[i].err_total.xmit_wait = 0;
node->ports[i].err_total.time = ts;
node->ports[i].dc_total.xmit_data = 0;
Signature · 6 lines
1.7.1 -- 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