]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
rsocket: Dedicate a fixed number of SQEs for control messages
authorSean Hefty <sean.hefty@intel.com>
Thu, 17 Apr 2014 15:37:47 +0000 (08:37 -0700)
committerSean Hefty <sean.hefty@intel.com>
Thu, 17 Apr 2014 15:37:47 +0000 (08:37 -0700)
The number of SQEs allocated for control messages is set
to 1 of 2 constant values (either 4 or 2).  A default
value is used unless the size of the SQ is below a certain
threshold (16 entries).  This results in additional code
complexity, and it is highly unlikely that the SQ would
ever be allocated smaller than 16 entries.

Simplify the code to use a single constant value for the
number of SQEs allocated for control messages.  This will
also help in subsequent patches that will need to deal
with HCAs that do not support inline data.


No differences found