[dpdk-dev] [PATCH v7 16/16] test/distributor: ensure all packets are delivered

David Hunt david.hunt at intel.com
Mon Oct 12 09:46:19 CEST 2020


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.wojciechow at 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.hunt at intel.com>




More information about the dev mailing list