From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arjan van de Ven Subject: Re: memory allocation for DMA operations from network interface Date: Sun, 27 Nov 2005 19:19:15 +0100 Message-ID: <1133115556.2853.38.camel@laptopd505.fenrus.org> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Linux Kernel Mailing List , netdev Return-path: To: Mateusz Berezecki In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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