diff mbox

[PATCHv1] opensm/osmtest: fix osmtest ignores timeout parameter

Message ID 4FFC3AE7.8040006@dev.mellanox.co.il (mailing list archive)
State Accepted
Delegated to: Alex Netes
Headers show

Commit Message

Daniel Klein July 10, 2012, 2:23 p.m. UTC
Fix: osmtest ignores timeout parameter, and binds with default value

v1 changes:
updating only timeout field of bind_info

Signed-off-by: Daniel Klein <danielk@mellanox.com>
---
 libvendor/osm_vendor_ibumad_sa.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Alex Netes July 25, 2012, 7:53 a.m. UTC | #1
Hi Hal,

On 17:23 Tue 10 Jul     , Daniel Klein wrote:
> Fix: osmtest ignores timeout parameter, and binds with default value
> 
> v1 changes:
> updating only timeout field of bind_info
> 
> Signed-off-by: Daniel Klein <danielk@mellanox.com>
> ---

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/libvendor/osm_vendor_ibumad_sa.c b/libvendor/osm_vendor_ibumad_sa.c
index 1470624..1d482c0 100644
--- a/libvendor/osm_vendor_ibumad_sa.c
+++ b/libvendor/osm_vendor_ibumad_sa.c
@@ -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 */