diff mbox

[3/3,opensm] osm_perfmgr_db.c: Add missing clear of new xmit_wait counter in clear_counters

Message ID 53648165.20403@dev.mellanox.co.il (mailing list archive)
State Accepted
Delegated to: Hal Rosenstock
Headers show

Commit Message

Hal Rosenstock May 3, 2014, 5:40 a.m. UTC
Found-by: Susan Coulter <skc@lanl.gov>

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
---
 opensm/osm_perfmgr_db.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

 		node->ports[i].dc_total.xmit_data = 0;
diff mbox

Patch

diff --git a/opensm/osm_perfmgr_db.c b/opensm/osm_perfmgr_db.c
index 1b78942..e57b804 100644
--- a/opensm/osm_perfmgr_db.c
+++ b/opensm/osm_perfmgr_db.c
@@ -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;