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 hash: fix TSX aborts with newer gcc 2018-11-14 01:02:07 +01:00
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 hash: support lock-free extendable bucket 2019-04-03 20:52:35 +02:00
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 hash: explicit casts for truncation in CRC32c 2018-05-13 22:45:37 +02:00
rte_hash_version.map hash: support no free on delete 2018-10-26 12:44:52 +02:00
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