From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2] enic: fix name of hash table used for enic classifiers Date: Tue, 28 Jun 2016 11:12:44 +0100 Message-ID: <20160628101244.GB22860@bricha3-MOBL3> References: <20160623112404.GF5024@bricha3-MOBL3> <1466723402-29261-1-git-send-email-neescoba@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Nelson Escobar Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 6874D37AF for ; Tue, 28 Jun 2016 12:12:48 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1466723402-29261-1-git-send-email-neescoba@cisco.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Jun 23, 2016 at 04:10:02PM -0700, Nelson Escobar wrote: > The enic_clsf_init() function is called once per enic instance, but it > used a static name to create the hash table. Consequently when using > more than one enic instance, there was a name collision which caused > errors: > > EAL: memzone_reserve_aligned_thread_unsafe(): > memzone already exists > RING: Cannot reserve memory > HASH: memory allocation failed > PMD: rte_enic_pmd: Init of hash table for clsf failed. > Flow director feature will not work > > This patch changes the name to be unique per enic instance. > > Fixes: fefed3d1e62c ("enic: new driver") > > Signed-off-by: Nelson Escobar > Reviewed-by: John Daley > --- Applied to dpdk-next-net/rel_16_07 /Bruce