]> 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 22:25:26 +0000 (15:25 -0700)
commitd2e681f3bf440d01d526262c53504ef6d4758539
tree16a8e9dc8e491e8a1acc2dd1277c10368616ae9b
parentb8f05919dd1522e7298c6e94ea100671c4fb2f17
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