Re: [dpdk-dev] [PATCH v3 6/7] hash: enable lock-free reader-writer concurrency

2018-10-17 Thread Honnappa Nagarahalli
> >Subject: [PATCH v3 6/7] hash: enable lock-free reader-writer > >concurrency > > > >Add the flag to enable reader-writer concurrency during run time. The > >rte_hash_del_xxx APIs do not free the keystore element when this flag > >is enabled. Hence a new API, rte_hash_free_key_with_position, to fr

Re: [dpdk-dev] [PATCH v3 6/7] hash: enable lock-free reader-writer concurrency

2018-10-12 Thread Wang, Yipeng1
>-Original Message- >From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] >Sent: Thursday, October 11, 2018 11:32 PM >To: Richardson, Bruce ; De Lara Guarch, Pablo > >Cc: dev@dpdk.org; Wang, Yipeng1 ; >honnappa.nagaraha...@arm.com; dharmik.thak...@arm.com; >gavin...@arm.com; n

[dpdk-dev] [PATCH v3 6/7] hash: enable lock-free reader-writer concurrency

2018-10-11 Thread Honnappa Nagarahalli
Add the flag to enable reader-writer concurrency during run time. The rte_hash_del_xxx APIs do not free the keystore element when this flag is enabled. Hence a new API, rte_hash_free_key_with_position, to free the key store element is added. Signed-off-by: Honnappa Nagarahalli Reviewed-by: Gavin