aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-05-27 10:56:35 +0300
committerMatias Elo <matias.elo@nokia.com>2021-05-31 16:11:27 +0300
commitfb630dde2fc909924c72a9aca87196fa6562cee7 (patch)
treea4e34372944d06877ce01ec1d0776bdb96437980
parent13942b0348a895b65163c56f1b26d5c99c487d57 (diff)
linux-dpdk: pktio: remove usage of deprecated in_unknown_protos counter
odp_pktio_stats_t.in_unknown_protos statistics counter has been deprecated. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
-rw-r--r--platform/linux-dpdk/odp_packet_dpdk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/linux-dpdk/odp_packet_dpdk.c b/platform/linux-dpdk/odp_packet_dpdk.c
index 7fd4de06d..a1b11473b 100644
--- a/platform/linux-dpdk/odp_packet_dpdk.c
+++ b/platform/linux-dpdk/odp_packet_dpdk.c
@@ -1422,7 +1422,6 @@ static void stats_convert(struct rte_eth_stats *rte_stats,
stats->in_ucast_pkts = 0;
stats->in_discards = rte_stats->imissed;
stats->in_errors = rte_stats->ierrors;
- stats->in_unknown_protos = 0;
stats->out_octets = rte_stats->obytes;
stats->out_ucast_pkts = 0;
stats->out_discards = 0;