]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc52cd179372f8016f65c2f298f7a13b3205b3b40
tree8d74fe4ee77e1f0464ed766a84d813a2d8a21d8f
parent37ae1abaa360bea0038afa5772019cf5a7db28fd
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