Skip to contentSkip to conversation

opensm/perfmgr: fix overflow processing

PATCH In review Ira Weiny 2 participants 2 messages Mar 25, 2011 – Apr 1, 2011 1 message not in the archive InfiniBand

lore
Share & tools
lore

Ira Weiny

author
#0 lore raw

PATCH 1/1 opensm/perfmgr: fix overflow processing

From: Ira Weiny <[email protected]>
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.

---
 opensm/osm_perfmgr.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
opensm/osm_perfmgr.c +1 -0
index fccf9d6..6a1fa63 100644
@@ -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);
 	}
 
Signature · 6 lines
1.5.4.5

--
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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 9 lines · Ira Weiny

From: Ira Weiny <[email protected]>
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.

---

Applied, thanks.
--
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