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 6874D37AF for ; Tue, 28 Jun 2016 12:12:48 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 28 Jun 2016 03:12:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,541,1459839600"; d="scan'208";a="984728954" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.220.92]) by orsmga001.jf.intel.com with SMTP; 28 Jun 2016 03:12:45 -0700 Received: by (sSMTP sendmail emulation); Tue, 28 Jun 2016 11:12:45 +0025 Date: Tue, 28 Jun 2016 11:12:44 +0100 From: Bruce Richardson To: Nelson Escobar Cc: dev@dpdk.org 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 Content-Disposition: inline In-Reply-To: <1466723402-29261-1-git-send-email-neescoba@cisco.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v2] enic: fix name of hash table used for enic classifiers 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, 28 Jun 2016 10:12:48 -0000 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