/linux-3.4.99/drivers/net/ethernet/neterion/vxge/ |
D | vxge-ethtool.c | 290 *ptr++ = vpath_info->tx_stats.tx_ttl_eth_frms; in vxge_get_ethtool_stats() 291 *ptr++ = vpath_info->tx_stats.tx_ttl_eth_octets; in vxge_get_ethtool_stats() 292 *ptr++ = vpath_info->tx_stats.tx_data_octets; in vxge_get_ethtool_stats() 293 *ptr++ = vpath_info->tx_stats.tx_mcast_frms; in vxge_get_ethtool_stats() 294 *ptr++ = vpath_info->tx_stats.tx_bcast_frms; in vxge_get_ethtool_stats() 295 *ptr++ = vpath_info->tx_stats.tx_ucast_frms; in vxge_get_ethtool_stats() 296 *ptr++ = vpath_info->tx_stats.tx_tagged_frms; in vxge_get_ethtool_stats() 297 *ptr++ = vpath_info->tx_stats.tx_vld_ip; in vxge_get_ethtool_stats() 298 *ptr++ = vpath_info->tx_stats.tx_vld_ip_octets; in vxge_get_ethtool_stats() 299 *ptr++ = vpath_info->tx_stats.tx_icmp; in vxge_get_ethtool_stats() [all …]
|
/linux-3.4.99/drivers/net/wireless/ath/carl9170/ |
D | debug.c | 256 ar->tx_stats[0].len, ar->tx_stats[0].limit, in carl9170_debugfs_qos_stat_read() 257 ar->tx_stats[1].len, ar->tx_stats[1].limit, in carl9170_debugfs_qos_stat_read() 258 ar->tx_stats[2].len, ar->tx_stats[2].limit, in carl9170_debugfs_qos_stat_read() 259 ar->tx_stats[3].len, ar->tx_stats[3].limit); in carl9170_debugfs_qos_stat_read() 264 ar->tx_stats[0].count, ar->tx_stats[1].count, in carl9170_debugfs_qos_stat_read() 265 ar->tx_stats[2].count, ar->tx_stats[3].count); in carl9170_debugfs_qos_stat_read()
|
D | tx.c | 93 ar->tx_stats[queue].len++; in carl9170_tx_accounting() 94 ar->tx_stats[queue].count++; in carl9170_tx_accounting() 98 if (mem_full || ar->tx_stats[i].len >= ar->tx_stats[i].limit) { in carl9170_tx_accounting() 165 ar->tx_stats[queue].len--; in carl9170_tx_accounting_free() 170 if (ar->tx_stats[i].len >= CARL9170_NUM_TX_LIMIT_SOFT) in carl9170_tx_accounting_free()
|
D | carl9170.h | 370 struct carl9170_tx_queue_stats tx_stats[__AR9170_NUM_TXQ]; member
|
D | main.c | 307 memset(&ar->tx_stats, 0, sizeof(ar->tx_stats)); in carl9170_zap_queues() 309 ar->tx_stats[i].limit = CARL9170_NUM_TX_LIMIT_HARD; in carl9170_zap_queues()
|
/linux-3.4.99/drivers/net/wireless/p54/ |
D | main.c | 217 priv->tx_stats[i].count = 0; in p54_stop() 218 priv->tx_stats[i].len = 0; in p54_stop() 649 BUILD_BUG_ON(P54_QUEUE_NUM > ARRAY_SIZE(priv->tx_stats)); in p54_flush_count() 657 total += priv->tx_stats[i].len; in p54_flush_count() 749 priv->tx_stats[P54_QUEUE_BEACON].limit = 1; in p54_init_common() 750 priv->tx_stats[P54_QUEUE_FWSCAN].limit = 1; in p54_init_common() 751 priv->tx_stats[P54_QUEUE_MGMT].limit = 3; in p54_init_common() 752 priv->tx_stats[P54_QUEUE_CAB].limit = 3; in p54_init_common() 753 priv->tx_stats[P54_QUEUE_DATA].limit = 5; in p54_init_common()
|
D | fwio.c | 146 priv->tx_stats[P54_QUEUE_AC_VO].limit = 16; in p54_parse_firmware() 147 priv->tx_stats[P54_QUEUE_AC_VI].limit = 16; in p54_parse_firmware() 148 priv->tx_stats[P54_QUEUE_AC_BE].limit = 16; in p54_parse_firmware() 149 priv->tx_stats[P54_QUEUE_AC_BK].limit = 16; in p54_parse_firmware() 151 priv->tx_stats[P54_QUEUE_AC_VO].limit = 3; in p54_parse_firmware() 152 priv->tx_stats[P54_QUEUE_AC_VI].limit = 4; in p54_parse_firmware() 153 priv->tx_stats[P54_QUEUE_AC_BE].limit = 3; in p54_parse_firmware() 154 priv->tx_stats[P54_QUEUE_AC_BK].limit = 2; in p54_parse_firmware()
|
D | txrx.c | 179 if (priv->tx_stats[i + P54_QUEUE_DATA].len < in p54_wake_queues() 180 priv->tx_stats[i + P54_QUEUE_DATA].limit) in p54_wake_queues() 196 queue = &priv->tx_stats[p54_queue]; in p54_tx_qos_accounting_alloc() 223 priv->tx_stats[GET_HW_QUEUE(skb)].len--; in p54_tx_qos_accounting_free() 915 txhdr->backlog = priv->tx_stats[queue].len - 1; in p54_tx_80211()
|
D | p54.h | 193 struct p54_tx_queue_stats tx_stats[8]; member
|
/linux-3.4.99/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_debug.c | 202 priv->debug.tx_stats.buf_queued); in read_file_xmit() 205 priv->debug.tx_stats.buf_completed); in read_file_xmit() 208 priv->debug.tx_stats.skb_queued); in read_file_xmit() 211 priv->debug.tx_stats.skb_success); in read_file_xmit() 214 priv->debug.tx_stats.skb_failed); in read_file_xmit() 217 priv->debug.tx_stats.cab_queued); in read_file_xmit() 221 priv->debug.tx_stats.queue_stats[WME_AC_BE]); in read_file_xmit() 224 priv->debug.tx_stats.queue_stats[WME_AC_BK]); in read_file_xmit() 227 priv->debug.tx_stats.queue_stats[WME_AC_VI]); in read_file_xmit() 230 priv->debug.tx_stats.queue_stats[WME_AC_VO]); in read_file_xmit()
|
D | htc.h | 319 #define TX_STAT_INC(c) (hif_dev->htc_handle->drv_priv->debug.tx_stats.c++) 321 #define CAB_STAT_INC priv->debug.tx_stats.cab_queued++ 323 #define TX_QSTAT_INC(q) (priv->debug.tx_stats.queue_stats[q]++) 354 struct ath_tx_stats tx_stats; member
|
/linux-3.4.99/drivers/net/wireless/iwlegacy/ |
D | debug.c | 37 memset(&il->tx_stats, 0, sizeof(struct traffic_stats)); in il_clear_traffic_stats() 51 stats = &il->tx_stats; in il_update_stats() 250 il_get_mgmt_string(cnt), il->tx_stats.mgmt[cnt]); in il_dbgfs_tx_stats_read() 256 il_get_ctrl_string(cnt), il->tx_stats.ctrl[cnt]); in il_dbgfs_tx_stats_read() 261 il->tx_stats.data_cnt); in il_dbgfs_tx_stats_read() 264 il->tx_stats.data_bytes); in il_dbgfs_tx_stats_read() 1328 DEBUGFS_READ_FILE_OPS(tx_stats); 1381 DEBUGFS_ADD_FILE(tx_stats, dir_debug, S_IRUSR); in il_dbgfs_register()
|
/linux-3.4.99/drivers/net/ethernet/realtek/ |
D | 8139too.c | 590 struct rtl8139_stats tx_stats; member 1820 u64_stats_update_begin(&tp->tx_stats.syncp); in rtl8139_tx_interrupt() 1821 tp->tx_stats.packets++; in rtl8139_tx_interrupt() 1822 tp->tx_stats.bytes += txstatus & 0x7ff; in rtl8139_tx_interrupt() 1823 u64_stats_update_end(&tp->tx_stats.syncp); in rtl8139_tx_interrupt() 2556 start = u64_stats_fetch_begin_bh(&tp->tx_stats.syncp); in rtl8139_get_stats64() 2557 stats->tx_packets = tp->tx_stats.packets; in rtl8139_get_stats64() 2558 stats->tx_bytes = tp->tx_stats.bytes; in rtl8139_get_stats64() 2559 } while (u64_stats_fetch_retry_bh(&tp->tx_stats.syncp, start)); in rtl8139_get_stats64()
|
D | r8169.c | 698 struct rtl8169_stats tx_stats; member 5339 u64_stats_update_begin(&tp->tx_stats.syncp); in rtl_tx() 5340 tp->tx_stats.packets++; in rtl_tx() 5341 tp->tx_stats.bytes += tx_skb->skb->len; in rtl_tx() 5342 u64_stats_update_end(&tp->tx_stats.syncp); in rtl_tx() 5800 start = u64_stats_fetch_begin_bh(&tp->tx_stats.syncp); in rtl8169_get_stats64() 5801 stats->tx_packets = tp->tx_stats.packets; in rtl8169_get_stats64() 5802 stats->tx_bytes = tp->tx_stats.bytes; in rtl8169_get_stats64() 5803 } while (u64_stats_fetch_retry_bh(&tp->tx_stats.syncp, start)); in rtl8169_get_stats64()
|
/linux-3.4.99/drivers/net/wireless/ |
D | mwl8k.c | 316 struct tx_traffic_info tx_stats[MWL8K_MAX_TID]; member 1798 struct tx_traffic_info *tx_stats; in mwl8k_ampdu_allowed() local 1801 tx_stats = &sta_info->tx_stats[tid]; in mwl8k_ampdu_allowed() 1804 tx_stats->pkts > MWL8K_AMPDU_PACKET_THRESHOLD; in mwl8k_ampdu_allowed() 1810 struct tx_traffic_info *tx_stats; in mwl8k_tx_count_packet() local 1813 tx_stats = &sta_info->tx_stats[tid]; in mwl8k_tx_count_packet() 1815 if (tx_stats->start_time == 0) in mwl8k_tx_count_packet() 1816 tx_stats->start_time = jiffies; in mwl8k_tx_count_packet() 1822 if (jiffies - tx_stats->start_time > HZ) { in mwl8k_tx_count_packet() 1823 tx_stats->pkts = 0; in mwl8k_tx_count_packet() [all …]
|
/linux-3.4.99/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 460 const struct be_tx_stats *tx_stats = tx_stats(txo); in be_get_stats64() local 462 start = u64_stats_fetch_begin_bh(&tx_stats->sync); in be_get_stats64() 463 pkts = tx_stats(txo)->tx_pkts; in be_get_stats64() 464 bytes = tx_stats(txo)->tx_bytes; in be_get_stats64() 465 } while (u64_stats_fetch_retry_bh(&tx_stats->sync, start)); in be_get_stats64() 518 struct be_tx_stats *stats = tx_stats(txo); in be_tx_stats_update() 2006 u64_stats_update_begin(&tx_stats(txo)->sync_compl); in be_process_tx() 2007 tx_stats(txo)->tx_compl += work_done; in be_process_tx() 2008 u64_stats_update_end(&tx_stats(txo)->sync_compl); in be_process_tx()
|
D | be.h | 421 #define tx_stats(txo) (&(txo)->stats) macro
|
/linux-3.4.99/drivers/net/ethernet/intel/igb/ |
D | igb.h | 234 struct igb_tx_queue_stats tx_stats; member
|
D | igb_ethtool.c | 2098 data[i] = ring->tx_stats.packets; in igb_get_ethtool_stats() 2099 data[i+1] = ring->tx_stats.bytes; in igb_get_ethtool_stats() 2100 data[i+2] = ring->tx_stats.restart_queue; in igb_get_ethtool_stats() 2104 restart2 = ring->tx_stats.restart_queue2; in igb_get_ethtool_stats()
|
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe.h | 245 struct ixgbe_tx_queue_stats tx_stats; member
|
D | ixgbe_main.c | 689 u32 tx_done_old = tx_ring->tx_stats.tx_done_old; in ixgbe_check_tx_hang() 713 tx_ring->tx_stats.tx_done_old = tx_done; in ixgbe_check_tx_hang() 883 ++tx_ring->tx_stats.restart_queue; in ixgbe_clean_tx_irq() 5045 restart_queue += tx_ring->tx_stats.restart_queue; in ixgbe_update_stats() 5046 tx_busy += tx_ring->tx_stats.tx_busy; in ixgbe_update_stats() 6151 ++tx_ring->tx_stats.restart_queue; in __ixgbe_maybe_stop_tx() 6216 tx_ring->tx_stats.tx_busy++; in ixgbe_xmit_frame_ring()
|
/linux-3.4.99/drivers/net/wireless/iwlwifi/ |
D | iwl-core.c | 1128 memset(&priv->tx_stats, 0, sizeof(struct traffic_stats)); in iwl_clear_traffic_stats() 1147 stats = &priv->tx_stats; in iwl_update_stats()
|
D | iwl-dev.h | 829 struct traffic_stats tx_stats; member
|
/linux-3.4.99/drivers/net/ethernet/marvell/ |
D | sky2.c | 2050 u64_stats_update_begin(&sky2->tx_stats.syncp); in sky2_tx_complete() 2051 sky2->tx_stats.packets += pkts_compl; in sky2_tx_complete() 2052 sky2->tx_stats.bytes += bytes_compl; in sky2_tx_complete() 2053 u64_stats_update_end(&sky2->tx_stats.syncp); in sky2_tx_complete() 3904 start = u64_stats_fetch_begin_bh(&sky2->tx_stats.syncp); in sky2_get_stats() 3905 _bytes = sky2->tx_stats.bytes; in sky2_get_stats() 3906 _packets = sky2->tx_stats.packets; in sky2_get_stats() 3907 } while (u64_stats_fetch_retry_bh(&sky2->tx_stats.syncp, start)); in sky2_get_stats()
|
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/ |
D | wmi.h | 1620 struct tx_stats { struct 1691 struct tx_stats tx;
|