Re: [PATCH rdma-rc] RDMA/umem: Set iova in ODP flow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 19 Jul 2023 12:02:41 +0300, Leon Romanovsky wrote:
> Fixing the ODP registration flow to set the iova correctly.
> The calculation in ib_umem_num_dma_blocks() function assumes the iova of
> the umem is set correctly.
> 
> When iova is not set, the calculation in ib_umem_num_dma_blocks() is
> equivalent to length/page_size, which is true only when memory is aligned.
> For unaligned memory, iova must be set for the ALIGN() in the
> ib_umem_num_dma_blocks() to take effect and return a correct value.
> 
> [...]

Applied, thanks!

[1/1] RDMA/umem: Set iova in ODP flow
      https://git.kernel.org/rdma/rdma/c/186b169cf1e4be

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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux