From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by dpdk.org (Postfix) with ESMTP id 281708E5A for ; Sat, 17 Oct 2015 02:14:34 +0200 (CEST) Received: by pabws5 with SMTP id ws5so3642362pab.1 for ; Fri, 16 Oct 2015 17:14:33 -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=2qIHfd5CiA5XU8b1DLA2VZuQWIeCIpTejUOTIpmLLK8=; b=GIvkmhnxh5Qt4fta0Fm2AtVYm2ODzNueIRA4CRtwrpFi+XWUmh6hpd94mK6iF9m1Oh QvaPNGmueVkIKsSkxYKZGtXw0nC73ayNu6BknoNUOF7f8yJKnedLL2BhSH9ErOEyTi5I IAmkT3dLvVZsLBORk3CrreIONHVa6of6+zAnUYLuHSJFyxX61hR6WxlzV6ESf1JMia0v /7J18VYqYaaUlNPwbdvFvGgjVaFgqacqLQYP0tKDsrRXS1ZfrN8OLhbcguZ8AO04wGGg Fqp1vmSDUViNOjIdE6cEX2Rsp94o/LoP2fJihLPqjD66m0bfxfNdJX9UAODwaenzun6o K69w== X-Gm-Message-State: ALoCoQn/QroqEazqu1xg0IiO2mIbW7WiUBrSS9DdBeqdrnAeXUPVnPDyo+rHLKAU6iML9zLG2oiJ X-Received: by 10.67.23.165 with SMTP id ib5mr19330814pad.26.1445040873447; Fri, 16 Oct 2015 17:14:33 -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.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Oct 2015 17:14:33 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Date: Fri, 16 Oct 2015 17:14:36 -0700 Message-Id: <1445040882-31006-4-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 3/9] bond: don't sum 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:34 -0000 From: Stephen Hemminger These statistics are marked deprecated, leave them alone. Signed-off-by: Stephen Hemminger --- drivers/net/bonding/rte_eth_bond_pmd.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index 5cc6372..2e1b8a0 100644 --- a/drivers/net/bonding/rte_eth_bond_pmd.c +++ b/drivers/net/bonding/rte_eth_bond_pmd.c @@ -1768,14 +1768,7 @@ bond_ethdev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats) stats->obytes += slave_stats.obytes; stats->ierrors += slave_stats.ierrors; stats->oerrors += slave_stats.oerrors; - stats->imcasts += slave_stats.imcasts; stats->rx_nombuf += slave_stats.rx_nombuf; - stats->fdirmatch += slave_stats.fdirmatch; - stats->fdirmiss += slave_stats.fdirmiss; - stats->tx_pause_xon += slave_stats.tx_pause_xon; - stats->rx_pause_xon += slave_stats.rx_pause_xon; - stats->tx_pause_xoff += slave_stats.tx_pause_xoff; - stats->rx_pause_xoff += slave_stats.rx_pause_xoff; } } -- 2.1.4