From: Leon Romanovsky <leon@kernel.org>
To: Doug Ledford <dledford@redhat.com>, Jason Gunthorpe <jgg@nvidia.com>
Cc: Leon Romanovsky <leonro@nvidia.com>,
linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org
Subject: [PATCH rdma-next 0/5] Use ib_umem_find_best_pgsz() when creating MRs
Date: Mon, 26 Oct 2020 15:23:09 +0200 [thread overview]
Message-ID: <20201026132314.1336717-1-leon@kernel.org> (raw)
From: Leon Romanovsky <leonro@nvidia.com>
From Jason:
The new common code does a better job finding large page sizes. Use it in
mlx5 for MRs.
This requires moving the MTT population for mailboxes and UMR over to
rdma_for_each_dma_block().
Thanks
Jason Gunthorpe (5):
RDMA/mlx5: Change mlx5_ib_populate_pas() to use rdma_for_each_block()
RDMA/mlx5: Move xlt_emergency_page_mutex into mr.c
RDMA/mlx5: Split the WR setup out of mlx5_ib_update_xlt()
RDMA/mlx5: Split mlx5_ib_update_xlt() into ODP and non-ODP cases
RDMA/mlx5: Use ib_umem_find_best_pgsz() for mkc's
drivers/infiniband/core/umem.c | 9 +
drivers/infiniband/hw/mlx5/cq.c | 6 +-
drivers/infiniband/hw/mlx5/devx.c | 4 +-
drivers/infiniband/hw/mlx5/main.c | 26 +-
drivers/infiniband/hw/mlx5/mem.c | 73 +-----
drivers/infiniband/hw/mlx5/mlx5_ib.h | 37 ++-
drivers/infiniband/hw/mlx5/mr.c | 364 ++++++++++++++++++---------
drivers/infiniband/hw/mlx5/qp.c | 6 +-
drivers/infiniband/hw/mlx5/srq.c | 2 +-
9 files changed, 312 insertions(+), 215 deletions(-)
--
2.26.2
next reply other threads:[~2020-10-26 13:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-26 13:23 Leon Romanovsky [this message]
2020-10-26 13:23 ` [PATCH rdma-next 1/5] RDMA/mlx5: Change mlx5_ib_populate_pas() to use rdma_for_each_block() Leon Romanovsky
2020-10-26 13:23 ` [PATCH rdma-next 2/5] RDMA/mlx5: Move xlt_emergency_page_mutex into mr.c Leon Romanovsky
2020-10-26 13:23 ` [PATCH rdma-next 3/5] RDMA/mlx5: Split the WR setup out of mlx5_ib_update_xlt() Leon Romanovsky
2020-10-26 13:23 ` [PATCH rdma-next 4/5] RDMA/mlx5: Split mlx5_ib_update_xlt() into ODP and non-ODP cases Leon Romanovsky
2020-10-29 12:33 ` Jason Gunthorpe
2020-10-26 13:23 ` [PATCH rdma-next 5/5] RDMA/mlx5: Use ib_umem_find_best_pgsz() for mkc's Leon Romanovsky
2020-11-02 19:11 ` [PATCH rdma-next 0/5] Use ib_umem_find_best_pgsz() when creating MRs Jason Gunthorpe
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=20201026132314.1336717-1-leon@kernel.org \
--to=leon@kernel.org \
--cc=dledford@redhat.com \
--cc=jgg@nvidia.com \
--cc=leonro@nvidia.com \
--cc=linux-kernel@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.