]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
Refresh of rstream-opt
authorSean Hefty <sean.hefty@intel.com>
Mon, 28 May 2012 17:46:37 +0000 (10:46 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 28 May 2012 17:46:37 +0000 (10:46 -0700)
examples/rstream.c

index 067b74665025a400d08a5d7433dcc2d699491fbb..6577fe13dae5e520867bcb9ef4c6296b9ea6ec5d 100644 (file)
@@ -379,12 +379,12 @@ static void set_options(int rs)
 
        if (use_rs) {
                /* Inline size based on experimental data */
-//             if (optimization == opt_latency)
-//                     val = 384;
-//             else if (optimization == opt_bandwidth)
-                       val = 32; // 0;
-//             else
-//                     val = 64;
+               if (optimization == opt_latency)
+                       val = 384;
+               else if (optimization == opt_bandwidth)
+                       val = 0;
+               else
+                       val = 64;
 
                rs_setsockopt(rs, SOL_RDMA, RDMA_INLINE, &val, sizeof val);
        }