* [PATCH] opensm/perfmgr: fix overflow processing
@ 2011-03-25 1:11 Ira Weiny
[not found] ` <20110324181134.880ebd84.weiny2-i2BcT+NCU+M@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Ira Weiny @ 2011-03-25 1:11 UTC (permalink / raw)
To: Alex Netes; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
From: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
Date: Wed, 9 Mar 2011 16:28:23 -0800
Subject: [PATCH] opensm/perfmgr: fix overflow processing
The stored error counters need to be cleared when the clear is issued because of overflow.
Signed-off-by: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
---
opensm/osm_perfmgr.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/opensm/osm_perfmgr.c b/opensm/osm_perfmgr.c
index fccf9d6..6a1fa63 100644
--- a/opensm/osm_perfmgr.c
+++ b/opensm/osm_perfmgr.c
@@ -1032,6 +1032,7 @@ static void perfmgr_check_overflow(osm_perfmgr_t * pm,
PRIx64 ") port %d\n",
mon_node->name, mon_node->guid, port);
+ perfmgr_db_clear_prev_err(pm->db, mon_node->guid, port);
perfmgr_db_clear_prev_dc(pm->db, mon_node->guid, port);
}
--
1.5.4.5
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-01 10:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-25 1:11 [PATCH] opensm/perfmgr: fix overflow processing Ira Weiny
[not found] ` <20110324181134.880ebd84.weiny2-i2BcT+NCU+M@public.gmane.org>
2011-04-01 10:12 ` Alex Netes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox