[dpdk-dev] [PATCH 1/1] mem: get physical address of any rte_malloc buffer
Thomas Monjalon
thomas.monjalon at 6wind.com
Fri Jul 26 16:49:09 CEST 2013
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 <didier.pallard at 6wind.com>
acked and applied
--
Thomas
More information about the dev
mailing list