summaryrefslogtreecommitdiff
path: root/examples/ethtool
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2016-04-15 11:01:51 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-04-20 13:49:31 +0200
commita61dc000d55dca9e0947fa067b7dc503f42af28a (patch)
tree7ba147c3b6b12c22574e2f8455e81f23de9ed8c7 /examples/ethtool
parent7d619406f31ddf115714b32778c33f6dc0ead470 (diff)
downloaddpdk-a61dc000d55dca9e0947fa067b7dc503f42af28a.zip
dpdk-a61dc000d55dca9e0947fa067b7dc503f42af28a.tar.gz
dpdk-a61dc000d55dca9e0947fa067b7dc503f42af28a.tar.xz
ethdev: remove deprecated statistics
Some statistics were deprecated since release 2.1 (49f386542af4). The last deprecated counter to be used was imcasts. The VF loopback statistics are also removed as they are used only in igb and duplicated in extended statistics. The new counters should be added to extended statistics. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Remy Horton <remy.horton@intel.com>
Diffstat (limited to 'examples/ethtool')
-rw-r--r--examples/ethtool/ethtool-app/ethapp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/ethtool/ethtool-app/ethapp.c b/examples/ethtool/ethtool-app/ethapp.c
index 2ed4796..38e466c 100644
--- a/examples/ethtool/ethtool-app/ethapp.c
+++ b/examples/ethtool/ethtool-app/ethapp.c
@@ -535,7 +535,6 @@ static void pcmd_portstats_callback(__rte_unused void *ptr_params,
}
stat = rte_ethtool_net_get_stats64(params->port, &stat_info);
if (stat == 0) {
- /* Most of rte_eth_stats is deprecated.. */
printf("Port %i stats\n", params->port);
printf(" In: %" PRIu64 " (%" PRIu64 " bytes)\n"
" Out: %"PRIu64" (%"PRIu64 " bytes)\n"