OSDN Git Service

RDMA/hns: Support WQE/CQE/PBL page size configurable feature in hip08
authorWei Hu(Xavier) <xavier.huwei@huawei.com>
Wed, 18 Oct 2017 09:32:44 +0000 (17:32 +0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 25 Oct 2017 17:37:07 +0000 (13:37 -0400)
commit9a8982dc89484e1144176bf4f5f35110f6c3414c
tree51d05335d942c343680fe5338b95d875dcdaaee7
parentb9595c5bac87af09cc3e82553244893b76632df6
RDMA/hns: Support WQE/CQE/PBL page size configurable feature in hip08

This patch updates to support WQE, CQE and PBL page size configurable
feature, which includes base address page size and buffer page size.

Signed-off-by: Shaobo Xu <xushaobo2@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_alloc.c
drivers/infiniband/hw/hns/hns_roce_cq.c
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_mr.c
drivers/infiniband/hw/hns/hns_roce_qp.c