From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 468608E99 for ; Tue, 13 Oct 2015 16:29:56 +0200 (CEST) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1Zm0ao-0002OV-6E; Tue, 13 Oct 2015 16:30:18 +0200 Message-ID: <561D155C.8080806@6wind.com> Date: Tue, 13 Oct 2015 16:29:48 +0200 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Bruce Richardson , dev@dpdk.org References: <1443615142-24381-1-git-send-email-bruce.richardson@intel.com> <1443615142-24381-3-git-send-email-bruce.richardson@intel.com> In-Reply-To: <1443615142-24381-3-git-send-email-bruce.richardson@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 2/4] rte_ring: store memzone pointer inside ring 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, 13 Oct 2015 14:29:56 -0000 Hi Bruce, On 09/30/2015 02:12 PM, Bruce Richardson wrote: > Add a new field to the rte_ring structure to store the memzone pointer which > contains the ring. For rings created using rte_ring_create(), the field will > be set automatically. > > This new field will allow users of the ring to query the numa node a ring is > allocated on, or to get the physical address of the ring, if so needed. > > The rte_ring structure will also maintain ABI compatibility, as the > structure members, after the new one, are set to be cache line aligned, > so leaving a space. > > Signed-off-by: Bruce Richardson Acked-by: Olivier Matz