From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A58B2374E for ; Tue, 27 Oct 2015 12:38:35 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 27 Oct 2015 04:38:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,204,1444719600"; d="scan'208";a="836043200" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.208.66]) by orsmga002.jf.intel.com with SMTP; 27 Oct 2015 04:38:32 -0700 Received: by (sSMTP sendmail emulation); Tue, 27 Oct 2015 11:38:32 +0025 Date: Tue, 27 Oct 2015 11:38:32 +0000 From: Bruce Richardson To: Pablo de Lara Message-ID: <20151027113831.GA9636@bricha3-MOBL3> References: <1443802033-245423-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1443802033-245423-1-git-send-email-pablo.de.lara.guarch@intel.com> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] hash: free internal ring when freeing hash 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, 27 Oct 2015 11:38:36 -0000 On Fri, Oct 02, 2015 at 05:07:13PM +0100, Pablo de Lara wrote: > Since freeing a ring is now possible, then when freeing > a hash table, its internal ring can be freed as well. > Therefore when a new table, with the same name as a previously > freed table, is created, there is no need to look up > the already allocated ring. > > Signed-off-by: Pablo de Lara Acked-by: Bruce Richardson