Hi Lukasz,

On 10/10/2020 5:05 PM, Lukasz Wojciechowski wrote:
In all distributor tests there is a chance that tests
will send packets to distributor with rte_distributor_process()
before workers are started and requested for packets.

This patch ensures that all packets are delivered to workers
by calling rte_distributor_process() in loop until number
of successfully processed packets reaches required by test.
Change is applied to every first call in test case.

Signed-off-by: Lukasz Wojciechowski <l.wojciec...@partner.samsung.com>
---
  app/test/test_distributor.c | 32 +++++++++++++++++++++++++++-----
  1 file changed, 27 insertions(+), 5 deletions(-)

diff --git a/app/test/test_distributor.c b/app/test/test_distributor.c


Thanks for the quick turnaround.

Acked-by: David Hunt <david.h...@intel.com>


Reply via email to