Commit 9c432ada authored by Jacob Keller's avatar Jacob Keller Committed by Jeff Kirsher

ixgbe: rename LL_EXTENDED_STATS to use queue instead of q

This patch renames the stats introduced by the busy poll feature so that they
are more inline with the current statistics naming schemes.
Signed-off-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Tested-by: default avatarPhil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 8fecf67c
...@@ -1141,11 +1141,11 @@ static void ixgbe_get_strings(struct net_device *netdev, u32 stringset, ...@@ -1141,11 +1141,11 @@ static void ixgbe_get_strings(struct net_device *netdev, u32 stringset,
sprintf(p, "tx_queue_%u_bytes", i); sprintf(p, "tx_queue_%u_bytes", i);
p += ETH_GSTRING_LEN; p += ETH_GSTRING_LEN;
#ifdef LL_EXTENDED_STATS #ifdef LL_EXTENDED_STATS
sprintf(p, "tx_q_%u_napi_yield", i); sprintf(p, "tx_queue_%u_ll_napi_yield", i);
p += ETH_GSTRING_LEN; p += ETH_GSTRING_LEN;
sprintf(p, "tx_q_%u_misses", i); sprintf(p, "tx_queue_%u_ll_misses", i);
p += ETH_GSTRING_LEN; p += ETH_GSTRING_LEN;
sprintf(p, "tx_q_%u_cleaned", i); sprintf(p, "tx_queue_%u_ll_cleaned", i);
p += ETH_GSTRING_LEN; p += ETH_GSTRING_LEN;
#endif /* LL_EXTENDED_STATS */ #endif /* LL_EXTENDED_STATS */
} }
...@@ -1155,11 +1155,11 @@ static void ixgbe_get_strings(struct net_device *netdev, u32 stringset, ...@@ -1155,11 +1155,11 @@ static void ixgbe_get_strings(struct net_device *netdev, u32 stringset,
sprintf(p, "rx_queue_%u_bytes", i); sprintf(p, "rx_queue_%u_bytes", i);
p += ETH_GSTRING_LEN; p += ETH_GSTRING_LEN;
#ifdef LL_EXTENDED_STATS #ifdef LL_EXTENDED_STATS
sprintf(p, "rx_q_%u_ll_poll_yield", i); sprintf(p, "rx_queue_%u_ll_poll_yield", i);
p += ETH_GSTRING_LEN; p += ETH_GSTRING_LEN;
sprintf(p, "rx_q_%u_misses", i); sprintf(p, "rx_queue_%u_ll_misses", i);
p += ETH_GSTRING_LEN; p += ETH_GSTRING_LEN;
sprintf(p, "rx_q_%u_cleaned", i); sprintf(p, "rx_queue_%u_ll_cleaned", i);
p += ETH_GSTRING_LEN; p += ETH_GSTRING_LEN;
#endif /* LL_EXTENDED_STATS */ #endif /* LL_EXTENDED_STATS */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment