]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
new
authorSean Hefty <sean.hefty@intel.com>
Fri, 29 May 2015 18:24:26 +0000 (11:24 -0700)
committerSean Hefty <sean.hefty@intel.com>
Fri, 29 May 2015 18:24:26 +0000 (11:24 -0700)
meta
patches/rs-initbufs [new file with mode: 0644]

diff --git a/meta b/meta
index b5ff00eb0abd786fda6df04d59f9b3750692c0fa..f924390cc73054ffd6624914ede3af09bb4ea020 100644 (file)
--- a/meta
+++ b/meta
@@ -1,7 +1,8 @@
 Version: 1
-Previous: c8f4c584d27ec134ef030d6f65ca916e9ad9c821
-Head: 2b2aad809afc56fa3157f5cf99036f92b9c90f16
+Previous: 5233c20b81a0549178027be587001c2cd755af88
+Head: 6b31c4a76d4c1d449d6d7f8c1a3d650752f322f0
 Applied:
+  rs-initbufs: 6b31c4a76d4c1d449d6d7f8c1a3d650752f322f0
 Unapplied:
   raccept-invalid: 8d5251952074622e8be0c9828d5eb573b4a1c6d2
   old-af-ib: aaa0d9ca917c8c361a978e5a116963c2cceac5ba
diff --git a/patches/rs-initbufs b/patches/rs-initbufs
new file mode 100644 (file)
index 0000000..cb381b3
--- /dev/null
@@ -0,0 +1,26 @@
+Bottom: 3556f173e3d38cdf07e4b42632dc27ffd1a6ab1f
+Top:    3556f173e3d38cdf07e4b42632dc27ffd1a6ab1f
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2015-05-29 11:24:26 -0700
+
+rsockets: Delay initializing buffers until the inline size is known
+
+The qib HCA ignores the requested max_inline_size on input and
+instead returns the supported value on output.  As a result,
+the default inline size requested by rsockets is ignored, with 0
+being returned.  The code catches this after it creates the QP, but
+has already initialized its data buffers prior to creating the QP.
+
+The result is that the inline size used in rs_init_bufs() is larger
+than that supported by the qib device.  This causes a failure when
+attempting to update available receive buffer space.  The registered
+data buffer for the credit message is smaller than what is needed.
+
+Work-around this issue by delaying the initialization of the data
+buffers until after the QP has been created and the real size of
+the inline data is known.
+
+
+---
+
+