Re: memory allocation for DMA operations from network interface

From: Arjan van de Ven
Date: Sun Nov 27 2005 - 13:19:06 EST


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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/