RDMA/erdma: Refactor the storage structure of MTT entries
authorCheng Xu <chengyou@linux.alibaba.com>
Thu, 17 Aug 2023 10:21:50 +0000 (18:21 +0800)
committerLeon Romanovsky <leon@kernel.org>
Sat, 19 Aug 2023 11:40:30 +0000 (14:40 +0300)
commit7244b4aa4221d7b8d59b6ca5a97c7073b2802f10
tree343a98f4d8af00bee4141f6c7938f7435b707d7b
parentd7cfbba90b8015bfd76b5da69ee5debbae8b7000
RDMA/erdma: Refactor the storage structure of MTT entries

Currently our MTT only support inline mtt entries (0 level MTT) and
indirect MTT entries (1 level mtt), which will limit the maximum length
of MRs. In order to implement a multi-level MTT, we refactor the
structure of MTT first.

Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230817102151.75964-3-chengyou@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/erdma/erdma_hw.h
drivers/infiniband/hw/erdma/erdma_qp.c
drivers/infiniband/hw/erdma/erdma_verbs.c
drivers/infiniband/hw/erdma/erdma_verbs.h