Re: [PATCH][6/12][RFC/v1] Add IPoIB (IP-over-InfiniBand) driver
From: Christoph Hellwig <hch@infradead.org>
Date: 2004-11-22 20:04:39
From: Christoph Hellwig <hch@infradead.org>
Date: 2004-11-22 20:04:39
On Mon, Nov 22, 2004 at 10:55:21AM -0800, Roland Dreier wrote:
Christoph> That just means avoidable interface changes sooner or
Christoph> later. The dma_ interfaces also have the added benefit
Christoph> of allowing better control of the type of consistant
Christoph> allocation interface.
Is there a dma_xxx equivalent to DECLARE_PCI_UNMAP_ADDR(),
pci_unmap_addr_set() and friends, or does a driver always have to save
off the DMA address from dma_map_xxx?Good question. In pratice I can't find a case were DECLARE_PCI_UNMAP_ADDR() wouldn't simply work for dma_*, but we should probably document that somewhere.