From: Sean Hefty Date: Fri, 29 May 2015 18:24:26 +0000 (-0700) Subject: new X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=5f5a644476c8aa7fb840a78446e4ff5ebdaf2499;p=~shefty%2Flibrdmacm.git new --- diff --git a/meta b/meta index b5ff00eb..f924390c 100644 --- 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 index 00000000..cb381b3e --- /dev/null +++ b/patches/rs-initbufs @@ -0,0 +1,26 @@ +Bottom: 3556f173e3d38cdf07e4b42632dc27ffd1a6ab1f +Top: 3556f173e3d38cdf07e4b42632dc27ffd1a6ab1f +Author: Sean Hefty +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. + + +--- + +