[dpdk-dev] [PATCH 4/5] memzone: add iterator function

Stephen Hemminger stephen at networkplumber.org
Wed May 7 18:33:43 CEST 2014


On Tue, 6 May 2014 09:17:46 +0000
"Burakov, Anatoly" <anatoly.burakov at intel.com> wrote:

> Hi Stephen,
> 
> > When doing diagnostic function, it is useful to have a ability to iterate over all
> > memzones.
> > 
> 
> You can already access all memzones through rte_eal_get_configuration()->mem_config.memzone[idx].
> 
> Best regards,
> Anatoly Burakov
> DPDK SW Engineer
> 

Yes you can look at memzone[idx] to look at individual zones, but there
is no thread safe way to iterate.


More information about the dev mailing list