On Thu, 4 Jun 2020 10:17:31 -0700 Stephen Hemminger <step...@networkplumber.org> wrote:
> The code in rte_cuckoo_hash multi-writer support is broken if write > operations are called from a non-EAL thread. > > rte_lcore_id() wil return LCORE_ID_ANY (UINT32_MAX) for non EAL > thread and that leads to using wrong local cache. > > Add error checks and document the restriction. > > Fixes: 9d033dac7d7c ("hash: support no free on delete") > Fixes: 5915699153d7 ("hash: fix scaling by reducing contention") > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> > Cc: honnappa.nagaraha...@arm.com > Cc: pablo.de.lara.gua...@intel.com This restriction also needs to be added to the known issues section of EAL