sfc: Changed the statistic name emerg_{fetch,wait} to hlb_{fetch,wait}
authorShradha Shah <sshah@solarflare.com>
Thu, 28 Nov 2013 18:48:49 +0000 (18:48 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 12 Dec 2013 22:07:29 +0000 (22:07 +0000)
The original names are unnecessarily alarming.  Head-of-line blocking
is not an emergency.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/nic.h

index b6a0c2133b8a115d49c02045ee7ebdb8d3a24db8..d352bdc4e53ea01bd6e3eb74c05d2c012fa671ab 100644 (file)
@@ -774,8 +774,8 @@ static const struct efx_hw_stat_desc efx_ef10_stat_desc[EF10_STAT_COUNT] = {
        EF10_DMA_STAT(rx_dp_q_disabled_packets, RXDP_Q_DISABLED_PKTS),
        EF10_DMA_STAT(rx_dp_di_dropped_packets, RXDP_DI_DROPPED_PKTS),
        EF10_DMA_STAT(rx_dp_streaming_packets, RXDP_STREAMING_PKTS),
-       EF10_DMA_STAT(rx_dp_emerg_fetch, RXDP_EMERGENCY_FETCH_CONDITIONS),
-       EF10_DMA_STAT(rx_dp_emerg_wait, RXDP_EMERGENCY_WAIT_CONDITIONS),
+       EF10_DMA_STAT(rx_dp_hlb_fetch, RXDP_EMERGENCY_FETCH_CONDITIONS),
+       EF10_DMA_STAT(rx_dp_hlb_wait, RXDP_EMERGENCY_WAIT_CONDITIONS),
 };
 
 #define HUNT_COMMON_STAT_MASK ((1ULL << EF10_STAT_tx_bytes) |          \
@@ -844,8 +844,8 @@ static const struct efx_hw_stat_desc efx_ef10_stat_desc[EF10_STAT_COUNT] = {
        (1ULL << EF10_STAT_rx_dp_q_disabled_packets) |                  \
        (1ULL << EF10_STAT_rx_dp_di_dropped_packets) |                  \
        (1ULL << EF10_STAT_rx_dp_streaming_packets) |                   \
-       (1ULL << EF10_STAT_rx_dp_emerg_fetch) |                         \
-       (1ULL << EF10_STAT_rx_dp_emerg_wait))
+       (1ULL << EF10_STAT_rx_dp_hlb_fetch) |                           \
+       (1ULL << EF10_STAT_rx_dp_hlb_wait))
 
 static u64 efx_ef10_raw_stat_mask(struct efx_nic *efx)
 {
index e25aaf6bda87f29c2dc52d9e0437542fa34ef3cb..170ac6ee3ab236c50406714583f6e989bde75541 100644 (file)
@@ -412,8 +412,8 @@ enum {
        EF10_STAT_rx_dp_q_disabled_packets,
        EF10_STAT_rx_dp_di_dropped_packets,
        EF10_STAT_rx_dp_streaming_packets,
-       EF10_STAT_rx_dp_emerg_fetch,
-       EF10_STAT_rx_dp_emerg_wait,
+       EF10_STAT_rx_dp_hlb_fetch,
+       EF10_STAT_rx_dp_hlb_wait,
        EF10_STAT_COUNT
 };