]> 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>
Thu, 24 May 2012 21:25:00 +0000 (14:25 -0700)
commitbf87123a78d0abb3f350a46872f6b538dd4e62f1
treea49d0e144acdded02c6f0d1bcaf6b39d0f7c3965
parent8bb130768eb387930a7b80dd7d88019fe7d06e21
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