]> 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>
Tue, 22 May 2012 00:39:50 +0000 (17:39 -0700)
commit74be234292f1d1cdafe4708c70f5664df9a43d3e
tree7789841c5305f1e6ee8dd914ee3e43bfffbb7ba3
parentf740a919d0a8db62f7ade2abd5a2ae2c30cae5da
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/rsocket.c