numam-dpdk/drivers/net/igc
Alvin Zhang c69abf624a net/igc: fix Rx error counter for bad length
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 packet twice
when counting the total number of received error packets.

Fixes: e6defdfddc ("net/igc: enable statistics")
Cc: stable@dpdk.org

Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
2021-04-01 09:47:35 +02:00
..
base net/igc: fix build with gcc optimization level 0 2020-11-27 17:01:59 +01:00
igc_ethdev.c net/igc: fix Rx error counter for bad length 2021-04-01 09:47:35 +02:00
igc_ethdev.h net/igc: fix Rx RSS hash offload capability 2021-03-30 01:17:15 +02:00
igc_filter.c ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
igc_filter.h ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
igc_flow.c net/igc: remove use of uint type 2021-03-23 08:41:05 +01:00
igc_flow.h net/igc: support flow API 2020-04-21 13:57:08 +02:00
igc_logs.c log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
igc_logs.h net/igc: refine debug build option 2021-04-01 16:10:20 +02:00
igc_txrx.c net/igc: refine debug build option 2021-04-01 16:10:20 +02:00
igc_txrx.h net/igc: support flow API 2020-04-21 13:57:08 +02:00
meson.build drivers/net: build i40e and mlx5 on Windows 2021-01-14 23:51:24 +01:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00