On Fri, 14 Apr 2023 10:58:29 -0300, Jason Gunthorpe wrote: > Make it clearer what is going on by adding a function to go back from the > "virtual" dma_addr to a kva and another to a struct page. This is used in the > ib_uses_virt_dma() style drivers (siw, rxe, hfi, qib). > > Call them instead of a naked casting and virt_to_page() when working with dma_addr > values encoded by the various ib_map functions. > > [...] Applied, thanks! [1/1] RDMA: Add ib_virt_dma_to_page() https://git.kernel.org/rdma/rdma/c/8d7c7c0eeb7428 Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>