[dpdk-dev] [PATCH v2] hash: new function to retrieve a key given its position

2016-06-24 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yari Adan > Petralanda > Sent: Friday, June 17, 2016 12:00 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] hash: new function to retrieve a key given its > posit

[dpdk-dev] [PATCH v2] hash: new function to retrieve a key given its position

2016-06-17 Thread Yari Adan Petralanda
The function rte_hash_get_key_with_position is added in this patch. As the position returned when adding a key is frequently used as an offset into an array of user data, this function performs the operation of retrieving a key given this offset. A possible use case would be to delete a key from t