linux/drivers/infiniband/hw/hns
Xi Wang 54d6638765 RDMA/hns: Optimize WQE buffer size calculating process
Optimize the QP's WQE buffer parameters calculating process to make the
codes more readable mainly by merging calculation of extended sge space of
kernel and userspace. In addition, add some inline functions to simply
codes about multi-hop addressing.

Link: https://lore.kernel.org/r/1588071823-40200-4-git-send-email-liweihang@huawei.com
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-05-06 17:26:43 -03:00
..
hns_roce_ah.c RDMA: Group create AH arguments in struct 2020-05-02 20:19:53 -03:00
hns_roce_alloc.c RDMA/hns: Remove unused MTT functions 2020-05-06 17:26:43 -03:00
hns_roce_cmd.c RDMA/hns: Optimize cmd init and mode selection for hip08 2019-09-16 10:52:20 -03:00
hns_roce_cmd.h RDMA/hns: Rename the functions used inside creating cq 2019-11-25 10:31:48 -04:00
hns_roce_common.h RDMA/hns: Remove asynchronic QP destroy 2019-04-24 10:55:31 -03:00
hns_roce_cq.c RDMA/hns: Support 0 hop addressing for CQE buffer 2020-04-22 16:22:11 -03:00
hns_roce_db.c IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00
hns_roce_device.h RDMA/hns: Optimize WQE buffer size calculating process 2020-05-06 17:26:43 -03:00
hns_roce_hem.c RDMA/hns: Remove unused MTT functions 2020-05-06 17:26:43 -03:00
hns_roce_hem.h RDMA/hns: Remove unused MTT functions 2020-05-06 17:26:43 -03:00
hns_roce_hw_v1.c RDMA/hns: Optimize PBL buffer allocation process 2020-05-06 17:26:43 -03:00
hns_roce_hw_v1.h RDMA/hns: Remove asynchronic QP destroy 2019-04-24 10:55:31 -03:00
hns_roce_hw_v2_dfx.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_hw_v2.c RDMA/hns: Optimize WQE buffer size calculating process 2020-05-06 17:26:43 -03:00
hns_roce_hw_v2.h RDMA/hns: Modify the mask of QP number for CQE of hip08 2020-03-29 11:04:21 -03:00
hns_roce_main.c RDMA/hns: Remove unused MTT functions 2020-05-06 17:26:43 -03:00
hns_roce_mr.c RDMA/hns: Remove unused MTT functions 2020-05-06 17:26:43 -03:00
hns_roce_pd.c RDMA/hns: Unify format of prints 2020-03-26 16:52:26 -03:00
hns_roce_qp.c RDMA/hns: Optimize WQE buffer size calculating process 2020-05-06 17:26:43 -03:00
hns_roce_restrack.c RDMA/hns: Fix memory leak on 'context' on error return path 2019-10-28 13:41:23 -03:00
hns_roce_srq.c RDMA/hns: Support 0 hop addressing for SRQ buffer 2020-04-22 16:21:37 -03:00
Kconfig RDMA/hns: Fix build error again 2019-10-29 16:16:54 -03:00
Makefile RDMA/hns: Fix build error again 2019-10-29 16:16:54 -03:00