examples/ip_pipeline: remove references to deprecated statistics
authorThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 12 Nov 2015 21:58:37 +0000 (22:58 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 12 Nov 2015 22:05:28 +0000 (23:05 +0100)
Keep only basic statistics which should never been deprecated.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
examples/ip_pipeline/pipeline/pipeline_common_fe.c

index fcda0ce..ed18f2c 100644 (file)
@@ -937,31 +937,12 @@ print_link_info(struct app_link_params *p)
                stats.ipackets,
                stats.ibytes);
 
-       printf("\tRX mcast %" PRIu64
-               "  fdirmatch %" PRIu64
-               "  fdirmiss %" PRIu64
-               "  lb-packets %" PRIu64
-               "  lb-bytes %" PRIu64
-               "  xon %" PRIu64
-               "  xoff %" PRIu64 "\n",
-               stats.imcasts,
-               stats.fdirmatch,
-               stats.fdirmiss,
-               stats.ilbpackets,
-               stats.ilbbytes,
-               stats.rx_pause_xon,
-               stats.rx_pause_xoff);
-
        printf("\tRX errors %" PRIu64
                "  missed %" PRIu64
-               "  badcrc %" PRIu64
-               "  badlen %" PRIu64
                "  no-mbuf %" PRIu64
                "\n",
                stats.ierrors,
                stats.imissed,
-               stats.ibadcrc,
-               stats.ibadlen,
                stats.rx_nombuf);
 
        printf("\tTX packets %" PRIu64
@@ -969,16 +950,6 @@ print_link_info(struct app_link_params *p)
                stats.opackets,
                stats.obytes);
 
-       printf("\tTX lb-packets %" PRIu64
-               "  lb-bytes %" PRIu64
-               "  xon %" PRIu64
-               "  xoff %" PRIu64
-               "\n",
-               stats.olbpackets,
-               stats.olbbytes,
-               stats.tx_pause_xon,
-               stats.tx_pause_xoff);
-
        printf("\tTX errors %" PRIu64
                "\n",
                stats.oerrors);