[openib-general] Re: use of virt_to_phys in sdp

Roland Dreier roland at topspin.com
Fri May 13 10:23:44 PDT 2005


    Libor>   It is incorrect. The regular send/recv path uses the DMA
    Libor> API correctly, but RDMA to internal buffers on both the
    Libor> send and receive path is still using plain old
    Libor> virt_to_phys. Also, does FMR map/unmap use the DMA API, or
    Libor> does that need to be taken care of as well?

The FMR verbs functions just take the addresses passed in by the
consumer and write them directly into the HCA's page table.  So the
consumer needs to use the DMA API to get bus addresses.

 - R.



More information about the general mailing list