Re: [dpdk-dev] [PATCH] 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 09:17 > To: Wang, Haiyue ; Guo, Jia > Cc: dev@dpdk.org; Zhang, AlvinX ; sta...@dpdk.org > Subject: [PATCH] net/igc: fix Rx error counter for badlen packets > > When the size of the packet is less than the minimum

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

2021-03-31 Thread Alvin Zhang
When the size of the packet is less than the minimum or greater than the maximum, the packet will be counted twice in the error packet counter. Fixes: e6defdfddc3b ("net/igc: enable statistics") Cc: sta...@dpdk.org Signed-off-by: Alvin Zhang --- drivers/net/igc/igc_ethdev.c | 3 +-- 1 file chan

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

2021-03-31 Thread Alvin Zhang
When the size of the packet is less than the minimum or greater than the maximum, the packet will be counted twice in the error packet counter. Fixes: e6defdfddc3b ("net/igc: enable statistics") Cc: sta...@dpdk.org Signed-off-by: Alvin Zhang --- drivers/net/igc/igc_ethdev.c | 3 +-- 1 file chan