numam-dpdk/lib/librte_hash
Gavin Hu be0330cb1b hash: flush rings instead of dequeuing one by one
Within rte_hash_reset, calling a while loop to dequeue one by
one from the ring, while not using them at all, is wasting cycles,
The patch just flush the ring by resetting the indices can save CPU
cycles.

Signed-off-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Yipeng Wang <yipeng1.wang@intel.com>
2019-07-17 19:52:37 +02:00
..
Makefile hash: flush rings instead of dequeuing one by one 2019-07-17 19:52:37 +02:00
meson.build hash: flush rings instead of dequeuing one by one 2019-07-17 19:52:37 +02:00
rte_cmp_arm64.h
rte_cmp_x86.h
rte_crc_arm64.h
rte_cuckoo_hash.c hash: flush rings instead of dequeuing one by one 2019-07-17 19:52:37 +02:00
rte_cuckoo_hash.h
rte_fbk_hash.c eal: hide shared memory config 2019-07-06 10:32:34 +02:00
rte_fbk_hash.h
rte_hash_crc.h
rte_hash_version.map
rte_hash.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
rte_jhash.h
rte_thash.h net: add rte prefix to IP structure 2019-05-24 13:34:46 +02:00