[dpdk-dev] [PATCH v2] enic: fix name of hash table used for enic classifiers

Bruce Richardson bruce.richardson at intel.com
Tue Jun 28 12:12:44 CEST 2016


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<RG_HT_enicpmd_clsf_hash> 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 <neescoba at cisco.com>
> Reviewed-by: John Daley <johndale at cisco.com>
> ---

Applied to dpdk-next-net/rel_16_07

/Bruce


More information about the dev mailing list