Re: [PATCH rdma-rc] RDMA/rxe: Fix the copy offsets in __rxe_odp_mr_copy()

From: Leon Romanovsky

Date: Wed Nov 25 2026 - 07:32:35 EST



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@xxxxxxxxxx>