[dpdk-dev] [PATCH v2 0/9] oerrors stats fixes for virtual pmds
David Marchand
david.marchand at redhat.com
Fri Jul 26 12:21:19 CEST 2019
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
Changelog since v1:
- added a patch on kni that drops a Rx counter
- dropped the Tx counter for kni, memif and ring
--
David Marchand
David Marchand (9):
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: remove unused Rx "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 | 7 -------
drivers/net/memif/rte_eth_memif.c | 7 -------
drivers/net/memif/rte_eth_memif.h | 1 -
drivers/net/null/rte_eth_null.c | 9 ++-------
drivers/net/ring/rte_eth_ring.c | 16 ++++------------
drivers/net/vhost/rte_eth_vhost.c | 4 +---
drivers/net/virtio/virtio_ethdev.c | 3 ---
9 files changed, 7 insertions(+), 43 deletions(-)
--
1.8.3.1
More information about the dev
mailing list