public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Cheng Xu <chengyou@linux.alibaba.com>
To: jgg@ziepe.ca, leon@kernel.org
Cc: linux-rdma@vger.kernel.org, KaiShen@linux.alibaba.com
Subject: [PATCH for-next 0/3] RDMA/erdma: Add hierachical MTT support
Date: Thu, 17 Aug 2023 18:21:48 +0800	[thread overview]
Message-ID: <20230817102151.75964-1-chengyou@linux.alibaba.com> (raw)

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


             reply	other threads:[~2023-08-17 10:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-17 10:21 Cheng Xu [this message]
2023-08-17 10:21 ` [PATCH for-next 1/3] RDMA/erdma: Renaming variable names and field names of struct erdma_mem Cheng Xu
2023-08-17 10:21 ` [PATCH for-next 2/3] RDMA/erdma: Refactor the storage structure of MTT entries Cheng Xu
2023-08-17 17:07   ` Leon Romanovsky
2023-08-17 10:21 ` [PATCH for-next 3/3] RDMA/erdma: Implement hierachical MTT Cheng Xu
2023-08-19 11:42 ` [PATCH for-next 0/3] RDMA/erdma: Add hierachical MTT support Leon Romanovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230817102151.75964-1-chengyou@linux.alibaba.com \
    --to=chengyou@linux.alibaba.com \
    --cc=KaiShen@linux.alibaba.com \
    --cc=jgg@ziepe.ca \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox