From: Sean Hefty Date: Mon, 28 May 2012 09:01:58 +0000 (-0700) Subject: Refresh of rstream-opt X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=83d383b237604b80649fac2dffc6e716043cf271;p=~shefty%2Flibrdmacm.git Refresh of rstream-opt --- diff --git a/examples/rstream.c b/examples/rstream.c index 65529abe..2a2e9372 100644 --- a/examples/rstream.c +++ b/examples/rstream.c @@ -386,7 +386,7 @@ static void set_options(int rs) else val = 64; - rs_setsockopt(rs, SOL_RDMA, RDMA_INLINE, &val, sizeof val); +// rs_setsockopt(rs, SOL_RDMA, RDMA_INLINE, &val, sizeof val); } } @@ -549,11 +549,11 @@ static int run(void) init_latency_test(test_size[i].size); run_test(); } - rs_shutdown(rs, SHUT_RDWR); - rs_close(rs); +// rs_shutdown(rs, SHUT_RDWR); +// rs_close(rs); optimization = opt_bandwidth; - ret = dst_addr ? client_connect() : server_connect(); +// ret = dst_addr ? client_connect() : server_connect(); if (ret) goto free; for (i = 0; i < TEST_CNT; i++) {