]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
refresh (create temporary patch)
authorSean Hefty <sean.hefty@intel.com>
Wed, 3 Oct 2012 22:13:26 +0000 (15:13 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 3 Oct 2012 22:13:26 +0000 (15:13 -0700)
meta
patches/refresh-temp [new file with mode: 0644]

diff --git a/meta b/meta
index df460206132c206f9c554b6d8a0a22fdc4c634ae..bebbeedd6d566116b57ef9da700ed2d97dcf2339 100644 (file)
--- a/meta
+++ b/meta
@@ -1,8 +1,9 @@
 Version: 1
-Previous: 7b7abf312239f7061d2e5965a918c796a7b63e87
-Head: da07c3e69841494fbf5749660082a2f8dd48bdf0
+Previous: b5440711d90e1a922ed08b680d1c10d5d0765460
+Head: 960881c4a1473e6ae7bb2fb69b6712ba817d2cb7
 Applied:
   rping: da07c3e69841494fbf5749660082a2f8dd48bdf0
+  refresh-temp: 960881c4a1473e6ae7bb2fb69b6712ba817d2cb7
 Unapplied:
   cont_of: 3c70a581f12975b49cd1aac0236f09c6b8fb9950
   af-ib-conn: 5ce5f56950e0ed453c1798aedfa717bd18a2a754
diff --git a/patches/refresh-temp b/patches/refresh-temp
new file mode 100644 (file)
index 0000000..e27687e
--- /dev/null
@@ -0,0 +1,40 @@
+Bottom: fd25e5104198197967ac10d49db6570c49bf661c
+Top:    cf9695fcbeea51e0388858a8b307228c9fdaaa42
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2012-10-03 15:13:26 -0700
+
+Refresh of rping
+
+---
+
+diff --git a/examples/rping.c b/examples/rping.c
+index 785338e..32bd70a 100644
+--- a/examples/rping.c
++++ b/examples/rping.c
+@@ -342,16 +342,11 @@ error:
+ static int rping_accept(struct rping_cb *cb)
+ {
+-      struct rdma_conn_param conn_param;
+       int ret;
+       DEBUG_LOG("accepting client connection request\n");
+-      memset(&conn_param, 0, sizeof conn_param);
+-      conn_param.responder_resources = 1;
+-      conn_param.initiator_depth = 1;
+-
+-      ret = rdma_accept(cb->child_cm_id, &conn_param);
++      ret = rdma_accept(cb->child_cm_id, NULL);
+       if (ret) {
+               perror("rdma_accept");
+               return ret;
+@@ -975,7 +970,7 @@ static int rping_connect_client(struct rping_cb *cb)
+       memset(&conn_param, 0, sizeof conn_param);
+       conn_param.responder_resources = 1;
+       conn_param.initiator_depth = 1;
+-      conn_param.retry_count = 10;
++      conn_param.retry_count = 7;
+       ret = rdma_connect(cb->cm_id, &conn_param);
+       if (ret) {