]> git.openfabrics.org - ~shefty/librdmacm.git/commit
librdmacm/cm: override default responder_resources with user value
authorSean Hefty <sean.hefty@intel.com>
Thu, 3 Jan 2008 23:36:14 +0000 (15:36 -0800)
committerSean Hefty <sean.hefty@intel.com>
Thu, 3 Jan 2008 23:36:14 +0000 (15:36 -0800)
commit3eb99a28f41392f8555977aa12a345d251d218b3
tree47e141995106d34ea66952daa56f89bc2f9a3b72
parentafe87c16f40fe4a3622f231672737950c0ebf9fa
librdmacm/cm: override default responder_resources with user value

By default, the responder_resources parameter is set to that received
in a connection request.  The passive side may override this value
when accepting the connection.  Use the value provided by the passive
side when transitioning the QP to RTR state, rather than the value
given in the connect request.  Without this change, the RTR transition
may fail if the passive side supports fewer responder_resources than
that in the request.

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