]> git.openfabrics.org - ~shefty/librdmacm.git/commit
rsockets: Allow user to specify the QP size
authorSean Hefty <sean.hefty@intel.com>
Fri, 18 May 2012 23:56:15 +0000 (16:56 -0700)
committerSean Hefty <sean.hefty@intel.com>
Fri, 18 May 2012 23:56:15 +0000 (16:56 -0700)
commit014d73d3406368b0c7d90e2a5a1dac5c517badca
tree232a5020b2d128a616b93f4b14bc5a527a330b7c
parent7c8fbc95903cf8f61422d7f2c58f83ba4f0b8ac4
rsockets: Allow user to specify the QP size

Add a setsockopt that allows the user to specify the desired
size of the underlying QP.  The provided size is used as the
maximum size when creating the QP.  The actual size of the QP
is the smaller of the user provided maximum and the maximum
size supported by the underlying hardware.

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

Signed-off-by: Sean Hefty <sean.hefty@intel.com>