summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorMoni Shoua <monis@mellanox.com>2017-04-16 07:31:34 +0300
committerDoug Ledford <dledford@redhat.com>2017-04-21 19:29:31 +0300
commit61c0ddbe97721d69ace947d1afa956b7646bcdc9 (patch)
treee08a58f9fcbf494e95c1a9b8a9834ce38379b670 /drivers/infiniband/hw
parente1f24a79f424ddb03828de7c0152668c9a30146e (diff)
downloadlinux-61c0ddbe97721d69ace947d1afa956b7646bcdc9.tar.xz
IB/cma: Send MRA for reply messages
Current implementation of RDMA_CM sends MRA (Message Receipt Acknowledgment) only for request messages but not for response messages. As a result, a slow active side of the connection may send a ready-to-use message to the passive side in a delay that is too long for the passive side to wait for. This patch adds a call to ib_send_cm_mra() upon receiving a response message and by this tells the other side to modify the service timeout to a bigger value, 16 times than before. As in the request case, MRA for reply will be sent only if a duplicate response has arrived. Signed-off-by: Moni Shoua <monis@mellanox.com> Reviewed-by: Matan Barak <matan@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions