Re: [dpdk-dev] [PATCH] examples/l3fwd: fix TX burst queue drain edge case

2021-03-26 Thread Kathleen Capella
> -Original Message- > From: Thomas Monjalon > Sent: Wednesday, March 24, 2021 1:16 PM > To: Kathleen Capella > Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli > > Subject: Re: [dpdk-dev] [PATCH] examples/l3fwd: fix TX burst queue drain edge > case > > 23/0

Re: [dpdk-dev] [PATCH] examples/l3fwd: fix TX burst queue drain edge case

2021-03-24 Thread Thomas Monjalon
23/02/2021 19:23, Kathleen Capella: > Initialize prev_tsc to cur_tsc. This avoids running the TX queue drain > in the first iteration of the packet processing loop. Is it really a fix? What was broken? Isn't it an optimization? > Fixes: af75078fece3 ("first public release") If it's really a fix,

[dpdk-dev] [PATCH] examples/l3fwd: fix TX burst queue drain edge case

2021-02-23 Thread Kathleen Capella
Initialize prev_tsc to cur_tsc. This avoids running the TX queue drain in the first iteration of the packet processing loop. Fixes: af75078fece3 ("first public release") Signed-off-by: Kathleen Capella Reviewed-by: Honnappa Nagarahalli --- examples/l3fwd/l3fwd_em.c | 9 + examples/l3f