Re: [dpdk-dev] [PATCH v3] app/testpmd: fix CPU cycles per pkt stats on transmit modes

2020-07-10 Thread Ferruh Yigit
On 6/22/2020 10:04 AM, Phil Yang wrote: > In txonly and flowgen forwarding mode, calculating CPU per packets with > total received packets is not accurate. Use total transmitted packets > for these cases. > > The error output under txonly mode: > testpmd> show fwd stats all > > --

[dpdk-dev] [PATCH v3] app/testpmd: fix CPU cycles per pkt stats on transmit modes

2020-06-22 Thread Phil Yang
In txonly and flowgen forwarding mode, calculating CPU per packets with total received packets is not accurate. Use total transmitted packets for these cases. The error output under txonly mode: testpmd> show fwd stats all -- Forward statistics for port 0 ---