[dpdk-dev] [PATCH 1/1] mem: get physical address of any rte_malloc buffer

2013-07-26 Thread Thomas Monjalon
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

[dpdk-dev] [PATCH 1/1] mem: get physical address of any rte_malloc buffer

2013-07-26 Thread 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_