]> git.openfabrics.org - ~shefty/librdmacm.git/commit
rsocket: Reduce SQ from 2 SGE per WR to 1 SGE
authorSean Hefty <sean.hefty@intel.com>
Thu, 24 May 2012 21:36:41 +0000 (14:36 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 28 May 2012 00:05:56 +0000 (17:05 -0700)
commitf3c9e277e786ae69f9da1105f590b5374a8c740c
treedbf2268a62da8784c6ab9033fc297c6d57babbda
parent6895cd6a4d77d7f0c212af73ff4741c5c251b9e6
rsocket: Reduce SQ from 2 SGE per WR to 1 SGE

We currently request 2 SGEs per WR when allocating a QP.  The
second SGE is only used when sending data at the end of
the circular send buffer and the start.  All other sends are
restricted to a single SGE.

Reduce the size of the SQ by only requesting 1 SGE per WR.  The
resulting performance is basically unaffected.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/rsocket.c