]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
refresh (create temporary patch)
authorSean Hefty <sean.hefty@intel.com>
Mon, 28 May 2012 08:47:55 +0000 (01:47 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 28 May 2012 08:47:55 +0000 (01:47 -0700)
meta
patches/refresh-temp [new file with mode: 0644]

diff --git a/meta b/meta
index 4328b63634154a75425d24d76de2e1a777bc07c5..54dd21f8ce214bf6ac786da55079f1d1174102cc 100644 (file)
--- a/meta
+++ b/meta
@@ -1,6 +1,6 @@
 Version: 1
-Previous: 10c749b13b62c9ca0db3e28519d1b4dfe4dec03a
-Head: d0ab04bfcc3d81078036ac785d88af71bad12f78
+Previous: 205b764b41e93cbc67d37d5eff759886521fdfba
+Head: 38c4a06ecb8743f37b40dfde4c63b1d8492c9f45
 Applied:
   destroy_cqs: 66410c265b2661e16b7f6126bcc4ea5c7e1af1bd
   conn-err: ac46465ae6061b06f005ba9b49b371c9eb0d2325
@@ -17,6 +17,7 @@ Applied:
   rs-def-qpsize: 0fbd81e6a091a33b273e841b5c89414f52519adb
   rstream-bufsize: c6faa18bc246817c759475f4b44221555a4e892b
   rstream-opt: d0ab04bfcc3d81078036ac785d88af71bad12f78
+  refresh-temp: 38c4a06ecb8743f37b40dfde4c63b1d8492c9f45
 Unapplied:
   rs-1sge: 85e4c4a0da0b501b60a1035d7a003ee20a749511
   rs-def-inline: 6ad70d3b80178e40fea97f662a6b31e51cddc0af
diff --git a/patches/refresh-temp b/patches/refresh-temp
new file mode 100644 (file)
index 0000000..b293657
--- /dev/null
@@ -0,0 +1,35 @@
+Bottom: 23ea717380e9724145efbafcb81d1f6498f3c19c
+Top:    bd11f606feed611373ef6b7818eefe33c92cc6f5
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2012-05-28 01:47:54 -0700
+
+Refresh of rstream-opt
+
+---
+
+diff --git a/examples/rstream.c b/examples/rstream.c
+index ae4574b..65529ab 100644
+--- a/examples/rstream.c
++++ b/examples/rstream.c
+@@ -365,11 +365,11 @@ static void set_options(int rs)
+                             sizeof buffer_size);
+               rs_setsockopt(rs, SOL_SOCKET, SO_RCVBUF, (void *) &buffer_size,
+                             sizeof buffer_size);
+-      } else if (optimization == opt_bandwidth) {
++      } /* else if (optimization == opt_bandwidth) {
+               val = 1 << 20;
+               rs_setsockopt(rs, SOL_SOCKET, SO_SNDBUF, (void *) &val, sizeof val);
+               rs_setsockopt(rs, SOL_SOCKET, SO_RCVBUF, (void *) &val, sizeof val);
+-      }
++      } */
+       val = 1;
+       rs_setsockopt(rs, IPPROTO_TCP, TCP_NODELAY, (void *) &val, sizeof(val));
+@@ -382,7 +382,7 @@ static void set_options(int rs)
+               if (optimization == opt_latency)
+                       val = 384;
+               else if (optimization == opt_bandwidth)
+-                      val = 0;
++                      val = 32; // 0;
+               else
+                       val = 64;