linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Weihang Li <liweihang@huawei.com>
Cc: <dledford@redhat.com>, <leon@kernel.org>,
	<linux-rdma@vger.kernel.org>, <linuxarm@huawei.com>
Subject: Re: [PATCH for-next] RDMA/hns: Optimize MTR level-0 addressing to access huge page
Date: Tue, 7 Jul 2020 13:34:27 -0300	[thread overview]
Message-ID: <20200707163427.GB1381043@nvidia.com> (raw)
In-Reply-To: <1593525696-12570-1-git-send-email-liweihang@huawei.com>

On Tue, Jun 30, 2020 at 10:01:36PM +0800, Weihang Li wrote:
> From: Xi Wang <wangxi11@huawei.com>
> 
> If hns ROCEE is set to level-0 addressing, the length of the entire buffer
> can be used as the page size. The driver needn't to split the buffer into
> small units because all pages are continuous.
> 
> Signed-off-by: Xi Wang <wangxi11@huawei.com>
> Signed-off-by: Weihang Li <liweihang@huawei.com>
> ---
>  drivers/infiniband/hw/hns/hns_roce_device.h |  20 +--
>  drivers/infiniband/hw/hns/hns_roce_hw_v1.c  |   7 +-
>  drivers/infiniband/hw/hns/hns_roce_hw_v2.c  |  44 +-----
>  drivers/infiniband/hw/hns/hns_roce_mr.c     | 208 +++++++++++++++++-----------
>  4 files changed, 147 insertions(+), 132 deletions(-)

Applied to for-next, thanks

Jason

      reply	other threads:[~2020-07-07 16:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-30 14:01 [PATCH for-next] RDMA/hns: Optimize MTR level-0 addressing to access huge page Weihang Li
2020-07-07 16:34 ` Jason Gunthorpe [this message]

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=20200707163427.GB1381043@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=dledford@redhat.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=liweihang@huawei.com \
    /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;
as well as URLs for NNTP newsgroup(s).