>From ae65158c0f481936be940899c6e4782973888215 Mon Sep 17 00:00:00 2001
From: Ira K. Weiny <[EMAIL PROTECTED]>
Date: Wed, 7 Nov 2007 11:22:44 -0800
Subject: [PATCH] use the monitored node's redirect information for this get_lid 
call because it
is now available

Signed-off-by: Ira K. Weiny <[EMAIL PROTECTED]>
---
 opensm/opensm/osm_perfmgr.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/opensm/opensm/osm_perfmgr.c b/opensm/opensm/osm_perfmgr.c
index 767ba8d..6b84cff 100644
--- a/opensm/opensm/osm_perfmgr.c
+++ b/opensm/opensm/osm_perfmgr.c
@@ -1024,9 +1024,7 @@ osm_perfmgr_check_overflow(osm_perfmgr_t * pm, 
__monitored_node_t *mon_node,
 
                cl_plock_acquire(pm->lock);
                p_node = osm_get_node_by_guid(pm->subn, 
cl_hton64(mon_node->guid));
-               /* Could find monitored node for this rather than */
-               /* potentially redoing redirection */
-               lid = get_lid(p_node, port, NULL);
+               lid = get_lid(p_node, port, mon_node);
                cl_plock_release(pm->lock);
                if (lid == 0) {
                        osm_log(pm->log, OSM_LOG_ERROR,
-- 
1.5.1

Attachment: 0004-use-the-monitored-node-s-redirect-information-for-th.patch
Description: Binary data

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to