RDMA/hns: Enable the cqe field of sqwqe of RC
authoroulijun <oulijun@huawei.com>
Fri, 10 Nov 2017 08:55:47 +0000 (16:55 +0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 10 Nov 2017 17:30:45 +0000 (12:30 -0500)
commita49d761fc10ee64f1d97aba0b4b6244854d288bc
treee97f7f9706cb435944eaaef67c4b4f89f6603b72
parent492b2bd0267d466845042c6f1dfff8a6bc8f871b
RDMA/hns: Enable the cqe field of sqwqe of RC

When sig_type of qpc is non-selectable, all sq's wqes will produce
cqe and not depend on the cqe attribute of wqe. When sig_type of
qpc is selectable, The cqe attribute of wqe will decide whether to
produce the cqe.

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