numam-dpdk/drivers/net
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
..
af_packet drivers: align log names 2021-04-08 18:32:31 +02:00
af_xdp net/af_xdp: mark recvfrom return as ignored 2021-03-30 15:50:04 +02:00
ark net/ark: localize internal packet generator 2021-03-22 16:56:27 +01:00
atlantic drivers/net: redefine array size macros 2021-02-22 18:08:08 +01:00
avp ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
axgbe drivers/net: redefine array size macros 2021-02-22 18:08:08 +01:00
bnx2x drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
bnxt drivers/net: remove useless autoneg capability 2021-04-01 15:16:53 +02:00
bonding drivers: align log names 2021-04-08 18:32:31 +02:00
cxgbe ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
dpaa net/dpaa: support Rx buffer size 2021-02-24 18:03:30 +01:00
dpaa2 ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
e1000 net/igc: refine debug build option 2021-04-01 16:10:20 +02:00
ena net/ena: fix releasing Tx ring mbufs 2021-04-06 19:37:45 +02:00
enetc ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
enic ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
failsafe ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
fm10k net/fm10k: refine debug build option 2021-04-01 16:10:20 +02:00
hinic net/hinic: fix crash in secondary process 2021-03-30 15:05:47 +02:00
hns3 net/hns3: update HiSilicon copyright syntax 2021-04-06 18:28:13 +02:00
i40e net/i40e: refine debug build option 2021-04-01 16:10:20 +02:00
iavf net/iavf: refine debug build option 2021-04-01 16:10:20 +02:00
ice net/ice: disable DDP package on Windows 2021-04-06 19:00:36 +02:00
igc net/igc: fix Rx error counter for bad length 2021-04-01 09:47:35 +02:00
ionic drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
ipn3ke drivers: align log names 2021-04-08 18:32:31 +02:00
ixgbe net/ixgbe: refine debug build option 2021-04-01 16:10:20 +02:00
kni ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
liquidio ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
memif build: remove redundant _GNU_SOURCE definitions 2021-03-23 08:41:05 +01:00
mlx4 ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
mlx5 drivers/net: remove useless autoneg capability 2021-04-01 15:16:53 +02:00
mvneta ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
mvpp2 ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
netvsc drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
nfb ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
nfp drivers/net: redefine array size macros 2021-02-22 18:08:08 +01:00
null ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
octeontx net/octeontx: fix max Rx packet length 2021-02-04 18:19:37 +01:00
octeontx2 ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
octeontx_ep net/octeontx_ep: add Tx path 2021-01-29 18:16:12 +01:00
pcap net/pcap: fix file descriptor leak on close 2021-03-03 14:53:57 +01:00
pfe ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
qede net/qede: remove unnecessary field in Rx entry and simplify 2021-03-27 15:00:57 +01:00
ring net/ring: support secondary process 2021-03-09 09:36:34 +01:00
sfc net/sfc: fix error path inconsistency 2021-03-30 16:13:44 +02:00
softnic ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
szedata2 ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
tap ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
thunderx drivers/net: redefine array size macros 2021-02-22 18:08:08 +01:00
txgbe net/txgbe: add FFE parameters for user debugging 2021-03-29 17:49:34 +02:00
vdev_netvsc build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
vhost ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
virtio net/virtio: remove duplicated port ID from virtio-user 2021-03-31 10:30:17 +02:00
vmxnet3 net/vmxnet3: enable on Windows 2021-03-25 17:00:49 +01:00
meson.build net/octeontx_ep: add build and doc infrastructure 2021-01-29 18:16:12 +01:00