diff options
author | Robin Jarry <rjarry@redhat.com> | 2022-09-01 12:16:02 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-11-02 17:42:13 +0100 |
commit | c98762d91b578b5d8290077af4de0b6e3d95c3ce (patch) | |
tree | c518518ea4ad7ea1e6d8d4572d84850936bf92a8 /utilities | |
parent | 2db297ea37f4d6ec4bddb2a2db540339fa5af1df (diff) | |
download | openvswitch-c98762d91b578b5d8290077af4de0b6e3d95c3ce.tar.gz |
netdev-dpdk: Fix tx_dropped counters value.
Packets that could not be transmitted because the TXQ are full should be
taken into account in the global ovs_tx_failure_drops as it was the case
before commit 29b94e12d57d ("netdev-dpdk: Refactor the DPDK transmit
path.").
netdev_dpdk_eth_tx_burst() returns the number of packets that were *not*
transmitted. Add that number to stats.tx_failure_drops and only include
the packets that were dropped in previous steps afterwards.
Fixes: 29b94e12d57d ("netdev-dpdk: Refactor the DPDK transmit path.")
Acked-by: Mike Pattrick <mkp@redhat.com>
Signed-off-by: Robin Jarry <rjarry@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'utilities')
0 files changed, 0 insertions, 0 deletions