examples/pipeline: print output port packet drop counters

Print the output port pacet drop statistics counters.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
This commit is contained in:
Cristian Dumitrescu 2022-08-05 22:00:28 +00:00 committed by Thomas Monjalon
parent f8b0c950a5
commit 67f707b354

View File

@ -2277,10 +2277,14 @@ cmd_pipeline_stats(char **tokens,
out_size,
" packets %" PRIu64
" bytes %" PRIu64
" packets dropped %" PRIu64
" bytes dropped %" PRIu64
" clone %" PRIu64
" clonerr %" PRIu64 "\n",
stats.n_pkts,
stats.n_bytes,
stats.n_pkts_drop,
stats.n_bytes_drop,
stats.n_pkts_clone,
stats.n_pkts_clone_err);