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 application completes
> using the index.
> RTE_HASH_EXTRA_FLAGS_NO_FREE_ON_DEL is introduced to support this.
> When this flag is enabled rte_hash_del_xxx APIs do not free the
> key-store index/internal memory associated with the deleted
> entry. The new API rte_hash_free_key_with_position should be called
> to free the key-store index/internal memory after calling
> rte_hash_del_xxx APIs.
> 
> Suggested-by: Yipeng Wang <[email protected]>
> Signed-off-by: Honnappa Nagarahalli <[email protected]>
> Reviewed-by: Gavin Hu <[email protected]>
> Reviewed-by: Yipeng Wang <[email protected]>
> ---
As before, fix email in reviewed-by.

Acked-by: Bruce Richardson <[email protected]>

Reply via email to