[v3,0/3] hash: fix bugs in 'free key with position'
mbox series

Message ID 20190509133924.7153-1-dharmik.thakkar@arm.com
Headers show
Series
  • hash: fix bugs in 'free key with position'
Related show

Message

Dharmik Thakkar May 9, 2019, 1:39 p.m. UTC
This patch series solves 2 bugs reported on Bugzilla (bug-261) within
the function rte_hash_free_key_with_postion(). It also adds a test case
 to catch similar bugs in the future.

https://bugs.dpdk.org/show_bug.cgi?id=261
---
v3:
 * Split the patch and update commit logs (Thomas)
v2:
 * Add comments in test_hash.c (Yipeng)
 * Resolve checkpatch warning

Dharmik Thakkar (3):
  hash: fix position bug in 'free key with position'
  hash: fix total entries in free key with position
  test/hash: add test for 'free key with position'

 app/test/test_hash.c              | 94 +++++++++++++++++++++++++++++++
 lib/librte_hash/rte_cuckoo_hash.c | 15 +++--
 2 files changed, 104 insertions(+), 5 deletions(-)