Re: [dpdk-dev] [PATCH v3 2/7] hash: support do not recycle on delete

2018-10-15 Thread Honnappa Nagarahalli
> > > >rte_hash_lookup_xxx APIs return the index of the element in the key > >store. Application(reader) can use that index to reference other data > >structures in its scope. Because of this, the index should not be > >recycled till the application completes using the index. > >RTE_HASH_EXTRA_FL

Re: [dpdk-dev] [PATCH v3 2/7] hash: support do not recycle on delete

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 2/7] hash: support do not recycle on delete

2018-10-11 Thread Honnappa Nagarahalli
rte_hash_lookup_xxx APIs return the index of the element in the key store. Application(reader) can use that index to reference other data structures in its scope. Because of this, the index should not be recycled till the application completes using the index. RTE_HASH_EXTRA_FLAGS_RECYCLE_ON_DEL is