/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_stats.c | 292 struct ocrdma_tx_stats *tx_stats = &rdma_stats->tx_stats; in ocrdma_tx_stats() local 298 convert_to_64bit(tx_stats->send_pkts_lo, in ocrdma_tx_stats() 299 tx_stats->send_pkts_hi)); in ocrdma_tx_stats() 301 convert_to_64bit(tx_stats->write_pkts_lo, in ocrdma_tx_stats() 302 tx_stats->write_pkts_hi)); in ocrdma_tx_stats() 304 convert_to_64bit(tx_stats->read_pkts_lo, in ocrdma_tx_stats() 305 tx_stats->read_pkts_hi)); in ocrdma_tx_stats() 307 convert_to_64bit(tx_stats->read_rsp_pkts_lo, in ocrdma_tx_stats() 308 tx_stats->read_rsp_pkts_hi)); in ocrdma_tx_stats() 310 convert_to_64bit(tx_stats->ack_pkts_lo, in ocrdma_tx_stats() [all …]
|
/drivers/net/wireless/rsi/ |
D | rsi_91x_debugfs.c | 144 common->tx_stats.total_tx_pkt_send[MGMT_SOFT_Q]); in rsi_stats_read() 148 common->tx_stats.total_tx_pkt_freed[MGMT_SOFT_Q]); in rsi_stats_read() 152 common->tx_stats.total_tx_pkt_send[VO_Q]); in rsi_stats_read() 156 common->tx_stats.total_tx_pkt_freed[VO_Q]); in rsi_stats_read() 158 common->tx_stats.total_tx_pkt_send[VI_Q]); in rsi_stats_read() 162 common->tx_stats.total_tx_pkt_freed[VI_Q]); in rsi_stats_read() 164 common->tx_stats.total_tx_pkt_send[BE_Q]); in rsi_stats_read() 168 common->tx_stats.total_tx_pkt_freed[BE_Q]); in rsi_stats_read() 170 common->tx_stats.total_tx_pkt_send[BK_Q]); in rsi_stats_read() 174 common->tx_stats.total_tx_pkt_freed[BK_Q]); in rsi_stats_read()
|
/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[IEEE80211_AC_BE]); in read_file_xmit() 224 priv->debug.tx_stats.queue_stats[IEEE80211_AC_BK]); in read_file_xmit() 227 priv->debug.tx_stats.queue_stats[IEEE80211_AC_VI]); in read_file_xmit() 230 priv->debug.tx_stats.queue_stats[IEEE80211_AC_VO]); in read_file_xmit() [all …]
|
D | htc.h | 331 #define CAB_STAT_INC(priv) do { ((priv)->debug.tx_stats.cab_queued++); } while (0) 332 #define TX_QSTAT_INC(priv, q) do { ((priv)->debug.tx_stats.queue_stats[q]++); } while (0) 335 __STAT_SAFE((hif_dev), (hif_dev)->htc_handle->drv_priv->debug.tx_stats.c++) 337 __STAT_SAFE((hif_dev), (hif_dev)->htc_handle->drv_priv->debug.tx_stats.c += a) 366 struct ath_tx_stats tx_stats; member
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ethtool.c | 1306 struct qlcnic_tx_queue_stats tx_stats; in qlcnic_update_stats() local 1310 memset(&tx_stats, 0, sizeof(tx_stats)); in qlcnic_update_stats() 1313 tx_stats.xmit_on += tx_ring->tx_stats.xmit_on; in qlcnic_update_stats() 1314 tx_stats.xmit_off += tx_ring->tx_stats.xmit_off; in qlcnic_update_stats() 1315 tx_stats.xmit_called += tx_ring->tx_stats.xmit_called; in qlcnic_update_stats() 1316 tx_stats.xmit_finished += tx_ring->tx_stats.xmit_finished; in qlcnic_update_stats() 1317 tx_stats.tx_bytes += tx_ring->tx_stats.tx_bytes; in qlcnic_update_stats() 1320 adapter->stats.xmit_on = tx_stats.xmit_on; in qlcnic_update_stats() 1321 adapter->stats.xmit_off = tx_stats.xmit_off; in qlcnic_update_stats() 1322 adapter->stats.xmitcalled = tx_stats.xmit_called; in qlcnic_update_stats() [all …]
|
/drivers/net/ethernet/neterion/vxge/ |
D | vxge-ethtool.c | 312 *ptr++ = vpath_info->tx_stats.tx_ttl_eth_frms; in vxge_get_ethtool_stats() 313 *ptr++ = vpath_info->tx_stats.tx_ttl_eth_octets; in vxge_get_ethtool_stats() 314 *ptr++ = vpath_info->tx_stats.tx_data_octets; in vxge_get_ethtool_stats() 315 *ptr++ = vpath_info->tx_stats.tx_mcast_frms; in vxge_get_ethtool_stats() 316 *ptr++ = vpath_info->tx_stats.tx_bcast_frms; in vxge_get_ethtool_stats() 317 *ptr++ = vpath_info->tx_stats.tx_ucast_frms; in vxge_get_ethtool_stats() 318 *ptr++ = vpath_info->tx_stats.tx_tagged_frms; in vxge_get_ethtool_stats() 319 *ptr++ = vpath_info->tx_stats.tx_vld_ip; in vxge_get_ethtool_stats() 320 *ptr++ = vpath_info->tx_stats.tx_vld_ip_octets; in vxge_get_ethtool_stats() 321 *ptr++ = vpath_info->tx_stats.tx_icmp; in vxge_get_ethtool_stats() [all …]
|
/drivers/net/wireless/ath/carl9170/ |
D | debug.c | 253 ar->tx_stats[0].len, ar->tx_stats[0].limit, in carl9170_debugfs_qos_stat_read() 254 ar->tx_stats[1].len, ar->tx_stats[1].limit, in carl9170_debugfs_qos_stat_read() 255 ar->tx_stats[2].len, ar->tx_stats[2].limit, in carl9170_debugfs_qos_stat_read() 256 ar->tx_stats[3].len, ar->tx_stats[3].limit); in carl9170_debugfs_qos_stat_read() 261 ar->tx_stats[0].count, ar->tx_stats[1].count, in carl9170_debugfs_qos_stat_read() 262 ar->tx_stats[2].count, ar->tx_stats[3].count); in carl9170_debugfs_qos_stat_read()
|
/drivers/net/wireless/intersil/p54/ |
D | main.c | 214 priv->tx_stats[i].count = 0; in p54_stop() 215 priv->tx_stats[i].len = 0; in p54_stop() 654 BUILD_BUG_ON(P54_QUEUE_NUM > ARRAY_SIZE(priv->tx_stats)); in p54_flush_count() 662 total += priv->tx_stats[i].len; in p54_flush_count() 756 priv->tx_stats[P54_QUEUE_BEACON].limit = 1; in p54_init_common() 757 priv->tx_stats[P54_QUEUE_FWSCAN].limit = 1; in p54_init_common() 758 priv->tx_stats[P54_QUEUE_MGMT].limit = 3; in p54_init_common() 759 priv->tx_stats[P54_QUEUE_CAB].limit = 3; in p54_init_common() 760 priv->tx_stats[P54_QUEUE_DATA].limit = 5; in p54_init_common()
|
D | fwio.c | 142 priv->tx_stats[P54_QUEUE_AC_VO].limit = 16; in p54_parse_firmware() 143 priv->tx_stats[P54_QUEUE_AC_VI].limit = 16; in p54_parse_firmware() 144 priv->tx_stats[P54_QUEUE_AC_BE].limit = 16; in p54_parse_firmware() 145 priv->tx_stats[P54_QUEUE_AC_BK].limit = 16; in p54_parse_firmware() 147 priv->tx_stats[P54_QUEUE_AC_VO].limit = 3; in p54_parse_firmware() 148 priv->tx_stats[P54_QUEUE_AC_VI].limit = 4; in p54_parse_firmware() 149 priv->tx_stats[P54_QUEUE_AC_BE].limit = 3; in p54_parse_firmware() 150 priv->tx_stats[P54_QUEUE_AC_BK].limit = 2; in p54_parse_firmware()
|
D | txrx.c | 178 if (priv->tx_stats[i + P54_QUEUE_DATA].len < in p54_wake_queues() 179 priv->tx_stats[i + P54_QUEUE_DATA].limit) in p54_wake_queues() 195 queue = &priv->tx_stats[p54_queue]; in p54_tx_qos_accounting_alloc() 222 priv->tx_stats[GET_HW_QUEUE(skb)].len--; in p54_tx_qos_accounting_free() 927 txhdr->backlog = priv->tx_stats[queue].len - 1; in p54_tx_80211()
|
/drivers/net/wireless/ath/ath11k/ |
D | debugfs_sta.c | 20 struct ath11k_htt_tx_stats *tx_stats; in ath11k_debugfs_sta_add_tx_stats() local 23 if (!arsta->tx_stats) in ath11k_debugfs_sta_add_tx_stats() 26 tx_stats = arsta->tx_stats; in ath11k_debugfs_sta_add_tx_stats() 32 #define STATS_OP_FMT(name) tx_stats->stats[ATH11K_STATS_TYPE_##name] in ath11k_debugfs_sta_add_tx_stats() 67 tx_stats->ba_fails += peer_stats->ba_fails; in ath11k_debugfs_sta_add_tx_stats() 98 tx_stats->ack_fails += peer_stats->ba_fails; in ath11k_debugfs_sta_add_tx_stats() 125 tx_stats->tx_duration += peer_stats->duration; in ath11k_debugfs_sta_add_tx_stats() 225 if (!arsta->tx_stats) in ath11k_dbg_sta_dump_tx_stats() 237 stats = &arsta->tx_stats->stats[k]; in ath11k_dbg_sta_dump_tx_stats() 294 arsta->tx_stats->tx_duration); in ath11k_dbg_sta_dump_tx_stats() [all …]
|
/drivers/net/ |
D | xen-netfront.c | 173 struct netfront_stats __percpu *tx_stats; member 618 struct netfront_stats *tx_stats = this_cpu_ptr(np->tx_stats); in xennet_xdp_xmit_one() local 636 u64_stats_update_begin(&tx_stats->syncp); in xennet_xdp_xmit_one() 637 tx_stats->bytes += xdpf->len; in xennet_xdp_xmit_one() 638 tx_stats->packets++; in xennet_xdp_xmit_one() 639 u64_stats_update_end(&tx_stats->syncp); in xennet_xdp_xmit_one() 713 struct netfront_stats *tx_stats = this_cpu_ptr(np->tx_stats); in xennet_start_xmit() local 849 u64_stats_update_begin(&tx_stats->syncp); in xennet_start_xmit() 850 tx_stats->bytes += skb->len; in xennet_start_xmit() 851 tx_stats->packets++; in xennet_start_xmit() [all …]
|
/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 3543 struct ath10k_htt_tx_stats *tx_stats; in ath10k_accumulate_per_peer_tx_stats() local 3547 if (!arsta->tx_stats) in ath10k_accumulate_per_peer_tx_stats() 3550 tx_stats = arsta->tx_stats; in ath10k_accumulate_per_peer_tx_stats() 3560 #define STATS_OP_FMT(name) tx_stats->stats[ATH10K_STATS_TYPE_##name] in ath10k_accumulate_per_peer_tx_stats() 3588 tx_stats->ba_fails += ATH10K_HW_BA_FAIL(pstats->flags); in ath10k_accumulate_per_peer_tx_stats() 3618 tx_stats->ack_fails += in ath10k_accumulate_per_peer_tx_stats() 3655 tx_stats->tx_duration += pstats->duration; in ath10k_accumulate_per_peer_tx_stats() 3791 struct htt_per_peer_tx_stats_ind *tx_stats; in ath10k_htt_fetch_peer_stats() local 3805 tx_stats = (struct htt_per_peer_tx_stats_ind *) in ath10k_htt_fetch_peer_stats() 3807 peer_id = __le16_to_cpu(tx_stats->peer_id); in ath10k_htt_fetch_peer_stats() [all …]
|
D | debugfs_sta.c | 666 if (!arsta->tx_stats) { in ath10k_dbg_sta_dump_tx_stats() 676 stats = &arsta->tx_stats->stats[k]; in ath10k_dbg_sta_dump_tx_stats() 734 arsta->tx_stats->tx_duration); in ath10k_dbg_sta_dump_tx_stats() 736 "BA fails\n %llu\n", arsta->tx_stats->ba_fails); in ath10k_dbg_sta_dump_tx_stats() 738 "ack fails\n %llu\n", arsta->tx_stats->ack_fails); in ath10k_dbg_sta_dump_tx_stats()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_vfr.c | 126 vf_rep->tx_stats.packets++; in bnxt_vf_rep_xmit() 127 vf_rep->tx_stats.bytes += len; in bnxt_vf_rep_xmit() 140 stats->tx_packets = vf_rep->tx_stats.packets; in bnxt_vf_rep_get_stats64() 141 stats->tx_bytes = vf_rep->tx_stats.bytes; in bnxt_vf_rep_get_stats64()
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 158 ring->tx_stats.prepare_ctx_err++; in ena_xmit_common() 169 ring->tx_stats.cnt++; in ena_xmit_common() 170 ring->tx_stats.bytes += bytes; in ena_xmit_common() 223 xdp_ring->tx_stats.napi_comp += napi_comp_call; in ena_xdp_io_poll() 224 xdp_ring->tx_stats.tx_poll++; in ena_xdp_io_poll() 268 xdp_ring->tx_stats.dma_mapping_err++; in ena_xdp_tx_map_buff() 324 xdp_ring->tx_stats.doorbells++; in ena_xdp_xmit_buff() 709 memset(&tx_ring->tx_stats, 0x0, sizeof(tx_ring->tx_stats)); in ena_setup_tx_resources() 1192 ring->tx_stats.bad_req_id++; in handle_invalid_req_id() 1306 tx_ring->tx_stats.queue_wakeup++; in ena_clean_tx_irq() [all …]
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_main.c | 98 struct hinic_txq_stats tx_stats; in gather_tx_stats() local 100 hinic_txq_get_stats(txq, &tx_stats); in gather_tx_stats() 102 nic_tx_stats->bytes += tx_stats.bytes; in gather_tx_stats() 103 nic_tx_stats->pkts += tx_stats.pkts; in gather_tx_stats() 104 nic_tx_stats->tx_busy += tx_stats.tx_busy; in gather_tx_stats() 105 nic_tx_stats->tx_wake += tx_stats.tx_wake; in gather_tx_stats() 106 nic_tx_stats->tx_dropped += tx_stats.tx_dropped; in gather_tx_stats() 107 nic_tx_stats->big_frags_pkts += tx_stats.big_frags_pkts; in gather_tx_stats()
|
/drivers/net/hyperv/ |
D | netvsc.c | 727 struct netvsc_stats *tx_stats; in netvsc_send_tx_complete() local 733 tx_stats = &net_device->chan_table[q_idx].tx_stats; in netvsc_send_tx_complete() 735 u64_stats_update_begin(&tx_stats->syncp); in netvsc_send_tx_complete() 736 tx_stats->packets += packet->total_packets; in netvsc_send_tx_complete() 737 tx_stats->bytes += packet->total_bytes; in netvsc_send_tx_complete() 738 u64_stats_update_end(&tx_stats->syncp); in netvsc_send_tx_complete() 1549 u64_stats_init(&nvchan->tx_stats.syncp); in netvsc_device_add()
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 819 tx_ring->tx_stats.csum_err++; in fm10k_tx_csum() 865 tx_ring->tx_stats.csum_err++; in fm10k_tx_csum() 871 tx_ring->tx_stats.csum_good++; in fm10k_tx_csum() 927 ++tx_ring->tx_stats.restart_queue; in __fm10k_maybe_stop_tx() 1078 tx_ring->tx_stats.tx_busy++; in fm10k_xmit_frame_ring() 1138 u32 tx_done_old = tx_ring->tx_stats.tx_done_old; in fm10k_check_tx_hang() 1153 tx_ring->tx_stats.tx_done_old = tx_done; in fm10k_check_tx_hang() 1327 ++tx_ring->tx_stats.restart_queue; in fm10k_clean_tx_irq()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | debug.c | 19 memset(&il->tx_stats, 0, sizeof(struct traffic_stats)); in il_clear_traffic_stats() 33 stats = &il->tx_stats; in il_update_stats() 219 il_get_mgmt_string(cnt), il->tx_stats.mgmt[cnt]); in il_dbgfs_tx_stats_read() 225 il_get_ctrl_string(cnt), il->tx_stats.ctrl[cnt]); in il_dbgfs_tx_stats_read() 230 il->tx_stats.data_cnt); in il_dbgfs_tx_stats_read() 233 il->tx_stats.data_bytes); in il_dbgfs_tx_stats_read() 1293 DEBUGFS_READ_FILE_OPS(tx_stats); 1337 DEBUGFS_ADD_FILE(tx_stats, dir_debug, 0400); in il_dbgfs_register()
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 168 if (tx_ring->tx_stats.prev_pkt_ctr == packets) { in iavf_detect_recover_hung() 177 tx_ring->tx_stats.prev_pkt_ctr = in iavf_detect_recover_hung() 322 ++tx_ring->tx_stats.restart_queue; in iavf_clean_tx_irq() 645 tx_ring->tx_stats.prev_pkt_ctr = -1; in iavf_setup_tx_descriptors() 1769 q_vector->tx.ring[0].tx_stats.tx_force_wb++; in iavf_napi_poll() 2249 ++tx_ring->tx_stats.restart_queue; in __iavf_maybe_stop_tx() 2430 tx_ring->tx_stats.tx_linearize++; in iavf_xmit_frame_ring() 2440 tx_ring->tx_stats.tx_busy++; in iavf_xmit_frame_ring()
|
/drivers/net/ethernet/via/ |
D | via-rhine.c | 472 struct rhine_stats tx_stats; member 928 u64_stats_init(&rp->tx_stats.syncp); in rhine_init_one_common() 1969 u64_stats_update_begin(&rp->tx_stats.syncp); in rhine_tx() 1970 rp->tx_stats.bytes += skb->len; in rhine_tx() 1971 rp->tx_stats.packets++; in rhine_tx() 1972 u64_stats_update_end(&rp->tx_stats.syncp); in rhine_tx() 2229 start = u64_stats_fetch_begin_irq(&rp->tx_stats.syncp); in rhine_get_stats64() 2230 stats->tx_packets = rp->tx_stats.packets; in rhine_get_stats64() 2231 stats->tx_bytes = rp->tx_stats.bytes; in rhine_get_stats64() 2232 } while (u64_stats_fetch_retry_irq(&rp->tx_stats.syncp, start)); in rhine_get_stats64()
|
/drivers/net/ethernet/ti/ |
D | netcp_core.c | 1005 struct netcp_stats *tx_stats = &netcp->stats; in netcp_process_tx_compl_packets() local 1020 tx_stats->tx_errors++; in netcp_process_tx_compl_packets() 1031 tx_stats->tx_errors++; in netcp_process_tx_compl_packets() 1048 u64_stats_update_begin(&tx_stats->syncp_tx); in netcp_process_tx_compl_packets() 1049 tx_stats->tx_packets++; in netcp_process_tx_compl_packets() 1050 tx_stats->tx_bytes += skb->len; in netcp_process_tx_compl_packets() 1051 u64_stats_update_end(&tx_stats->syncp_tx); in netcp_process_tx_compl_packets() 1268 struct netcp_stats *tx_stats = &netcp->stats; in netcp_ndo_start_xmit() local 1284 tx_stats->tx_dropped++; in netcp_ndo_start_xmit() 1310 tx_stats->tx_dropped++; in netcp_ndo_start_xmit()
|
/drivers/net/ethernet/realtek/ |
D | 8139too.c | 595 struct rtl8139_stats tx_stats; member 798 u64_stats_init(&tp->tx_stats.syncp); in rtl8139_init_board() 1805 u64_stats_update_begin(&tp->tx_stats.syncp); in rtl8139_tx_interrupt() 1806 tp->tx_stats.packets++; in rtl8139_tx_interrupt() 1807 tp->tx_stats.bytes += txstatus & 0x7ff; in rtl8139_tx_interrupt() 1808 u64_stats_update_end(&tp->tx_stats.syncp); in rtl8139_tx_interrupt() 2540 start = u64_stats_fetch_begin_irq(&tp->tx_stats.syncp); in rtl8139_get_stats64() 2541 stats->tx_packets = tp->tx_stats.packets; in rtl8139_get_stats64() 2542 stats->tx_bytes = tp->tx_stats.bytes; in rtl8139_get_stats64() 2543 } while (u64_stats_fetch_retry_irq(&tp->tx_stats.syncp, start)); in rtl8139_get_stats64()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 680 const struct be_tx_stats *tx_stats = tx_stats(txo); in be_get_stats64() local 683 start = u64_stats_fetch_begin_irq(&tx_stats->sync); in be_get_stats64() 684 pkts = tx_stats(txo)->tx_pkts; in be_get_stats64() 685 bytes = tx_stats(txo)->tx_bytes; in be_get_stats64() 686 } while (u64_stats_fetch_retry_irq(&tx_stats->sync, start)); in be_get_stats64() 747 struct be_tx_stats *stats = tx_stats(txo); in be_tx_stats_update() 1404 tx_stats(txo)->tx_stops++; in be_xmit() 1412 tx_stats(txo)->tx_drv_drops++; in be_xmit() 2672 tx_stats(txo)->tx_hdr_parse_err++; in be_update_tx_err() 2675 tx_stats(txo)->tx_dma_err++; in be_update_tx_err() [all …]
|