From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by dpdk.org (Postfix) with ESMTP id 2A9058E87 for ; Sat, 17 Oct 2015 02:14:36 +0200 (CEST) Received: by pabws5 with SMTP id ws5so3642968pab.1 for ; Fri, 16 Oct 2015 17:14:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=L7nL0DtEPj7h2rdERbk71k26YouFzdGL9CdigBvJZSs=; b=jblHWO5IbmDIBVPDOLVCKcczFpUS5ULlBMLs8E3+JdaDBYGGc+COqtxB5c3cUXOpVd i84L7W2MHCI7YWb+eayqj0YxZ299cyel69J2yKISHR33PFThidKkyvHluyJHz23uQjai iQwnWKpw7wYs3rWV3ESaXVU9kryLoosPUTNUGqylGyc6JIITZ60JQg8pZHMJeiwknSM3 yZRuEXCdKs+dLisZhVH6tFDqd2hpfRGouQY6rbl0pY63ZcgRBJnAeHRkLhoQBZLOHbLA QteNP35UVWIBmu+5GSpwKIzvvv21KtbpSo/f3dLMrTTNpDRbWrAml76QHR2ntRwIAdIj wwEg== X-Gm-Message-State: ALoCoQkRg6wUKOo2DhbN2aaRjAEjtkHTt5/xfezDnNoulHMShvNRbnBH4F7oKjrZJojZbY4jCUfC X-Received: by 10.66.146.4 with SMTP id sy4mr19468574pab.79.1445040875593; Fri, 16 Oct 2015 17:14:35 -0700 (PDT) Received: from xeon-e3.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id qy7sm23431097pab.37.2015.10.16.17.14.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Oct 2015 17:14:35 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Date: Fri, 16 Oct 2015 17:14:39 -0700 Message-Id: <1445040882-31006-7-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1445040882-31006-1-git-send-email-stephen@networkplumber.org> References: <1445040882-31006-1-git-send-email-stephen@networkplumber.org> Cc: Stephen Hemminger Subject: [dpdk-dev] [PATCH 6/9] enic: don't fill in deprecated statistics X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2015 00:14:37 -0000 From: Stephen Hemminger Some fields in rte_ethdev statistics are marked deprecated and should not be reported by drivers. Signed-off-by: Stephen Hemminger --- drivers/net/enic/enic_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c index 398ada2..b2c47e7 100644 --- a/drivers/net/enic/enic_main.c +++ b/drivers/net/enic/enic_main.c @@ -224,7 +224,6 @@ void enic_dev_stats_get(struct enic *enic, struct rte_eth_stats *r_stats) r_stats->ierrors = stats->rx.rx_errors; r_stats->oerrors = stats->tx.tx_errors; - r_stats->imcasts = stats->rx.rx_multicast_frames_ok; r_stats->rx_nombuf = stats->rx.rx_no_bufs; } -- 2.1.4