]> 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)
commite2defd4f4c44cbc4e411fa4cc155c49ea92cc8a3
tree1ab05c304f608a742974994eba1a7a1d369cad81
parenta327b67b073891099d671a9ac794049d988a2364
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