[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

[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