]> git.openfabrics.org - ~shefty/librdmacm.git/commit
librdmacm/cma: provide sanity checks for max outstanding rdma ops
authorSean Hefty <sean.hefty@intel.com>
Tue, 16 Oct 2007 21:59:21 +0000 (14:59 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 16 Oct 2007 21:59:21 +0000 (14:59 -0700)
commit487a52078fe1ba322273a6b893d31e0caaa69a57
treed0f9860cb1029c5084754fcb1b291364225bc10b
parentf1dd37e143edf2f23a60a10f839466bc8e612b5a
librdmacm/cma: provide sanity checks for max outstanding rdma ops

Ensure that the responder_resources and initiator_depth values
provided by the user are supported by the local hardware.  This
traps errors sooner during connection establishment (when calling
rdma_connect), rather than waiting until the modify QP fails
(after calling rdma_accept).

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/cma.c