DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 0/7] ethdev: force deprecation of statistics
@ 2015-11-06  1:04 Stephen Hemminger
  2015-11-06  1:04 ` [dpdk-dev] [PATCH 1/7] ether: don't mark input multicast for deprecation Stephen Hemminger
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Stephen Hemminger @ 2015-11-06  1:04 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-11-12 22:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-06  1:04 [dpdk-dev] [PATCH v2 0/7] ethdev: force deprecation of statistics Stephen Hemminger
2015-11-06  1:04 ` [dpdk-dev] [PATCH 1/7] ether: don't mark input multicast for deprecation Stephen Hemminger
2015-11-12 16:52   ` Thomas Monjalon
2015-11-12 22:10   ` Stephen Hemminger
2015-11-06  1:04 ` [dpdk-dev] [PATCH 2/7] bond: don't sum deprecated statistics Stephen Hemminger
2015-11-06  1:04 ` [dpdk-dev] [PATCH 3/7] cxgbe: don't report " Stephen Hemminger
2015-11-06  1:04 ` [dpdk-dev] [PATCH 4/7] i40e: " Stephen Hemminger
2015-11-06  1:04 ` [dpdk-dev] [PATCH 5/7] e1000: " Stephen Hemminger
2015-11-06  1:04 ` [dpdk-dev] [PATCH 6/7] test-pmd: remove references to " Stephen Hemminger
2015-11-06  1:04 ` [dpdk-dev] [PATCH 7/7] rte_ether: mark deprecated statistics with attribute Stephen Hemminger
2015-11-12 22:03   ` Thomas Monjalon
2015-11-12 22:07 ` [dpdk-dev] [PATCH v2 0/7] ethdev: force deprecation of statistics Thomas Monjalon

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).