On 2/7/2023 10:10 AM, Singh, Aman Deep wrote: > > On 1/31/2023 5:26 PM, Ferruh Yigit wrote: >> There is an inconsistency at displaying Tx dropped value for per port >> forwarding stats and accumulated forwarding stats. >> >> While displaying per port TX-dropped value, it only takes >> 'ports_stats[pt_id].tx_dropped' into account, >> but for accumulated TX-dropped results it takes both >> 'ports_stats[pt_id].tx_dropped' & 'stats.oerrors' into account. >> >> To fix, make both per port and accumulated stats display 'tx_dropped' >> and 'stats.oerrors' (ports_stats[pt_id].tx_dropped + stats.oerrors). >> >> Fixes: 53324971a14e ("app/testpmd: display/clear forwarding stats on >> demand") >> Cc: sta...@dpdk.org >> >> Reported-by: Joshua Washington <joshw...@google.com> >> Signed-off-by: Ferruh Yigit <ferruh.yi...@amd.com> > > Acked-by: Huisong Li <lihuis...@huawei.com> > > Acked-by: Aman Singh <aman.deep.si...@intel.com> >
Applied to dpdk-next-net/main, thanks.