From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mateusz Berezecki Subject: memory allocation for DMA operations from network interface Date: Sun, 27 Nov 2005 19:06:44 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Return-path: To: Linux Kernel Mailing List , netdev Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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