numam-dpdk/doc/guides
Olivier Matz 1aadacb5b0 hash: fix allocation of an existing object
Change rte_hash*_create() functions to return NULL and set rte_errno to
EEXIST when the object name already exists. This is the behavior
described in the API documentation in the header file.

These functions were returning a pointer to the existing object in that
case, but it is a problem as the caller did not know if the object had
to be freed or not.

Doing this change also makes the hash API more consistent with the other
APIs (mempool, rings, ...).

Fixes: 916e4f4f4e ("memory: fix for multi process support")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2016-04-06 17:30:48 +02:00
..
contributing mk: replace the combined library with a linker script 2016-03-01 14:37:27 +01:00
cryptodevs qat: add out-of-place symmetric operations 2016-03-31 21:49:26 +02:00
faq doc: remove DPDK from guide titles 2015-12-17 16:02:26 +01:00
freebsd_gsg doc: fix -n option in FreeBSD guide 2015-12-15 15:04:39 +01:00
linux_gsg igb_uio: deprecate extended tag 2016-03-09 01:51:01 +01:00
nics doc: fill nics features matrix for virtio 2016-04-06 11:08:42 +02:00
prog_guide hash: fix multi-process support 2016-04-01 18:56:27 +02:00
rel_notes hash: fix allocation of an existing object 2016-04-06 17:30:48 +02:00
sample_app_ug examples/l3fwd: fix using packet type blindly 2016-03-25 19:53:00 +01:00
testpmd_app_ug ethdev: add 100G link speed 2016-04-01 21:38:34 +02:00
xen doc: clean up index files 2015-12-15 13:50:42 +01:00
conf.py doc: fix navigation levels in html sidebar of guides 2016-01-16 09:16:56 +01:00
index.rst doc: fix navigation levels in html sidebar of guides 2016-01-16 09:16:56 +01:00