[Openib-windows] [PATCH] cmtest
Yossi Leybovich
sleybo at mellanox.co.il
Tue Jul 11 09:10:46 PDT 2006
Fab
Recently we add check to the reject flow that check if cep->p2p == TRUE
and only if yes we wait to VALID_SID.
I notice that few of the cm tests that run in our regression system fail
and I guess it related to the fact that in the test the client might
send the connect before the server finish its listen
this patch make the cmtest connection to be p2p connection.
I haven't check it yet
10x
Yossi
Index: user/cmtest_main.c
===================================================================
--- user/cmtest_main.c (revision 1528)
+++ user/cmtest_main.c (working copy)
@@ -520,6 +520,7 @@
g_root.cm_req.retry_cnt = 5;
g_root.cm_req.pfn_cm_mra_cb = __mra_cb;
g_root.cm_req.pfn_cm_rej_cb = __rej_cb;
+ g_root.cm_req.pfn_cm_req_cb = __req_cb;
/* Initialize connection reply parameters. */
g_root.cm_rep.qp_type = IB_QPT_RELIABLE_CONN;
@@ -726,6 +727,8 @@
CL_ASSERT( p_cm_req_rec );
+ if(!g_root.is_server)
+ return;
/* Record the starting time for the server. */
if( !g_root.conn_start_time )
g_root.conn_start_time = cl_get_time_stamp( );
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmtest.patch
Type: application/octet-stream
Size: 687 bytes
Desc: cmtest.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20060711/d9ccfd51/attachment.obj>
More information about the ofw
mailing list