[openib-general] IB/ipath - Implement new verbs DMA mapping functions

Ralph Campbell ralph.campbell at qlogic.com
Fri Nov 3 10:09:22 PST 2006


On Fri, 2006-11-03 at 12:54 -0500, James Lentini wrote:
> Ralph,
> 
> Could you add documentation to Documentation/infiniband/ explainin 
> when a ULP needs to use the new verbs DMA mapping functions (what 
> structures/function parameters must be specified using this API)? 

Good idea.  I will.

> Did you consider creating a new type, ib_dma_addr_t, and using this 
> type for the verb structure members/function parameters that require 
> it?

I didn't really think about it since I was trying to make identical
replacements for dma_map_single(), etc. which return dma_addr_t.
That would pretty much force ib_dma_addr_t to be the same as
dma_addr_t.





More information about the general mailing list