mbox series

[v2,for-next,0/6] RDMA/hns: Improvement for multi-level addressing

Message ID 20240113085935.2838701-1-huangjunxian6@hisilicon.com (mailing list archive)
Headers show
Series RDMA/hns: Improvement for multi-level addressing | expand

Message

Junxian Huang Jan. 13, 2024, 8:59 a.m. UTC
This series optimizes multi-level addressing for hns.

Patch #1, #2 and #6 are optimization of multi-level addressing codes.

Patch #3 is prepared for the following optimizations.

Patch #4 and #5 introduce adaptive pagesize and hopnum to improve HW
performance.

v1 -> v2:
* Remove the kmem page size modification in patch #4. Only adjust page
  size for umem.

Chengchang Tang (5):
  RDMA/hns: Refactor mtr find
  RDMA/hns: Refactor mtr_init_buf_cfg()
  RDMA/hns: Alloc MTR memory before alloc_mtt()
  RDMA/hns: Support flexible umem page size
  RDMA/hns: Support adaptive PBL hopnum

Yunsheng Lin (1):
  RDMA/hns: Simplify 'struct hns_roce_hem' allocation

 drivers/infiniband/hw/hns/hns_roce_cq.c     |  11 +-
 drivers/infiniband/hw/hns/hns_roce_device.h |  16 +-
 drivers/infiniband/hw/hns/hns_roce_hem.c    |  95 ++----
 drivers/infiniband/hw/hns/hns_roce_hem.h    |  56 +---
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 111 ++++---
 drivers/infiniband/hw/hns/hns_roce_mr.c     | 339 ++++++++++++++------
 6 files changed, 339 insertions(+), 289 deletions(-)

--
2.30.0

Comments

Leon Romanovsky Jan. 25, 2024, 9:54 a.m. UTC | #1
On Sat, 13 Jan 2024 16:59:29 +0800, Junxian Huang wrote:
> This series optimizes multi-level addressing for hns.
> 
> Patch #1, #2 and #6 are optimization of multi-level addressing codes.
> 
> Patch #3 is prepared for the following optimizations.
> 
> Patch #4 and #5 introduce adaptive pagesize and hopnum to improve HW
> performance.
> 
> [...]

Applied, thanks!

[1/6] RDMA/hns: Refactor mtr find
      https://git.kernel.org/rdma/rdma/c/a4ca341080758d
[2/6] RDMA/hns: Refactor mtr_init_buf_cfg()
      https://git.kernel.org/rdma/rdma/c/4f5731b1fb2246
[3/6] RDMA/hns: Alloc MTR memory before alloc_mtt()
      https://git.kernel.org/rdma/rdma/c/6afc859518319d
[4/6] RDMA/hns: Support flexible umem page size
      https://git.kernel.org/rdma/rdma/c/0ff6c9779aafc2
[5/6] RDMA/hns: Support adaptive PBL hopnum
      https://git.kernel.org/rdma/rdma/c/2eb999b3d40ff8
[6/6] RDMA/hns: Simplify 'struct hns_roce_hem' allocation
      https://git.kernel.org/rdma/rdma/c/c00743cbf2b8f7

Best regards,