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

2020-06-18 Thread Phil Yang
> -Original Message- > From: Honnappa Nagarahalli > Sent: Friday, June 19, 2020 3:29 AM > To: Phil Yang ; dev@dpdk.org > Cc: ferruh.yi...@intel.com; maxime.coque...@redhat.com; Ruifeng Wang > ; nd ; sta...@dpdk.org; > david.march...@redhat.com; Honnappa Nagarahalli > ; nd > Subject: RE: [

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

2020-06-18 Thread Honnappa Nagarahalli
> Subject: [PATCH] app/testpmd: fix CPU cycles per pkt stats on transmit modes > > 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: > testpm

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

2020-06-18 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 ---