numam-dpdk/drivers
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
..
baseband config: remove compatibility build defines 2021-01-20 01:43:25 +01:00
bus vfio: reformat logs 2021-04-09 15:38:26 +02:00
common common/iavf: build on Windows 2021-04-06 19:00:36 +02:00
compress compress/mlx5: support timestamp format 2021-03-16 10:05:39 +01:00
crypto drivers: align log names 2021-04-08 18:32:31 +02:00
event event/dlb: fix header includes for musl 2021-03-23 08:41:05 +01:00
mempool mempool/cnxk: add cn10k batch dequeue 2021-04-09 08:32:24 +02:00
net net/igc: fix Rx error counter for bad length 2021-04-01 09:47:35 +02:00
raw drivers: align log names 2021-04-08 18:32:31 +02:00
regex regex/mlx5: add data path scattered mbuf process 2021-04-08 22:52:55 +02:00
vdpa drivers: align log names 2021-04-08 18:32:31 +02:00
meson.build common/cnxk: add build infrastructre and HW definition 2021-04-09 08:32:24 +02:00