]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
refresh (create temporary patch)
authorSean Hefty <sean.hefty@intel.com>
Sat, 14 Aug 2010 00:42:49 +0000 (17:42 -0700)
committerSean Hefty <sean.hefty@intel.com>
Sat, 14 Aug 2010 00:42:49 +0000 (17:42 -0700)
meta
patches/refresh-temp [new file with mode: 0644]

diff --git a/meta b/meta
index 6dc0219d51eb80f07e1e97115e9f8301b5d723ac..b46412e544e53aca5b8b5f375a0a649cf98c30a5 100644 (file)
--- a/meta
+++ b/meta
@@ -1,12 +1,13 @@
 Version: 1
-Previous: b9a2e617b04f2f5874468b8cddb86a7630f38ac6
-Head: cafeeb1da77fb11cb704c50267546f8854c1c5c9
+Previous: 8063edee361d7778640c5656d357955dee3e7e4b
+Head: 28d0e8f436a722de29d61ba073b82461fcf66349
 Applied:
   sync: 452ce3b051e10e10363baa77834962a89267e052
   pre-af-ib: 73504ef1f812bea6d1fd59f194f90e5194ca2efa
   opt-pd: 408a5b12070039ac95d02f07c04a07d681859a89
   opt-cq: eb08384598a3829b40cc525aa2871e4e96817507
   max-rdma: cafeeb1da77fb11cb704c50267546f8854c1c5c9
+  refresh-temp: 28d0e8f436a722de29d61ba073b82461fcf66349
 Unapplied:
   cq-status: d4535a68c8d41302c9ee9d44b98a75ea19b4f172
   wv-rm-ioctl: 2c4f8b27f89993bc9c1215e8c358046b2934f755
diff --git a/patches/refresh-temp b/patches/refresh-temp
new file mode 100644 (file)
index 0000000..6ff8fb8
--- /dev/null
@@ -0,0 +1,33 @@
+Bottom: a112d61591167592063eaca83d29cb8d0f18d350
+Top:    60601e6b52245f274a742dc5d0aa86eef1042693
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2010-08-13 17:42:47 -0700
+
+Refresh of max-rdma
+
+---
+
+diff --git a/trunk/ulp/librdmacm/src/cma.cpp b/trunk/ulp/librdmacm/src/cma.cpp
+index d8ba0be..05c672d 100644
+--- a/trunk/ulp/librdmacm/src/cma.cpp
++++ b/trunk/ulp/librdmacm/src/cma.cpp
+@@ -748,6 +748,7 @@ static int ucma_valid_param(struct cma_id_private *id_priv,
+       if ((param->responder_resources != RDMA_MAX_RESP_RES) &&\r
+               (param->responder_resources > id_priv->cma_dev->max_responder_resources)) {\r
+               return rdma_seterrno(EINVAL);\r
++      }\r
+               \r
+       if ((param->initiator_depth != RDMA_MAX_INIT_DEPTH) &&\r
+               (param->initiator_depth > id_priv->cma_dev->max_initiator_depth)) {\r
+@@ -772,9 +773,9 @@ int rdma_connect(struct rdma_cm_id *id, struct rdma_conn_param *conn_param)
+       }\r
\r
+       id_priv->responder_resources = min(conn_param->responder_resources,\r
+-                                                                         id_priv->cma_dev->responder_resources);\r
++                                                                         id_priv->cma_dev->max_responder_resources);\r
+       id_priv->initiator_depth = min(conn_param->initiator_depth,\r
+-                                                                 id_priv->cma_dev->initiator_depth);\r
++                                                                 id_priv->cma_dev->max_initiator_depth);\r
\r
+       RtlZeroMemory(&attr, sizeof attr);\r
+       attr.ResponderResources = id_priv->responder_resources;