numam-dpdk/lib/librte_distributor
Lukasz Wojciechowski 91d6b8235e distributor: fix flushing in flight packets
rte_distributor_flush() is using total_outstanding()
function to calculate if it should still wait
for processing packets. However in burst mode
only backlog packets were counted.

This patch fixes that issue by counting also in flight
packets. There are also sum fixes to properly keep
count of in flight packets for each worker in bufs[].count.

Fixes: 775003ad2f ("distributor: add new burst-capable library")
Cc: stable@dpdk.org

Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Acked-by: David Hunt <david.hunt@intel.com>
2020-10-19 10:57:17 +02:00
..
distributor_private.h distributor: handle worker shutdown in burst mode 2020-10-19 10:57:17 +02:00
meson.build build: add global libatomic dependency for 32-bit clang 2020-04-21 11:34:09 +02:00
rte_distributor_match_generic.c rename private header files 2019-10-27 22:03:06 +01:00
rte_distributor_match_sse.c rename private header files 2019-10-27 22:03:06 +01:00
rte_distributor_single.c distributor: fix handshake synchronization 2020-10-19 10:57:17 +02:00
rte_distributor_single.h distributor: rename v2.0 ABI to _single suffix 2019-11-20 23:05:39 +01:00
rte_distributor_version.map version: 20.11-rc0 2020-08-12 11:32:16 +02:00
rte_distributor.c distributor: fix flushing in flight packets 2020-10-19 10:57:17 +02:00
rte_distributor.h distributor: fix API documentation 2020-10-19 10:57:17 +02:00