]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Set the owner field of SQWQE in hip08 RoCE
authoroulijun <oulijun@huawei.com>
Fri, 10 Nov 2017 08:55:51 +0000 (16:55 +0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 10 Nov 2017 17:32:02 +0000 (12:32 -0500)
commit01cc704728fc80d35493d128ee17f242caa0f4db
tree1ab05c304f608a742974994eba1a7a1d369cad81
parentef0137f3747271152c4593ea79ec9fbe3b06a8b9
RDMA/hns: Set the owner field of SQWQE in hip08 RoCE

the owner need to be set when posting sqwqe in hip08 RoCE.
The owner be used according to the below algorithm:
The value of owner should be 1 in the first lap, it
should be 0 in the second lap and in turn.

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