Re: [dpdk-dev] [PATCH v5 2/5] hash: support do not free on delete

2018-10-23 Thread Bruce Richardson
On Mon, Oct 22, 2018 at 11:22:01PM -0500, Honnappa Nagarahalli wrote: > rte_hash_lookup_xxx APIs return the index of slot 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 freed till the applicati

[dpdk-dev] [PATCH v5 2/5] hash: support do not free on delete

2018-10-22 Thread Honnappa Nagarahalli
rte_hash_lookup_xxx APIs return the index of slot 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 freed till the application completes using the index. RTE_HASH_EXTRA_FLAGS_NO_FREE_ON_DEL is introduce