RDMA/qedr: fix QP's ack timeout configuration
authorKalderon, Michal <Michal.Kalderon@cavium.com>
Wed, 21 Mar 2018 12:51:50 +0000 (14:51 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 21 Mar 2018 20:38:41 +0000 (14:38 -0600)
commitc3594f22302cca5e924e47ec1cc8edd265708f41
tree6dd9d2cd76fb2008e2fda83b3937d68ac823cc1f
parent5f3e3b85cc0a5eae1c46d72e47d3de7bf208d9e2
RDMA/qedr: fix QP's ack timeout configuration

QPs that were configured with ack timeout value lower than 1
msec will not implement re-transmission timeout.
This means that if a packet / ACK were dropped, the QP
will not retransmit this packet.

This can lead to an application hang.

Fixes: cecbcddf6 ("qedr: Add support for QP verbs")
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/qedr/verbs.c