Re: [PATCH] RDMA/rxe: Pass a pointer to virt_to_page()

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

 



On Wed, Mar 29, 2023 at 04:28:08PM +0200, Linus Walleij wrote:

> I'm a bit puzzled: could the above code (which exist in
> three instances in the driver) even work as it is? Or is it not used?
> Or is there some failover from DMA to something else that is constantly
> happening?

The physical address dma type IB_MR_TYPE_DMA is rarely used and maybe
nobody ever tested it, at least in a configuration where kva != pa

Then again, maybe I got it wrong and it is still a kva in this case
because it is still ultimately DMA mapped when using IB_MR_TYPE_DMA?

Bob?

Jason



[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