Skip to contentSkip to conversation

opensm/osmtest: fix osmtest ignores timeout parameter

PATCH In review Daniel Klein 2 participants 2 messages Jul 10, 2012 – Jul 25, 2012 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm/osmtest: fix osmtest ignores timeout parameter

Fix: osmtest ignores timeout parameter, and binds with default value

v1 changes:
updating only timeout field of bind_info

---
 libvendor/osm_vendor_ibumad_sa.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
libvendor/osm_vendor_ibumad_sa.c +1 -1
index 1470624..1d482c0 100644
@@ -240,7 +240,7 @@ osmv_bind_sa(IN osm_vendor_t * const p_vend,
 	bind_info.is_report_processor = FALSE;
 	bind_info.send_q_size = OSM_SM_DEFAULT_QP1_RCV_SIZE;
 	bind_info.recv_q_size = OSM_SM_DEFAULT_QP1_SEND_SIZE;
-	bind_info.timeout = OSM_DEFAULT_TRANS_TIMEOUT_MILLISEC;
+	bind_info.timeout = p_vend->timeout;
 	bind_info.retries = OSM_DEFAULT_RETRY_COUNT;
 
 	/* allocate the new sa bind info */
Signature · 5 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
#2 lore raw
In reply to a message not in the archive

Hi Hal,

Quoted 7 lines · Daniel Klein

Fix: osmtest ignores timeout parameter, and binds with default value

v1 changes:
updating only timeout field of bind_info

---

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