numam-dpdk/lib/librte_lpm
Pavan Nikhilesh fc29c712dd lpm: fix allocation of an existing object
Fix rte_lpm_create_*() functions to return NULL and set rte_errno to
EEXIST when lpm object name already exists.
This is the behavior described in the API documentation in the header
file.

Fixes: 134975073a ("lib: remove unnecessary pointer cast")

Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Acked-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-02-01 00:35:06 +01:00
..
Makefile lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build build: set compat lib as universal dependency 2018-01-30 21:59:00 +01:00
rte_lpm6.c lib: remove unnecessary pointer cast 2018-01-16 01:53:35 +01:00
rte_lpm6.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_lpm_altivec.h
rte_lpm_neon.h update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
rte_lpm_sse.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_lpm_version.map
rte_lpm.c lpm: fix allocation of an existing object 2018-02-01 00:35:06 +01:00
rte_lpm.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00