[PATCH v2 5/7] testpmd: extend testpmd to show all extended stats
From: Maryam Tahhan <hidden>
Date: 2015-06-09 15:10:59
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Maryam Tahhan <hidden>
Date: 2015-06-09 15:10:59
Subsystem:
the rest · Maintainer:
Linus Torvalds
Extend testpmd to show additional aggregate extended stats. Signed-off-by: Maryam Tahhan <redacted> --- app/test-pmd/config.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index f788ed5..b42d83f 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c@@ -153,6 +153,11 @@ nic_stats_display(portid_t port_id) stats.opackets, stats.oerrors, stats.obytes); } + printf(" RX-MAC-errors: %-10"PRIu64" RX-PHY-errors: %-10"PRIu64"\n", + stats.imacerr, stats.iphyerr); + printf(" RX-nombuf: %-10"PRIu64" RX-dropped: %-10"PRIu64"\n", + stats.rx_nombuf, stats.idrop); + /* stats fdir */ if (fdir_conf.mode != RTE_FDIR_MODE_NONE) printf(" Fdirmiss: %-10"PRIu64" Fdirmatch: %-10"PRIu64"\n",
--
1.9.3