[openib-general] [PATCH] ib_mad.c: Fix request/response matching
Grant Grundler
Tue Oct 5 13:51:37 PDT 2004
On Tue, Oct 05, 2004 at 04:33:39PM -0400, Hal Rosenstock wrote:
> Good point. We will need more than access to the TID for RMPP. We need a
> replacement for bus_to_virt. Is there an "approved" way to get from DMA
> address to VA ?
Yes, pci_map_*. See Documentation/DMA-mapping.txt. The caller needs to
save the DMA address to program it into HW and to call the pci_unmap_XXX()
interfaces.
No, if you mean does the OS support reverse lookups (return any DMA
mapping associated with a given Virtual address).
grant
More information about the openib-general mailing list