From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id C181FB0BC for ; Tue, 6 May 2014 11:18:08 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 06 May 2014 02:18:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,996,1389772800"; d="scan'208";a="535358505" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga002.jf.intel.com with ESMTP; 06 May 2014 02:17:57 -0700 Received: from irsmsx106.ger.corp.intel.com (163.33.3.31) by IRSMSX102.ger.corp.intel.com (163.33.3.155) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 6 May 2014 10:17:47 +0100 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.249]) by IRSMSX106.ger.corp.intel.com ([169.254.8.28]) with mapi id 14.03.0123.003; Tue, 6 May 2014 10:17:47 +0100 From: "Burakov, Anatoly" To: Stephen Hemminger , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 4/5] memzone: add iterator function Thread-Index: AQHPZmCJGrnjSM0vJU2k332UzbBygJszSXBQ Date: Tue, 6 May 2014 09:17:46 +0000 Message-ID: References: <20140502234251.707598579@vyatta.com> <20140502234406.153584277@vyatta.com> In-Reply-To: <20140502234406.153584277@vyatta.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 4/5] memzone: add iterator function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 09:18:09 -0000 Hi Stephen, > When doing diagnostic function, it is useful to have a ability to iterate= over all > memzones. >=20 You can already access all memzones through rte_eal_get_configuration()->me= m_config.memzone[idx]. Best regards, Anatoly Burakov DPDK SW Engineer