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

2018-05-11 Thread Iremonger, Bernard
Hi Daniel, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Daniel Shelepov > Sent: Friday, May 4, 2018 9:12 PM > To: Lu, Wenzhuo ; Wu, Jingjing > > Cc: dev@dpdk.org; Daniel Shelepov > Subject: [dpdk-dev] [PATCH] app/testpmd: fix burst sta

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

2018-05-04 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