[dpdk-dev] [PATCH v3] net/i40e: fix Rx statistic inconsistent

2016-09-22 Thread Wu, Jingjing
t dpdk.org; Zhang, Helin; Wu, Jingjing > Subject: Re: [dpdk-dev] [PATCH v3] net/i40e: fix Rx statistic inconsistent > > On 8/9/2016 3:07 AM, Wei Zhao1 wrote: > > rx_good_bytes and rx_good_packets statistic is inconsistent when port > > stopped,ipackets statistic is

[dpdk-dev] [PATCH v3] net/i40e: fix Rx statistic inconsistent

2016-09-14 Thread Ferruh Yigit
On 8/9/2016 3:07 AM, Wei Zhao1 wrote: > rx_good_bytes and rx_good_packets statistic is inconsistent when port > stopped,ipackets statistic is minus the discard packets but rx_bytes > statistic not,but i40e has no statistic of discard bytes.So we check > "dev_started" flag, if the port is started we

[dpdk-dev] [PATCH v3] net/i40e: fix Rx statistic inconsistent

2016-08-09 Thread Wei Zhao1
rx_good_bytes and rx_good_packets statistic is inconsistent when port stopped,ipackets statistic is minus the discard packets but rx_bytes statistic not,but i40e has no statistic of discard bytes.So we check "dev_started" flag, if the port is started we do the statistic work,if stopped we don't.We