Re: [PATCH rdma-rc] RDMA/siw: Honor the sg_offset in siw_map_mr_sg()

From: Leon Romanovsky

Date: Thu Nov 26 2026 - 03:57:23 EST



On Sun, 22 Nov 2026 14:11:28 -0500, Andrew Stellman wrote:
> siw_map_mr_sg() builds the first PBL entry from sg_dma_address() and
> sg_dma_len() of the first scatterlist entry and ignores *sg_off.
> ib_sg_to_pages() includes *sg_off in mr->iova, which siw stores as
> mem->va, so siw_pbl_get_buffer() resolves an address in the MR to a
> location *sg_off bytes before it. rdma_rw_ctx_init() passes its
> sg_offset to ib_map_mr_sg(), and isert can pass a nonzero offset.
>
> [...]

Applied, thanks!

[1/1] RDMA/siw: Honor the sg_offset in siw_map_mr_sg()
https://git.kernel.org/rdma/rdma/c/1b295d105a9bca

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>