Re: [dpdk-dev] [PATCH v2] net/igc: fix Rx error counter for badlen packets

2021-04-01 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Wang, Haiyue > Sent: Thursday, April 1, 2021 2:16 PM > To: Zhang, AlvinX ; Guo, Jia > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/igc: fix Rx error counter for badlen > packets > &

Re: [dpdk-dev] [PATCH v2] net/igc: fix Rx error counter for badlen packets

2021-03-31 Thread Wang, Haiyue
> -Original Message- > From: Zhang, AlvinX > Sent: Thursday, April 1, 2021 13:21 > To: Wang, Haiyue ; Guo, Jia > Cc: dev@dpdk.org; Zhang, AlvinX ; sta...@dpdk.org > Subject: [PATCH v2] net/igc: fix Rx error counter for badlen packets > > When the size of a packet in Rx channel is less th

[dpdk-dev] [PATCH v2] net/igc: fix Rx error counter for badlen packets

2021-03-31 Thread Alvin Zhang
When the size of a packet in Rx channel is less than the minimum or greater than the maximum, the packet will be simultaneously counted by RLEC(Receive Length Error Count) and RUC(Receive Under Size Count)/ROC(Receive Oversize Count) registers. This patch fixes the issue of counting a length error

[dpdk-dev] [PATCH v2] net/igc: fix Rx error counter for badlen packets

2021-03-31 Thread Alvin Zhang
When the size of a packet in Rx channel is less than the minimum or greater than the maximum, the packet will be simultaneously counted by RLEC(Receive Length Error Count) and RUC(Receive Under Size Count)/ROC(Receive Oversize Count) registers. This patch fixed the issue of counting a length error