mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Zhu Yanjun <zyjzyj2000@gmail.com>,
	 Andrew Stellman <astellman@stellman-greene.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>, Zhu Yanjun <yanjun.zhu@linux.dev>,
	 Daisuke Matsuda <matsuda@preferred.jp>,
	Daisuke Matsuda <dskmtsd@gmail.com>,
	 linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH rdma-rc] RDMA/rxe: Fix the copy offsets in __rxe_odp_mr_copy()
Date: Wed, 25 Nov 2026 07:32:24 -0500	[thread overview]
Message-ID: <179560994458.1211799.13917205332984308475.b4-ty@kernel.org> (raw)
In-Reply-To: <20261122003712.91551-1-astellman@stellman-greene.com>


On Sat, 21 Nov 2026 19:37:11 -0500, Andrew Stellman wrote:
> __rxe_odp_mr_copy() maps each page it copies and copies to or from the
> start of that page. It uses the offset of iova in the first page only
> to size the first copy, not to find where in the page to copy, and it
> does not advance addr after each page, so each page is copied between
> the start of that page and the start of addr.
> 
> Tested as root on rxe loopback (path MTU 1024), three runs, with an
> ODP MR registered 100 bytes into a page:
> 
> [...]

Applied, thanks!

[1/1] RDMA/rxe: Fix the copy offsets in __rxe_odp_mr_copy()
      https://git.kernel.org/rdma/rdma/c/53598d569e5509

Best regards,
-- 
Leon Romanovsky <leon@kernel.org>


      reply	other threads:[~2026-11-25 12:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22  0:37 Andrew Stellman
2026-11-25 12:32 ` 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=179560994458.1211799.13917205332984308475.b4-ty@kernel.org \
    --to=leon@kernel.org \
    --cc=astellman@stellman-greene.com \
    --cc=dskmtsd@gmail.com \
    --cc=jgg@ziepe.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=matsuda@preferred.jp \
    --cc=yanjun.zhu@linux.dev \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®