memory allocation for DMA operations from network interface

2 messages, 2 authors, 2005-11-27 · open the first message on its own page

memory allocation for DMA operations from network interface

From: Mateusz Berezecki <hidden>
Date: 2005-11-27 18:06:47

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

Re: memory allocation for DMA operations from network interface

From: Arjan van de Ven <hidden>
Date: 2005-11-27 18:19:20

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help