]> 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)
commitab82d396215a0895b9772dfca1dfb5d2c03ac68d
tree8d74fe4ee77e1f0464ed766a84d813a2d8a21d8f
parenta82c4c011433f9e7594816fbd6b97c46adc44e8f
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