[dpdk-dev] [PATCH] lib: rte_*_create gives NULL/EEXIST on duped name

2015-10-21 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Wednesday, October 21, 2015 11:59 AM > To: Yoni Fogel > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] lib: rte_*_create gives NULL/EEXIST on duped > nam

[dpdk-dev] [PATCH] lib: rte_*_create gives NULL/EEXIST on duped name

2015-10-21 Thread Bruce Richardson
On Tue, Oct 20, 2015 at 01:21:37PM -0700, Yoni Fogel wrote: > Also fixed a bug in many of them where if the rte_malloc of > the TAILQ fails, then we return a pointer to some arbitrary > existing struct. > > Signed-off-by: Yoni Fogel Thanks, looks like good fixes. However, I think for fixes like

[dpdk-dev] [PATCH] lib: rte_*_create gives NULL/EEXIST on duped name

2015-10-20 Thread Yoni Fogel
Also fixed a bug in many of them where if the rte_malloc of the TAILQ fails, then we return a pointer to some arbitrary existing struct. Signed-off-by: Yoni Fogel --- lib/librte_acl/rte_acl.c | 53 +-- lib/librte_hash/rte_cuckoo_hash.c | 6 +++-- lib

[dpdk-dev] [PATCH] lib: rte_*_create gives NULL/EEXIST on duped name

2015-09-18 Thread Yoni Fogel
Also fixed a bug in many of them where if the rte_malloc of the TAILQ fails, then we return a pointer to some arbitrary existing struct. --- lib/librte_acl/rte_acl.c | 53 +-- lib/librte_hash/rte_cuckoo_hash.c | 6 +++-- lib/librte_hash/rte_fbk_hash.c