96c343868d
The Distributor autotest can lock if ran enough times. Worker and
distributor threads get into a livelock situation waiting on each
other.
To repeat:
`while sudo sh -c "echo 'distributor_autotest' |
./build/app/test/dpdk-test"; do :; done`
The root cause is where we are flushing on exit, and do not wait for
all worker packets to be returned before exiting.
Add a delay on flush so that all worker packets are returned before
completing the flush.
Bugzilla ID: 316
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
meson.build | ||
rte_distributor_match_generic.c | ||
rte_distributor_match_sse.c | ||
rte_distributor_private.h | ||
rte_distributor_v20.c | ||
rte_distributor_v20.h | ||
rte_distributor_v1705.h | ||
rte_distributor_version.map | ||
rte_distributor.c | ||
rte_distributor.h |