/linux-5.19.10/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 …]
|
/linux-5.19.10/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()
|
/linux-5.19.10/drivers/net/hyperv/ |
D | netvsc_bpf.c | 252 struct netvsc_stats_tx *tx_stats; in netvsc_ndoxdp_xmit() local 285 tx_stats = &nvsc_dev->chan_table[q_idx].tx_stats; in netvsc_ndoxdp_xmit() 287 u64_stats_update_begin(&tx_stats->syncp); in netvsc_ndoxdp_xmit() 288 tx_stats->xdp_xmit += count; in netvsc_ndoxdp_xmit() 289 u64_stats_update_end(&tx_stats->syncp); in netvsc_ndoxdp_xmit()
|
D | netvsc_drv.c | 1312 const struct netvsc_stats_tx *tx_stats; in netvsc_get_pcpu_stats() local 1319 tx_stats = &nvchan->tx_stats; in netvsc_get_pcpu_stats() 1321 start = u64_stats_fetch_begin_irq(&tx_stats->syncp); in netvsc_get_pcpu_stats() 1322 packets = tx_stats->packets; in netvsc_get_pcpu_stats() 1323 bytes = tx_stats->bytes; in netvsc_get_pcpu_stats() 1324 } while (u64_stats_fetch_retry_irq(&tx_stats->syncp, start)); in netvsc_get_pcpu_stats() 1366 const struct netvsc_stats_tx *tx_stats; in netvsc_get_stats64() local 1371 tx_stats = &nvchan->tx_stats; in netvsc_get_stats64() 1373 start = u64_stats_fetch_begin_irq(&tx_stats->syncp); in netvsc_get_stats64() 1374 packets = tx_stats->packets; in netvsc_get_stats64() [all …]
|
D | netvsc.c | 809 struct netvsc_stats_tx *tx_stats; in netvsc_send_tx_complete() local 815 tx_stats = &net_device->chan_table[q_idx].tx_stats; in netvsc_send_tx_complete() 817 u64_stats_update_begin(&tx_stats->syncp); in netvsc_send_tx_complete() 818 tx_stats->packets += packet->total_packets; in netvsc_send_tx_complete() 819 tx_stats->bytes += packet->total_bytes; in netvsc_send_tx_complete() 820 u64_stats_update_end(&tx_stats->syncp); in netvsc_send_tx_complete() 1762 u64_stats_init(&nvchan->tx_stats.syncp); in netvsc_device_add()
|
/linux-5.19.10/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 TX_STAT_INC(c) __STAT_SAFE(hif_dev->htc_handle->drv_priv->debug.tx_stats.c++) 332 #define TX_STAT_ADD(c, a) __STAT_SAFE(hif_dev->htc_handle->drv_priv->debug.tx_stats.c += a) 335 #define CAB_STAT_INC priv->debug.tx_stats.cab_queued++ 337 #define TX_QSTAT_INC(q) (priv->debug.tx_stats.queue_stats[q]++) 362 struct ath_tx_stats tx_stats; member
|
/linux-5.19.10/drivers/net/ethernet/microsoft/mana/ |
D | mana_ethtool.c | 70 struct mana_stats_tx *tx_stats; in mana_get_ethtool_stats() local 101 tx_stats = &apc->tx_qp[q].txq.stats; in mana_get_ethtool_stats() 104 start = u64_stats_fetch_begin_irq(&tx_stats->syncp); in mana_get_ethtool_stats() 105 packets = tx_stats->packets; in mana_get_ethtool_stats() 106 bytes = tx_stats->bytes; in mana_get_ethtool_stats() 107 } while (u64_stats_fetch_retry_irq(&tx_stats->syncp, start)); in mana_get_ethtool_stats()
|
D | mana_en.c | 139 struct mana_stats_tx *tx_stats; in mana_start_xmit() local 273 tx_stats = &txq->stats; in mana_start_xmit() 274 u64_stats_update_begin(&tx_stats->syncp); in mana_start_xmit() 275 tx_stats->packets++; in mana_start_xmit() 276 tx_stats->bytes += len; in mana_start_xmit() 277 u64_stats_update_end(&tx_stats->syncp); in mana_start_xmit() 303 struct mana_stats_tx *tx_stats; in mana_get_stats64() local 327 tx_stats = &apc->tx_qp[q].txq.stats; in mana_get_stats64() 330 start = u64_stats_fetch_begin_irq(&tx_stats->syncp); in mana_get_stats64() 331 packets = tx_stats->packets; in mana_get_stats64() [all …]
|
/linux-5.19.10/drivers/net/ |
D | ifb.c | 55 struct ifb_q_stats tx_stats; member 112 ifb_update_q_stats(&txp->tx_stats, skb->len); in ifb_ri_tasklet() 173 start = u64_stats_fetch_begin_irq(&txp->tx_stats.sync); in ifb_stats64() 174 packets = txp->tx_stats.packets; in ifb_stats64() 175 bytes = txp->tx_stats.bytes; in ifb_stats64() 176 } while (u64_stats_fetch_retry_irq(&txp->tx_stats.sync, start)); in ifb_stats64() 200 u64_stats_init(&txp->tx_stats.sync); in ifb_dev_init() 272 ifb_fill_stats_data(&data, &txp->tx_stats); in ifb_get_ethtool_stats()
|
D | xen-netfront.c | 171 struct netfront_stats __percpu *tx_stats; member 616 struct netfront_stats *tx_stats = this_cpu_ptr(np->tx_stats); in xennet_xdp_xmit_one() local 634 u64_stats_update_begin(&tx_stats->syncp); in xennet_xdp_xmit_one() 635 tx_stats->bytes += xdpf->len; in xennet_xdp_xmit_one() 636 tx_stats->packets++; in xennet_xdp_xmit_one() 637 u64_stats_update_end(&tx_stats->syncp); in xennet_xdp_xmit_one() 709 struct netfront_stats *tx_stats = this_cpu_ptr(np->tx_stats); in xennet_start_xmit() local 845 u64_stats_update_begin(&tx_stats->syncp); in xennet_start_xmit() 846 tx_stats->bytes += skb->len; in xennet_start_xmit() 847 tx_stats->packets++; in xennet_start_xmit() [all …]
|
/linux-5.19.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ethtool.c | 1310 struct qlcnic_tx_queue_stats tx_stats; in qlcnic_update_stats() local 1314 memset(&tx_stats, 0, sizeof(tx_stats)); in qlcnic_update_stats() 1317 tx_stats.xmit_on += tx_ring->tx_stats.xmit_on; in qlcnic_update_stats() 1318 tx_stats.xmit_off += tx_ring->tx_stats.xmit_off; in qlcnic_update_stats() 1319 tx_stats.xmit_called += tx_ring->tx_stats.xmit_called; in qlcnic_update_stats() 1320 tx_stats.xmit_finished += tx_ring->tx_stats.xmit_finished; in qlcnic_update_stats() 1321 tx_stats.tx_bytes += tx_ring->tx_stats.tx_bytes; in qlcnic_update_stats() 1324 adapter->stats.xmit_on = tx_stats.xmit_on; in qlcnic_update_stats() 1325 adapter->stats.xmit_off = tx_stats.xmit_off; in qlcnic_update_stats() 1326 adapter->stats.xmitcalled = tx_stats.xmit_called; in qlcnic_update_stats() [all …]
|
/linux-5.19.10/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 …]
|
/linux-5.19.10/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()
|
/linux-5.19.10/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() 149 if (!arsta->tx_stats) in ath11k_dbg_sta_dump_tx_stats() 161 stats = &arsta->tx_stats->stats[k]; in ath11k_dbg_sta_dump_tx_stats() 218 arsta->tx_stats->tx_duration); in ath11k_dbg_sta_dump_tx_stats() [all …]
|
/linux-5.19.10/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() 923 txhdr->backlog = priv->tx_stats[queue].len - 1; in p54_tx_80211()
|
/linux-5.19.10/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 3666 struct ath10k_htt_tx_stats *tx_stats; in ath10k_accumulate_per_peer_tx_stats() local 3670 if (!arsta->tx_stats) in ath10k_accumulate_per_peer_tx_stats() 3673 tx_stats = arsta->tx_stats; in ath10k_accumulate_per_peer_tx_stats() 3683 #define STATS_OP_FMT(name) tx_stats->stats[ATH10K_STATS_TYPE_##name] in ath10k_accumulate_per_peer_tx_stats() 3711 tx_stats->ba_fails += ATH10K_HW_BA_FAIL(pstats->flags); in ath10k_accumulate_per_peer_tx_stats() 3741 tx_stats->ack_fails += in ath10k_accumulate_per_peer_tx_stats() 3778 tx_stats->tx_duration += pstats->duration; in ath10k_accumulate_per_peer_tx_stats() 3914 struct htt_per_peer_tx_stats_ind *tx_stats; in ath10k_htt_fetch_peer_stats() local 3928 tx_stats = (struct htt_per_peer_tx_stats_ind *) in ath10k_htt_fetch_peer_stats() 3930 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()
|
/linux-5.19.10/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 90 ena_increase_stat(&tx_ring->tx_stats.doorbells, 1, &tx_ring->syncp); in ena_ring_tx_doorbell() 165 ena_increase_stat(&ring->tx_stats.prepare_ctx_err, 1, in ena_xmit_common() 174 ring->tx_stats.cnt++; in ena_xmit_common() 175 ring->tx_stats.bytes += bytes; in ena_xmit_common() 227 xdp_ring->tx_stats.napi_comp += napi_comp_call; in ena_xdp_io_poll() 228 xdp_ring->tx_stats.tx_poll++; in ena_xdp_io_poll() 230 xdp_ring->tx_stats.last_napi_jiffies = jiffies; in ena_xdp_io_poll() 284 ena_increase_stat(&xdp_ring->tx_stats.dma_mapping_err, 1, in ena_xdp_tx_map_frame() 773 memset(&tx_ring->tx_stats, 0x0, sizeof(tx_ring->tx_stats)); in ena_setup_tx_resources() 1277 ena_increase_stat(&ring->tx_stats.bad_req_id, 1, &ring->syncp); in handle_invalid_req_id() [all …]
|
/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_vfr.c | 130 vf_rep->tx_stats.packets++; in bnxt_vf_rep_xmit() 131 vf_rep->tx_stats.bytes += len; in bnxt_vf_rep_xmit() 144 stats->tx_packets = vf_rep->tx_stats.packets; in bnxt_vf_rep_get_stats64() 145 stats->tx_bytes = vf_rep->tx_stats.bytes; in bnxt_vf_rep_get_stats64()
|
/linux-5.19.10/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 806 tx_ring->tx_stats.csum_err++; in fm10k_tx_csum() 852 tx_ring->tx_stats.csum_err++; in fm10k_tx_csum() 858 tx_ring->tx_stats.csum_good++; in fm10k_tx_csum() 914 ++tx_ring->tx_stats.restart_queue; in __fm10k_maybe_stop_tx() 1065 tx_ring->tx_stats.tx_busy++; in fm10k_xmit_frame_ring() 1125 u32 tx_done_old = tx_ring->tx_stats.tx_done_old; in fm10k_check_tx_hang() 1140 tx_ring->tx_stats.tx_done_old = tx_done; in fm10k_check_tx_hang() 1314 ++tx_ring->tx_stats.restart_queue; in fm10k_clean_tx_irq()
|
/linux-5.19.10/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()
|
/linux-5.19.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 165 if (tx_ring->tx_stats.prev_pkt_ctr == packets) { in iavf_detect_recover_hung() 174 tx_ring->tx_stats.prev_pkt_ctr = in iavf_detect_recover_hung() 319 ++tx_ring->tx_stats.restart_queue; in iavf_clean_tx_irq() 674 tx_ring->tx_stats.prev_pkt_ctr = -1; in iavf_setup_tx_descriptors() 1792 q_vector->tx.ring[0].tx_stats.tx_force_wb++; in iavf_napi_poll() 2262 ++tx_ring->tx_stats.restart_queue; in __iavf_maybe_stop_tx() 2443 tx_ring->tx_stats.tx_linearize++; in iavf_xmit_frame_ring() 2453 tx_ring->tx_stats.tx_busy++; in iavf_xmit_frame_ring()
|