From 83dd383d7c49956cca8e587f98a1f819460e5169 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Mon, 28 May 2012 10:46:37 -0700 Subject: [PATCH] Refresh of rstream-opt --- examples/rstream.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/rstream.c b/examples/rstream.c index 067b7466..6577fe13 100644 --- a/examples/rstream.c +++ b/examples/rstream.c @@ -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); } -- 2.45.2