diff options
author | Sean Hefty <sean.hefty@intel.com> | 2008-01-04 10:47:12 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-01-25 14:15:41 -0800 |
commit | 5851bb893e5bb87150817c180ccddcf4e78db1b6 (patch) | |
tree | ce0a5e2e7b0888df4379ac3be7e75f505349f5c4 /drivers/infiniband/hw/ehca/ehca_main.c | |
parent | 1f813ca830f51ed404195750bdba86c41a8050ba (diff) | |
download | blackbird-op-linux-5851bb893e5bb87150817c180ccddcf4e78db1b6.tar.gz blackbird-op-linux-5851bb893e5bb87150817c180ccddcf4e78db1b6.zip |
RDMA/cma: 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.
For code consistency and to protect against QP destruction, restructure
overriding initiator_depth to match how responder_resources is set.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_main.c')
0 files changed, 0 insertions, 0 deletions