From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/1] mem: get physical address of any rte_malloc buffer Date: Fri, 26 Jul 2013 16:49:09 +0200 Message-ID: <201307261649.09443.thomas.monjalon@6wind.com> References: <1374848755-5170-1-git-send-email-didier.pallard@6wind.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Didier Pallard Return-path: In-Reply-To: <1374848755-5170-1-git-send-email-didier.pallard-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 26/07/2013 16:25, Didier Pallard : > Get physical address of any rte_malloc allocated buffer using > function rte_malloc_virt2phy(addr). > The rte_memzone pointer is now stored in each allocated memory block > header to allow simple computation of physical address of a block > using the memzone it comes from. > Declaration of memzone in malloc_elem structure adds a dependency between > rte_malloc.h and rte_memory.h; test source code are modified to > include both files in correct order. > > Signed-off-by: Didier Pallard acked and applied -- Thomas