OSDN Git Service

RDMA/hns: Set sq_cur_sge_blk_addr field in QPC in hip08
authoroulijun <oulijun@huawei.com>
Fri, 10 Nov 2017 08:55:48 +0000 (16:55 +0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 10 Nov 2017 17:31:25 +0000 (12:31 -0500)
commitbefb63b43df535917cd73e961e701d0b157b92d0
tree889033070f080b7655f4cf7011e8c9f9e0cc8f64
parenta49d761fc10ee64f1d97aba0b4b6244854d288bc
RDMA/hns: Set sq_cur_sge_blk_addr field in QPC in hip08

If the extend sges exist, the sq_cur_sge_blk_addr field in QPC
(qp context) should be configured.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Shaobo Xu <xushaobo2@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@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
drivers/infiniband/hw/hns/hns_roce_hw_v2.h