Re: [dpdk-dev] [PATCH] net/i40e: fix Rx packet statistics

2021-09-28 Thread Kevin Traynor
On 28/09/2021 03:12, Zhang, AlvinX wrote: -Original Message- From: Kevin Traynor Sent: Tuesday, September 28, 2021 12:00 AM To: Zhang, AlvinX ; Xing, Beilei ; Guo, Junfeng Cc: dev@dpdk.org; sta...@dpdk.org; Zhang, Qi Z ; Yigit, Ferruh Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix Rx

Re: [dpdk-dev] [PATCH] net/i40e: fix Rx packet statistics

2021-09-27 Thread Zhang, AlvinX
> -Original Message- > From: Kevin Traynor > Sent: Tuesday, September 28, 2021 12:00 AM > To: Zhang, AlvinX ; Xing, Beilei > ; Guo, Junfeng > Cc: dev@dpdk.org; sta...@dpdk.org; Zhang, Qi Z ; > Yigit, Ferruh > Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix Rx pack

Re: [dpdk-dev] [PATCH] net/i40e: fix Rx packet statistics

2021-09-27 Thread Kevin Traynor
On 26/09/2021 08:57, Alvin Zhang wrote: Some packets are discarded by the NIC because they are larger than the MTU, these packets should be counted as "RX error" instead of "RX packet". The register 'GL_RXERR1' can count above discarded packets. This patch adds reading and calculation of the 'GL

[dpdk-dev] [PATCH] net/i40e: fix Rx packet statistics

2021-09-26 Thread Alvin Zhang
Some packets are discarded by the NIC because they are larger than the MTU, these packets should be counted as "RX error" instead of "RX packet". The register 'GL_RXERR1' can count above discarded packets. This patch adds reading and calculation of the 'GL_RXERR1' counter when reporting DPDK stati