Signed-off-by: Matthew Hall <mhall at mhcomputing.net>
---
 app/pktgen-stats.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/app/pktgen-stats.c b/app/pktgen-stats.c
index f1de4d7..f552ac2 100644
--- a/app/pktgen-stats.c
+++ b/app/pktgen-stats.c
@@ -305,8 +305,6 @@ pktgen_page_stats(void)
         pktgen.cumm_rate_totals.oerrors += info->rate_stats.oerrors;

         pktgen.cumm_rate_totals.imissed += info->rate_stats.imissed;
-        pktgen.cumm_rate_totals.ibadcrc += info->rate_stats.ibadcrc;
-        pktgen.cumm_rate_totals.ibadlen += info->rate_stats.ibadlen;
         pktgen.cumm_rate_totals.imcasts += info->rate_stats.imcasts;
         pktgen.cumm_rate_totals.rx_nombuf += info->rate_stats.rx_nombuf;

@@ -344,13 +342,8 @@ pktgen_page_stats(void)
                        wr_scrn_printf(row++, col, "%*s", COLUMN_WIDTH_1, buff);
                        snprintf(buff, sizeof(buff), "%lu/%lu", info->tx_pps, 
info->tx_cycles);
                        wr_scrn_printf(row++, col, "%*s", COLUMN_WIDTH_1, buff);
-
                        snprintf(buff, sizeof(buff), "%lu", 
info->stats.imissed);
                        wr_scrn_printf(row++, col, "%*s", COLUMN_WIDTH_1, buff);
-                       snprintf(buff, sizeof(buff), "%lu", 
info->stats.ibadcrc);
-                       wr_scrn_printf(row++, col, "%*s", COLUMN_WIDTH_1, buff);
-                       snprintf(buff, sizeof(buff), "%lu", 
info->stats.ibadlen);
-                       wr_scrn_printf(row++, col, "%*s", COLUMN_WIDTH_1, buff);
                        snprintf(buff, sizeof(buff), "%lu", 
info->stats.imcasts);
                        wr_scrn_printf(row++, col, "%*s", COLUMN_WIDTH_1, buff);
                        snprintf(buff, sizeof(buff), "%lu", 
info->stats.rx_nombuf);
@@ -420,8 +413,6 @@ pktgen_process_stats(__attribute__((unused)) struct 
rte_timer *tim, __attribute_
         stats.oerrors   -= info->init_stats.oerrors;

         stats.imissed += info->init_stats.imissed;
-        stats.ibadcrc += info->init_stats.ibadcrc;
-        stats.ibadlen += info->init_stats.ibadlen;
         stats.imcasts += info->init_stats.imcasts;
         stats.rx_nombuf += info->init_stats.rx_nombuf;

@@ -433,8 +424,6 @@ pktgen_process_stats(__attribute__((unused)) struct 
rte_timer *tim, __attribute_
         info->rate_stats.oerrors    = stats.oerrors - info->port_stats.oerrors;

         info->rate_stats.imissed += stats.imissed - info->init_stats.imissed;
-        info->rate_stats.ibadcrc += stats.ibadcrc - info->init_stats.ibadcrc;
-        info->rate_stats.ibadlen += stats.ibadlen - info->init_stats.ibadlen;
         info->rate_stats.imcasts += stats.imcasts - info->init_stats.imcasts;
         info->rate_stats.rx_nombuf += stats.rx_nombuf - 
info->init_stats.rx_nombuf;

-- 
2.5.0

Reply via email to