]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[TOOLS] fix default value in send_bw.c to prevent deadlock
authorsleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 6 Mar 2007 13:03:46 +0000 (13:03 +0000)
committersleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 6 Mar 2007 13:03:46 +0000 (13:03 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@607 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/tools/perftests/user/send_bw/send_bw.c

index 0f18e8e489e3cc7de02dec45f9b47019603d8d2b..edc2651585f71c13dfc1d77753a678e3c1a3e21b 100644 (file)
@@ -581,11 +581,6 @@ int run_iter_bi(struct pingpong_context *ctx, struct user_parameters *user_param
        ib_recv_wr_t            *bad_wr_recv;
        ib_api_status_t ib_status;
 
-       if (user_param->connection_type==UD) {
-               if (size > 2048) {
-                       size = 2048;
-               }
-       }
        /*********************************************
         * Important note :
         * In case of UD/UC this is NOT the way to measure
@@ -926,7 +921,7 @@ int __cdecl main(int argc, char *argv[])
        memset(&user_param, 0, sizeof(struct user_parameters));
        user_param.mtu = 0;
        user_param.iters = 1000;
-       user_param.tx_depth = 300;
+       user_param.tx_depth = 1000;
        user_param.servername = NULL;
        user_param.use_event = 0;
        user_param.duplex = 0;