mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* memory allocation for DMA operations from network interface
@ 2005-11-27 18:06 Mateusz Berezecki
  2005-11-27 18:19 ` Arjan van de Ven
  0 siblings, 1 reply; 2+ messages in thread
From: Mateusz Berezecki @ 2005-11-27 18:06 UTC (permalink / raw)
  To: Linux Kernel Mailing List, netdev

Hello List,

My question is about DMA transfers from network device. I suspect
these transfers require allocating physically contiguous memory 
blocks. What is the proper way to allocate such contiguous memory for
DMA purposes inside the kernel? Also what is the proper and
architecture independent way to convert virtual address to physical
one?


kind regards
Mateusz Berezecki

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

* Re: memory allocation for DMA operations from network interface
  2005-11-27 18:06 memory allocation for DMA operations from network interface Mateusz Berezecki
@ 2005-11-27 18:19 ` Arjan van de Ven
  0 siblings, 0 replies; 2+ messages in thread
From: Arjan van de Ven @ 2005-11-27 18:19 UTC (permalink / raw)
  To: Mateusz Berezecki; +Cc: Linux Kernel Mailing List, netdev

On Sun, 2005-11-27 at 19:06 +0100, Mateusz Berezecki wrote:
> Hello List,
> 
> My question is about DMA transfers from network device. I suspect
> these transfers require allocating physically contiguous memory 
> blocks. What is the proper way to allocate such contiguous memory for
> DMA purposes inside the kernel? Also what is the proper and
> architecture independent way to convert virtual address to physical
> one?

see Documentation/DMA-mapping.txt



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

end of thread, other threads:[~2005-11-27 18:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-27 18:06 memory allocation for DMA operations from network interface Mateusz Berezecki
2005-11-27 18:19 ` Arjan van de Ven

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

all inboxes | Powered by JetHome®