[dpdk-dev] [PATCH v5] app/testpmd: fix testpmd packets dump overlapping

Ferruh Yigit ferruh.yigit at intel.com
Mon Nov 23 15:20:22 CET 2020


On 11/23/2020 11:00 AM, Jiawei Wang wrote:
> When testpmd enabled the verbosity for the received packets, if two packets
> were received at the same time, for example, sampling packet and normal
> packet, the dump output of these packets may be overlapping due to multiple
> core handling the multiple queues simultaneously.
> 
> The patch uses one string buffer that collects all the packet dump output
> into this buffer and then printouts it at last, that guarantees to printout
> separately the dump output per packet.
> 
> Fixes: d862c45 ("app/testpmd: move dumping packets to a separate function")
> 
> Signed-off-by: Jiawei Wang <jiaweiw at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

Although this looks safe, this is also not so critical, not sure to get for this 
release or not.


More information about the dev mailing list