From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by dpdk.org (Postfix) with ESMTP id 9F25E4A63 for ; Fri, 6 Nov 2015 02:04:29 +0100 (CET) Received: by pacdm15 with SMTP id dm15so79550533pac.3 for ; Thu, 05 Nov 2015 17:04:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=7lCRc7hGzf9ise973YyyHrpqVwKxDStm3iSkk/I3xMo=; b=RCmpQzD0U5/BllDkcl/l901C6NgwDw3F0whLMgrfjxH+KQbC5l8C4q+TtLfuzCdDfT Dfm9BQkNE9C9kGd+N+Ov9eNOZkX4tAZggkEtFnCrkRGHO+X2wfrl6g5w2ppDBuklYOfF CqCxH061PMJauj9B0GlnRX+3rudQSNttX0aT4DbBlsGr2rPy94xnjyrmPbxJ9Gt2XInW Gh60z3FQhhSE1QJ04cvAQIcnqg1C6/CqzBKTW5T0fgMJLLHnOFz1VXZghwTezaFPWFbz f/znEe7UUX8Wa3RQSHDpfBR7seTwrTAk+3ORWrnXXhvCJJlMjBS5p4qMkj+BzV0Iqtl0 tBTg== 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; bh=7lCRc7hGzf9ise973YyyHrpqVwKxDStm3iSkk/I3xMo=; b=Ht85lADUvwxS2zUnJoCxfdH5MNe0EpaohBJJ03Dd9fk8kWQsb3JNsbsrRd31S+/BNX NpNEc8Gi+eAr2SsA2SGCCPWx77QA0eETGLUR0jt6bRh975jZ/oVfAERPBWY98I25gn95 Dumio9pT8tQlKYqAvaVZX/6/skL0/khfj3qChQxVCuN3MWsG9fFFZwmnqk0nGLVodA03 i6n96L90J9IRlIFLE8zoBT5rCGj9jWsMCzYc1Mk1xavW+1B2d0hbvoT/+ypPVIHvP5SH a6LmwAcNlXUpQKWiXoa+v/K+ouY9lZI4OPrVCZj+W2Mxy304UZ8tgOkcv3j6uubOyQIr XqVQ== X-Gm-Message-State: ALoCoQntip4U121fG5a9WJnBoLjkNb2Z3jMnjGfOc8/Y6x565ep2MYVZD7y4XPv7fnROCWsVTO8D X-Received: by 10.66.97.8 with SMTP id dw8mr13021958pab.113.1446771868925; Thu, 05 Nov 2015 17:04:28 -0800 (PST) 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 qn5sm10105951pac.41.2015.11.05.17.04.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Nov 2015 17:04:27 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Date: Thu, 5 Nov 2015 17:04:32 -0800 Message-Id: <1446771879-3979-1-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH v2 0/7] ethdev: force deprecation of 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: Fri, 06 Nov 2015 01:04:30 -0000 Several fields in ether statistics were tagged with comment that they were going to be deprecated, but comments don't cause compile warnings. Instead use Gcc attributes to force the issue. Of course to do that, all the drivers and tests which are using those fields have to be fixed first. The input multicast statistic was listed as deprecated, but I find it useful, and therefore the first patch is to revive it. Stephen Hemminger (7): ether: don't mark input multicast for deprecation bond: don't sum deprecated statistics cxgbe: don't report deprecated statistics i40e: don't report deprecated statistics e1000: don't report deprecated statistics test-pmd: remove references to deprecated statistics rte_ether: mark deprecated statistics with attribute app/test-pmd/config.c | 22 ++-------------------- app/test-pmd/testpmd.c | 26 ++------------------------ app/test/test_pmd_perf.c | 7 ++----- drivers/net/bonding/rte_eth_bond_pmd.c | 7 +------ drivers/net/cxgbe/cxgbe_ethdev.c | 10 +++------- drivers/net/e1000/em_ethdev.c | 12 ++---------- drivers/net/e1000/igb_ethdev.c | 12 ++---------- drivers/net/i40e/i40e_ethdev.c | 9 ++++----- drivers/net/ixgbe/ixgbe_ethdev.c | 1 - lib/librte_eal/common/include/rte_common.h | 3 +++ lib/librte_ether/rte_ethdev.h | 19 +++++++++---------- 11 files changed, 30 insertions(+), 98 deletions(-) -- 2.1.4