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)
commite8d1853357d237e6af69e384d6b05a23e3a70b93
tree1ab05c304f608a742974994eba1a7a1d369cad81
parentb5fddb7ce768a2e97dcf90614c5da4a7824bdc81
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