]> 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:28:42 +0000 (01:28 -0700)
commit7a864c043ccadf0a1279309ca25bb86afc9c59d6
tree72f7a43b64f1274756d81e397fc2c110bf58532b
parent9068972ca69cfb2ad74c8d69641437a95bfb0e28
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