RDMA/hns: Update the usage of ack timeout in hip08
authoroulijun <oulijun@huawei.com>
Fri, 10 Nov 2017 08:55:49 +0000 (16:55 +0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 10 Nov 2017 17:31:34 +0000 (12:31 -0500)
commit2872646134aa5cb99f674d81c1fdb0d595243499
tree8d74fe4ee77e1f0464ed766a84d813a2d8a21d8f
parentbefb63b43df535917cd73e961e701d0b157b92d0
RDMA/hns: Update the usage of ack timeout in hip08

The ack timeout's value in qp context shall be a 5-bit value
and be assgined by users. When at of qpc is set zero, the
timer is disabled.

When attr_mask set for IB_QP_TIMEOUT, The ack timeout field
is effective.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Shaobo Xu <xushaobo2@huawei.com>
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c