From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by dpdk.org (Postfix) with ESMTP id 55F4A8E5A for ; Sat, 17 Oct 2015 02:14:33 +0200 (CEST) Received: by payp3 with SMTP id p3so2912128pay.2 for ; Fri, 16 Oct 2015 17:14:32 -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=yyrKO1QpFD8gIwuMGeO4/iIjVrf9HJgzADaM+c0d56Y=; b=ZqzhqGBbi7SzzXGCdEkYzVW7XjXAO6l6M8wCbepUB95RAJ7Q9XssUHfLkikJaAaVNP wuCefmkAFBkYRMY1OeRCsh76DKHCrJhsl5YO1Opv2K+BpYjD63OE6n8SnAqywrbQxzAc YlGvg1ivXoJqwqHeolm5yEAUUSoSIwd9Hjl+srkusdYvuCPW/uzQf20o4w5pqjXADnVw FUwSt7mjvM8Mu2FMwnRj42jDyF4RCpcPYDhbhNjFULy0nLKScwyZS0Ydlf8h9nxw5bKb bxhP6S4k4PJBqQSe+fZDag4ZFGOOApmHz/dhpefBVvsWGcZaM1eK/UQSThw/Zv+FZjCa NYRA== X-Gm-Message-State: ALoCoQleU8DLOLQVrhR5vL4gwOamwnl4+SKoyrvxTPPVzITYnLcHGiImsRuCNVX/rnTHtbnlrib/ X-Received: by 10.67.3.167 with SMTP id bx7mr19762967pad.47.1445040872741; Fri, 16 Oct 2015 17:14:32 -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.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Oct 2015 17:14:31 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Date: Fri, 16 Oct 2015 17:14:35 -0700 Message-Id: <1445040882-31006-3-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 2/9] ixgbe: drop statistics marked for deprecation 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:33 -0000 From: Stephen Hemminger The statistics fields that are marked deprecated should not be reported. Signed-off-by: Stephen Hemminger --- drivers/net/ixgbe/ixgbe_ethdev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index ec2918c..56d56e0 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -2313,8 +2313,6 @@ ixgbevf_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats) stats->ibytes = hw_stats->vfgorc; stats->opackets = hw_stats->vfgptc; stats->obytes = hw_stats->vfgotc; - stats->imcasts = hw_stats->vfmprc; - /* stats->imcasts should be removed as imcasts is deprecated */ } static void -- 2.1.4