hash: fix doc about thread/process safety
authorYipeng Wang <yipeng1.wang@intel.com>
Mon, 29 Apr 2019 09:40:16 +0000 (02:40 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 4 May 2019 21:29:45 +0000 (23:29 +0200)
commitc96b55df8eea9223ec60f99974a95eb1c305aec5
treef7306282408e13f1a275cf14843543aea33960ad
parent92b5ea41bb69c15220707a9f3954b6dc0058e956
hash: fix doc about thread/process safety

rte_hash_hash is multi-thread safe but not multi-process safe
because of the use of function pointers. Previous document
and comment says the other way around. This commit fixes
the issue.

Fixes: fc1f2750a3ec ("doc: programmers guide")
Fixes: 48a399119619 ("hash: replace with cuckoo hash implementation")
Cc: stable@dpdk.org
Reported-by: Andrey Nikolaev <gentoorion@gmail.com>
Suggested-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Signed-off-by: Yipeng Wang <yipeng1.wang@intel.com>
Acked-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
doc/guides/prog_guide/multi_proc_support.rst
lib/librte_hash/rte_hash.h