]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
Refresh of rs-iwarp
authorSean Hefty <sean.hefty@intel.com>
Fri, 26 Apr 2013 19:25:56 +0000 (12:25 -0700)
committerSean Hefty <sean.hefty@intel.com>
Fri, 26 Apr 2013 19:25:56 +0000 (12:25 -0700)
src/rsocket.c

index 0d84d02f60bbb6184748ad7ed1fdb43e035308f4..abdd392ed215955dc1c84597b370ee4f8f2d8953 100644 (file)
@@ -1250,6 +1250,9 @@ do_connect:
                param.flow_control = 1;
                param.retry_count = 7;
                param.rnr_retry_count = 7;
+               /* work-around: iWarp issues RDMA read during connection */
+               if (rs->opts & RS_OPT_MSG_SEND)
+                       param.initiator_depth = 1;
                rs->retries = 0;
 
                ret = rdma_connect(rs->cm_id, &param);