From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH 4/5] memzone: add iterator function Date: Wed, 7 May 2014 09:33:43 -0700 Message-ID: <20140507093343.3076b6b5@nehalam.linuxnetplumber.net> References: <20140502234251.707598579@vyatta.com> <20140502234406.153584277@vyatta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev-VfR2kkLFssw@public.gmane.org" To: "Burakov, Anatoly" Return-path: In-Reply-To: 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" On Tue, 6 May 2014 09:17:46 +0000 "Burakov, Anatoly" 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.