[dpdk-dev,3/4] testpmd: extend testpmd to show all extended stats
Commit Message
Extend testpmd to show additional aggregate extended stats.
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
---
app/test-pmd/config.c | 5 +++++
1 file changed, 5 insertions(+)
@@ -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",