DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] pktgen-stats.c: remove stats deprecated upstream
@ 2015-11-23  5:14 Matthew Hall
  0 siblings, 0 replies; only message in thread
From: Matthew Hall @ 2015-11-23  5:14 UTC (permalink / raw)
  To: dev

Signed-off-by: Matthew Hall <mhall@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-23  5:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-23  5:14 [dpdk-dev] [PATCH] pktgen-stats.c: remove stats deprecated upstream Matthew Hall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).