summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ehca/ehca_main.c
diff options
context:
space:
mode:
authorSean Hefty <sean.hefty@intel.com>2008-01-04 18:47:12 (GMT)
committerRoland Dreier <rolandd@cisco.com>2008-01-25 22:15:41 (GMT)
commit5851bb893e5bb87150817c180ccddcf4e78db1b6 (patch)
treece0a5e2e7b0888df4379ac3be7e75f505349f5c4 /drivers/infiniband/hw/ehca/ehca_main.c
parent1f813ca830f51ed404195750bdba86c41a8050ba (diff)
downloadlinux-5851bb893e5bb87150817c180ccddcf4e78db1b6.tar.xz
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