pmd can report transmit errors but those stats are not accounted here.
Signed-off-by: David Marchand <[email protected]>
---
app/test-pmd/testpmd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index 984155a..3acd97b 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd/testpmd.c
@@ -1838,6 +1838,7 @@ struct extmem_param {
total_recv += stats.ipackets;
total_xmit += stats.opackets;
total_rx_dropped += stats.imissed;
+ port->tx_dropped += stats.oerrors;
total_tx_dropped += port->tx_dropped;
total_rx_nombuf += stats.rx_nombuf;
--
1.8.3.1