be0330cb1b
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> |
||
---|---|---|
.. | ||
Makefile | ||
meson.build | ||
rte_cmp_arm64.h | ||
rte_cmp_x86.h | ||
rte_crc_arm64.h | ||
rte_cuckoo_hash.c | ||
rte_cuckoo_hash.h | ||
rte_fbk_hash.c | ||
rte_fbk_hash.h | ||
rte_hash_crc.h | ||
rte_hash_version.map | ||
rte_hash.h | ||
rte_jhash.h | ||
rte_thash.h |