Re: [PATCH 5/6] app/testpmd: factorize fwd engine Rx

2023-02-14 Thread Ferruh Yigit
On 1/24/2023 10:47 AM, David Marchand wrote: > Reduce code duplication by introducing a helper that takes care of > receiving packets and incrementing rx counter. > > Signed-off-by: David Marchand Reviewed-by: Ferruh Yigit <...> > @@ -857,6 +857,18 @@ inc_tx_burst_stats(struct fwd_stream *f

[PATCH 5/6] app/testpmd: factorize fwd engine Rx

2023-01-24 Thread David Marchand
Reduce code duplication by introducing a helper that takes care of receiving packets and incrementing rx counter. Signed-off-by: David Marchand --- app/test-pmd/5tswap.c | 5 + app/test-pmd/csumonly.c| 5 + app/test-pmd/flowgen.c | 5 + app/test-pmd/icmpecho.c| 5