Re: [dpdk-dev] [PATCH v4] hash: added a new API to hash to query key id

2020-01-19 Thread Thomas Monjalon
27/11/2019 02:59, Wang, Yipeng1: > From: Amber, Kumar > >Adding new API function to query the maximum key ID > >that could possibly be returned by rte_hash_add_key and > >rte_hash_add_key_with_hash. When RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD > >is set, the maximum key id is larger than the entry co

Re: [dpdk-dev] [PATCH v4] hash: added a new API to hash to query key id

2019-11-26 Thread Wang, Yipeng1
>-Original Message- >From: Amber, Kumar >Sent: Monday, November 25, 2019 6:39 PM >To: dev@dpdk.org >Cc: Wang, Yipeng1 >Subject: [PATCH v4] hash: added a new API to hash to query key id > >Adding new API function to query the maximum key ID >that could possibly be returned by rte_hash_add_k

[dpdk-dev] [PATCH v4] hash: added a new API to hash to query key id

2019-11-25 Thread Kumar Amber
Adding new API function to query the maximum key ID that could possibly be returned by rte_hash_add_key and rte_hash_add_key_with_hash. When RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD is set, the maximum key id is larger than the entry count specified by the user. Signed-off-by: Kumar Amber --- lib/l