Currently, erdma only supports 0-level or 1-level MTT, which limits the maximum length of MR. It fails to meet the requirements in some scenarios. Therefore, we implement hierachical MTT to support 2-level and 3-level MTT, so that users can register MRs large to 64G to erdma devices. - #1 ~ #2 make some preparations, such as renaming certain variables and refactoring the storage structure of MTT. - #3 implements the hierachical MTT. Cheng Xu (3): RDMA/erdma: Renaming variable names and field names of struct erdma_mem RDMA/erdma: Refactor the storage structure of MTT entries RDMA/erdma: Implement hierachical MTT drivers/infiniband/hw/erdma/erdma_hw.h | 18 +- drivers/infiniband/hw/erdma/erdma_qp.c | 2 +- drivers/infiniband/hw/erdma/erdma_verbs.c | 430 ++++++++++++++++------ drivers/infiniband/hw/erdma/erdma_verbs.h | 36 +- 4 files changed, 357 insertions(+), 129 deletions(-) -- 2.31.1