]> git.openfabrics.org - ~shefty/librdmacm.git/commit
rsockets: Allow user to specify the QP sizes
authorSean Hefty <sean.hefty@intel.com>
Fri, 18 May 2012 23:56:15 +0000 (16:56 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 28 May 2012 08:30:12 +0000 (01:30 -0700)
commit85dc4bf0936707526ecb0a52f419d6246f741f4d
treed6e483e384b1e66d2256c915ea3dd959ff2f0f89
parent07f689f1d2f7a5fcea5ba5b69eaa221fc5e7f476
rsockets: Allow user to specify the QP sizes

Add setsockopt options that allow the user to specify the desired
size of the underlying QP.  The provided sizes are used as the
maximum size when creating the QP.  The actual sizes of the QP
are the smaller of the user provided maximum and the maximum
sizes supported by the underlying hardware.

A user may retrieve the actual sizes of the QP through the
getsockopt call.

The send and receive queue sizes are specified separately.

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