All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leonro@nvidia.com>
To: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
Cc: <jgg@nvidia.com>, <zyjzyj2000@gmail.com>,
	<linux-rdma@vger.kernel.org>, <liangwenpeng@huawei.com>,
	<liweihang@huawei.com>, <yishaih@nvidia.com>
Subject: Re: [PATCH 1/2] IB/uverbs: Set LENGTH on IB MR in uverbs layer
Date: Tue, 20 Sep 2022 13:58:14 +0300	[thread overview]
Message-ID: <Yymcxtp/5eJh9JtT@unreal> (raw)
In-Reply-To: <20220908090708.3997456-1-matsuda-daisuke@fujitsu.com>

On Thu, Sep 08, 2022 at 06:07:07PM +0900, Daisuke Matsuda wrote:
> Set 'length' on ib_mr in uverbs layer to let all drivers have it, this
> includes both reg/rereg MR flows. Also, this commit removes redundancy in
> each driver.
> 
> Previously, commit 04c0a5fcfcf65 ("IB/uverbs: Set IOVA on IB MR in uverbs
> layer") changed to set 'iova', but seems to have missed 'length' at that
> time.
> 
> Fixes: 04c0a5fcfcf65 ("IB/uverbs: Set IOVA on IB MR in uverbs layer")
> Signed-off-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
> ---
>  drivers/infiniband/core/uverbs_cmd.c    | 5 ++++-
>  drivers/infiniband/hw/hns/hns_roce_mr.c | 1 -
>  drivers/infiniband/hw/mlx4/mr.c         | 1 -
>  3 files changed, 4 insertions(+), 3 deletions(-)

You missed same change in ib_reg_user_mr().

Thanks

      parent reply	other threads:[~2022-09-20 10:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-08  9:07 [PATCH 1/2] IB/uverbs: Set LENGTH on IB MR in uverbs layer Daisuke Matsuda
2022-09-08  9:07 ` [PATCH 2/2] RDMA/rxe: Use members of generic struct in rxe_mr Daisuke Matsuda
2022-09-20 10:58 ` Leon Romanovsky [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=Yymcxtp/5eJh9JtT@unreal \
    --to=leonro@nvidia.com \
    --cc=jgg@nvidia.com \
    --cc=liangwenpeng@huawei.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=liweihang@huawei.com \
    --cc=matsuda-daisuke@fujitsu.com \
    --cc=yishaih@nvidia.com \
    --cc=zyjzyj2000@gmail.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 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.