From 448fab12fbd4892721b5e199cf48a2079bacbe5c Mon Sep 17 00:00:00 2001 From: David Marchand Date: Mon, 3 Jun 2019 10:31:28 +0200 Subject: [PATCH] net/ice: fix dropped packets statistics name Copy/paste from i40e, let's align with the fix on i40e. Fixes: a37bde56314d ("net/ice: support statistics") Cc: stable@dpdk.org Signed-off-by: David Marchand Acked-by: Eelco Chaudron Acked-by: Qi Zhang --- drivers/net/ice/ice_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index 9705d6f1a5..713161bf46 100644 --- a/drivers/net/ice/ice_ethdev.c +++ b/drivers/net/ice/ice_ethdev.c @@ -153,13 +153,13 @@ static const struct ice_xstats_name_off ice_stats_strings[] = { {"rx_unicast_packets", offsetof(struct ice_eth_stats, rx_unicast)}, {"rx_multicast_packets", offsetof(struct ice_eth_stats, rx_multicast)}, {"rx_broadcast_packets", offsetof(struct ice_eth_stats, rx_broadcast)}, - {"rx_dropped", offsetof(struct ice_eth_stats, rx_discards)}, + {"rx_dropped_packets", offsetof(struct ice_eth_stats, rx_discards)}, {"rx_unknown_protocol_packets", offsetof(struct ice_eth_stats, rx_unknown_protocol)}, {"tx_unicast_packets", offsetof(struct ice_eth_stats, tx_unicast)}, {"tx_multicast_packets", offsetof(struct ice_eth_stats, tx_multicast)}, {"tx_broadcast_packets", offsetof(struct ice_eth_stats, tx_broadcast)}, - {"tx_dropped", offsetof(struct ice_eth_stats, tx_discards)}, + {"tx_dropped_packets", offsetof(struct ice_eth_stats, tx_discards)}, }; #define ICE_NB_ETH_XSTATS (sizeof(ice_stats_strings) / \ -- 2.20.1