Re: [dpdk-dev] [PATCH v2] app/testpmd: fix burst stat reporting

2018-05-21 Thread Thomas Monjalon
> > When RTE_TEST_PMD_RECORD_BURST_STATS is enabled, testpmd collects > > burst statistics and includes them in the port stats report. The summary > > should include top 2 most frequent burst sizes, but there is a bug in > > finding > > the top-2. During the scan of burst size counts, the > > to

Re: [dpdk-dev] [PATCH v2] app/testpmd: fix burst stat reporting

2018-05-16 Thread Iremonger, Bernard
> -Original Message- > From: Daniel Shelepov [mailto:das...@microsoft.com] > Sent: Monday, May 14, 2018 10:12 PM > To: Lu, Wenzhuo ; Wu, Jingjing > ; Iremonger, Bernard > > Cc: dev@dpdk.org; Daniel Shelepov > Subject: [PATCH v2] app/testpmd: fix burst stat reporting > > When RTE_TEST_PMD

[dpdk-dev] [PATCH v2] app/testpmd: fix burst stat reporting

2018-05-14 Thread Daniel Shelepov
When RTE_TEST_PMD_RECORD_BURST_STATS is enabled, testpmd collects burst statistics and includes them in the port stats report. The summary should include top 2 most frequent burst sizes, but there is a bug in finding the top-2. During the scan of burst size counts, the top-2 can change only if to