Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* Linux DMA address
@ 2012-07-02 11:44 Klaus Wacker
       [not found] ` <OF0BBAC7B2.370E3DEF-ONC1257A2F.003DED12-C1257A2F.00407B62-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Klaus Wacker @ 2012-07-02 11:44 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA


Hello,
in the context of ib memory management on Linux we are going to use
ib_get_dma_mr() in conjunction with ib_dma_map_single(). The
ib_dma_map_single is described as "Map a kernel virtual address to DMA
address", i have a question on the returned value "DMA address". I learned
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 not both devices write into the buffer simultaneously. 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?
Thanks for your time spending on this topic.

Kind regards
Klaus Wacker
IBM Systems &Technology Group, Systems Software Development
SW Linux on System z Dev & Service
Phone: 	+49-7031-16-3779 	 IBM Deutschland 	E-Mail:
kdwacker-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org 	 Schoenaicher Str. 220		 71032 Boeblingen,
Germany
IBM Deutschland Research & Development GmbH / Vorsitzende des
Aufsichtsrats: Martina Koederitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart,
HRB 243294

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-03 14:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-02 11:44 Linux DMA address Klaus Wacker
     [not found] ` <OF0BBAC7B2.370E3DEF-ONC1257A2F.003DED12-C1257A2F.00407B62-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2012-07-02 13:53   ` Or Gerlitz
     [not found]     ` <4FF1A7F0.10208-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2012-07-03 13:37       ` Klaus Wacker
     [not found]         ` <OF2C9BED9D.50BF4649-ONC1257A30.004A568D-C1257A30.004ADEF1-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2012-07-03 14:03           ` Or Gerlitz
2012-07-03 14:34           ` Roland Dreier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox