memzone: add iterator function
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 2 May 2014 23:42:55 +0000 (16:42 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 16 May 2014 14:02:55 +0000 (16:02 +0200)
commit58f8a1d2e30e0ee6a83e1cdb2b73990b55e5f06c
tree772e853189fa2c374bf920f0dde85aff853a770b
parente5ac7c2ff367edd807b6794dd127042e431c5b85
memzone: add iterator function

When doing diagnostic function, it is useful to have a ability
to iterate over all memzones.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_eal/common/eal_common_memzone.c
lib/librte_eal/common/include/rte_memzone.h