On Thu,  4 Jun 2020 10:17:31 -0700
Stephen Hemminger <[email protected]> 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 <[email protected]>
> Cc: [email protected]
> Cc: [email protected]

This restriction also needs to be added to the known issues
section of EAL

Reply via email to