]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
dapltest: increase DTO evd size to prevent CQ overflow on limit_rpost test
authorArlin Davis <arlin.r.davis@intel.com>
Tue, 15 Apr 2014 21:48:54 +0000 (14:48 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Thu, 22 May 2014 21:57:52 +0000 (14:57 -0700)
Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
test/dapltest/test/dapl_limit.c

index 6b299fabffa60441a25ca315a400ee027a427f2f..0f3c6c1bd8b0644eab4dc067ed8055eac26b69af 100644 (file)
@@ -108,7 +108,8 @@ limit_test(DT_Tdep_Print_Head * phead, Limit_Cmd_t * cmd, Limit_Index depth)
 #undef DFLT_QLEN
 #endif
 
-#   define DFLT_QLEN     10    /* a small event queue size     */
+#   define DFLT_QLEN     10    /* a small CM event queue       */
+#   define DFLT_DTO_QLEN 1024  /* a larger DTO event queue     */
 #   define START_COUNT 1024    /* initial # handles            */
 #   define DFLT_BUFFSZ 4096    /* default size for buffer      */
 #   define CONN_QUAL0  0xAffab1e
@@ -456,7 +457,7 @@ limit_test(DT_Tdep_Print_Head * phead, Limit_Cmd_t * cmd, Limit_Index depth)
                }
                for (w = 0; w < cmd->width; w++) {
                        ret = DT_Tdep_evd_create(hdl_sets[w].ia_handle,
-                                                DFLT_QLEN,
+                                                DFLT_DTO_QLEN,
                                                 hdl_sets[w].cno_handle,
                                                 flags,
                                                 &hdl_sets[w].evd_handle);