Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
distributor: fix flushing in flight packets
[ upstream commit 91d6b82 ] 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: 775003a ("distributor: add new burst-capable library") Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com> Acked-by: David Hunt <david.hunt@intel.com>
- Loading branch information