DPDK patches and discussions
 help / color / mirror / Atom feed
From: Matthew Hall <mhall@mhcomputing.net>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH] pktgen-stats.c: remove stats deprecated upstream
Date: Sun, 22 Nov 2015 21:14:57 -0800	[thread overview]
Message-ID: <1448255697-2451-1-git-send-email-mhall@mhcomputing.net> (raw)

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

                 reply	other threads:[~2015-11-23  5:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1448255697-2451-1-git-send-email-mhall@mhcomputing.net \
    --to=mhall@mhcomputing.net \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).