opensm/osmtest: fix timeout and max_retries
PATCH 1/1 opensm/osmtest: fix timeout and max_retries
In reply to a message not in the archiveFix: osmtest doesnt bind to port with given timeout / max_retries parameters.
--- libvendor/osm_vendor_ibumad_sa.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
libvendor/osm_vendor_ibumad_sa.c +2 -2
@@ -240,8 +240,8 @@ 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.retries =OSM_DEFAULT_RETRY_COUNT ; + bind_info.timeout = p_vend->timeout; + bind_info.retries = p_vend->max_retries;/* allocate the new sa bind info */ p_sa_bind_info =
Signature · 6 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