I did a pass on the pmds about oerrors some time ago, but still did not find the motivation to finish yet. For now, here is a series of cleanups on the virtual pmds.
The former patches are just about removing counters that adds nothing to the stats. The latter patches make sure that unsent packets (because of a temporary situation) are not added to oerrors since an application can decide to send them again later. Wrt oerrors, the pcap pmd should be fixed with the series [1]. But the tap pmd still needs to be inspected. 1: https://patchwork.dpdk.org/project/dpdk/list/?series=5701 -- David Marchand David Marchand (8): net/af_packet: remove unused Rx counter net/af_xdp: remove unused Tx counter net/null: remove unused Tx error counter net/virtio: remove unused Tx error counter net/kni: do not count unsent packets as errors net/memif: do not count unsent packets as errors net/ring: do not count unsent packets as errors net/vhost: do not count unsent packets as errors drivers/net/af_packet/rte_eth_af_packet.c | 1 - drivers/net/af_xdp/rte_eth_af_xdp.c | 2 -- drivers/net/kni/rte_eth_kni.c | 3 --- drivers/net/memif/rte_eth_memif.c | 2 -- drivers/net/null/rte_eth_null.c | 9 ++------- drivers/net/ring/rte_eth_ring.c | 4 +--- drivers/net/vhost/rte_eth_vhost.c | 4 +--- drivers/net/virtio/virtio_ethdev.c | 3 --- 8 files changed, 4 insertions(+), 24 deletions(-) -- 1.8.3.1