On Tue, Jul 3, 2012 at 6:37 AM, Klaus Wacker wrote:
> 1.) Is it possible/allowed to call ib_dma_map_single() on Linux, same
> buffer address, size and dma_data direction, for two different ib devices?
Yes, this should be no problem.
> 2.) If this is possible, will the returned dma_addresses be t
> Let me stress this once again...
> 1.) Is it possible/allowed to call ib_dma_map_single() on Linux, same
> buffer address, size and dma_data direction, for two different ib devices?
> For the data transmission we will have controls in place that not both
> devices write at the same time into that
--|
|>
| Subject: |
|>
>-----------
On 7/2/2012 2:44 PM, Klaus Wacker wrote:
[...] So whats the nature of the returned DMA address of ib_dma_map_single and
can we
assume that it is the same value on different devices on one system?
Currently, over all IB drivers/devices except for ipath and qib,
ib_dma_map_single is just plain
arned
somewhere that DMA address is not necessarily a 64-bit real address.
When we call ib_dma_map_single() with same buffer-address, size and
dma_data_direction, but with different ib_devs. Would that generate the
same Linux DMA address on all ib devices? Sure we will have controls in
place that no