/linux-6.6.21/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-6.6.21/drivers/net/ethernet/microsoft/mana/ |
D | mana_ethtool.c | 111 struct mana_stats_tx *tx_stats; in mana_get_ethtool_stats() local 156 tx_stats = &apc->tx_qp[q].txq.stats; in mana_get_ethtool_stats() 159 start = u64_stats_fetch_begin(&tx_stats->syncp); in mana_get_ethtool_stats() 160 packets = tx_stats->packets; in mana_get_ethtool_stats() 161 bytes = tx_stats->bytes; in mana_get_ethtool_stats() 162 xdp_xmit = tx_stats->xdp_xmit; in mana_get_ethtool_stats() 163 tso_packets = tx_stats->tso_packets; in mana_get_ethtool_stats() 164 tso_bytes = tx_stats->tso_bytes; in mana_get_ethtool_stats() 165 tso_inner_packets = tx_stats->tso_inner_packets; in mana_get_ethtool_stats() 166 tso_inner_bytes = tx_stats->tso_inner_bytes; in mana_get_ethtool_stats() [all …]
|
D | mana_bpf.c | 55 struct mana_stats_tx *tx_stats; in mana_xdp_xmit() local 71 tx_stats = &apc->tx_qp[q_idx].txq.stats; in mana_xdp_xmit() 73 u64_stats_update_begin(&tx_stats->syncp); in mana_xdp_xmit() 74 tx_stats->xdp_xmit += count; in mana_xdp_xmit() 75 u64_stats_update_end(&tx_stats->syncp); in mana_xdp_xmit()
|
D | mana_en.c | 230 struct mana_stats_tx *tx_stats; in mana_start_xmit() local 246 tx_stats = &txq->stats; in mana_start_xmit() 270 u64_stats_update_begin(&tx_stats->syncp); in mana_start_xmit() 271 tx_stats->short_pkt_fmt++; in mana_start_xmit() 272 u64_stats_update_end(&tx_stats->syncp); in mana_start_xmit() 275 u64_stats_update_begin(&tx_stats->syncp); in mana_start_xmit() 276 tx_stats->long_pkt_fmt++; in mana_start_xmit() 277 u64_stats_update_end(&tx_stats->syncp); in mana_start_xmit() 302 u64_stats_update_begin(&tx_stats->syncp); in mana_start_xmit() 304 tx_stats->tso_inner_packets++; in mana_start_xmit() [all …]
|
/linux-6.6.21/drivers/net/wireless/rsi/ |
D | rsi_91x_debugfs.c | 143 common->tx_stats.total_tx_pkt_send[MGMT_SOFT_Q]); in rsi_stats_read() 147 common->tx_stats.total_tx_pkt_freed[MGMT_SOFT_Q]); in rsi_stats_read() 151 common->tx_stats.total_tx_pkt_send[VO_Q]); in rsi_stats_read() 155 common->tx_stats.total_tx_pkt_freed[VO_Q]); in rsi_stats_read() 157 common->tx_stats.total_tx_pkt_send[VI_Q]); in rsi_stats_read() 161 common->tx_stats.total_tx_pkt_freed[VI_Q]); in rsi_stats_read() 163 common->tx_stats.total_tx_pkt_send[BE_Q]); in rsi_stats_read() 167 common->tx_stats.total_tx_pkt_freed[BE_Q]); in rsi_stats_read() 169 common->tx_stats.total_tx_pkt_send[BK_Q]); in rsi_stats_read() 173 common->tx_stats.total_tx_pkt_freed[BK_Q]); in rsi_stats_read()
|
/linux-6.6.21/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim_net.c | 58 struct vdpasim_dataq_stats tx_stats; member 270 u64_stats_update_begin(&net->tx_stats.syncp); in vdpasim_net_work() 271 net->tx_stats.pkts += tx_pkts; in vdpasim_net_work() 272 net->tx_stats.bytes += tx_bytes; in vdpasim_net_work() 273 net->tx_stats.errors += tx_errors; in vdpasim_net_work() 274 u64_stats_update_end(&net->tx_stats.syncp); in vdpasim_net_work() 341 start = u64_stats_fetch_begin(&net->tx_stats.syncp); in vdpasim_net_get_stats() 342 tx_pkts = net->tx_stats.pkts; in vdpasim_net_get_stats() 343 tx_bytes = net->tx_stats.bytes; in vdpasim_net_get_stats() 344 tx_errors = net->tx_stats.errors; in vdpasim_net_get_stats() [all …]
|
/linux-6.6.21/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 | 1316 const struct netvsc_stats_tx *tx_stats; in netvsc_get_pcpu_stats() local 1323 tx_stats = &nvchan->tx_stats; in netvsc_get_pcpu_stats() 1325 start = u64_stats_fetch_begin(&tx_stats->syncp); in netvsc_get_pcpu_stats() 1326 packets = tx_stats->packets; in netvsc_get_pcpu_stats() 1327 bytes = tx_stats->bytes; in netvsc_get_pcpu_stats() 1328 } while (u64_stats_fetch_retry(&tx_stats->syncp, start)); in netvsc_get_pcpu_stats() 1370 const struct netvsc_stats_tx *tx_stats; in netvsc_get_stats64() local 1375 tx_stats = &nvchan->tx_stats; in netvsc_get_stats64() 1377 start = u64_stats_fetch_begin(&tx_stats->syncp); in netvsc_get_stats64() 1378 packets = tx_stats->packets; in netvsc_get_stats64() [all …]
|
/linux-6.6.21/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
|
/linux-6.6.21/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(&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(&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-6.6.21/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-6.6.21/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-6.6.21/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() 655 BUILD_BUG_ON(P54_QUEUE_NUM > ARRAY_SIZE(priv->tx_stats)); in p54_flush_count() 663 total += priv->tx_stats[i].len; in p54_flush_count() 758 priv->tx_stats[P54_QUEUE_BEACON].limit = 1; in p54_init_common() 759 priv->tx_stats[P54_QUEUE_FWSCAN].limit = 1; in p54_init_common() 760 priv->tx_stats[P54_QUEUE_MGMT].limit = 3; in p54_init_common() 761 priv->tx_stats[P54_QUEUE_CAB].limit = 3; in p54_init_common() 762 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()
|
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_ctrl_net.h | 155 struct octep_iface_tx_stats tx_stats; member 300 struct octep_iface_tx_stats *tx_stats);
|
D | octep_ctrl_net.c | 217 struct octep_iface_tx_stats *tx_stats) in octep_ctrl_net_get_if_stats() argument 232 memcpy(tx_stats, &resp->if_stats.tx_stats, sizeof(struct octep_iface_tx_stats)); in octep_ctrl_net_get_if_stats()
|
/linux-6.6.21/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 3667 struct ath10k_htt_tx_stats *tx_stats; in ath10k_accumulate_per_peer_tx_stats() local 3671 if (!arsta->tx_stats) in ath10k_accumulate_per_peer_tx_stats() 3674 tx_stats = arsta->tx_stats; in ath10k_accumulate_per_peer_tx_stats() 3684 #define STATS_OP_FMT(name) tx_stats->stats[ATH10K_STATS_TYPE_##name] in ath10k_accumulate_per_peer_tx_stats() 3712 tx_stats->ba_fails += ATH10K_HW_BA_FAIL(pstats->flags); in ath10k_accumulate_per_peer_tx_stats() 3742 tx_stats->ack_fails += in ath10k_accumulate_per_peer_tx_stats() 3779 tx_stats->tx_duration += pstats->duration; in ath10k_accumulate_per_peer_tx_stats() 3919 struct htt_per_peer_tx_stats_ind *tx_stats; in ath10k_htt_fetch_peer_stats() local 3933 tx_stats = (struct htt_per_peer_tx_stats_ind *) in ath10k_htt_fetch_peer_stats() 3935 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-6.6.21/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-6.6.21/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 92 ena_increase_stat(&tx_ring->tx_stats.doorbells, 1, &tx_ring->syncp); in ena_ring_tx_doorbell() 167 ena_increase_stat(&ring->tx_stats.prepare_ctx_err, 1, in ena_xmit_common() 176 ring->tx_stats.cnt++; in ena_xmit_common() 177 ring->tx_stats.bytes += bytes; in ena_xmit_common() 229 xdp_ring->tx_stats.napi_comp += napi_comp_call; in ena_xdp_io_poll() 230 xdp_ring->tx_stats.tx_poll++; in ena_xdp_io_poll() 232 xdp_ring->tx_stats.last_napi_jiffies = jiffies; in ena_xdp_io_poll() 286 ena_increase_stat(&xdp_ring->tx_stats.dma_mapping_err, 1, in ena_xdp_tx_map_frame() 785 memset(&tx_ring->tx_stats, 0x0, sizeof(tx_ring->tx_stats)); in ena_setup_tx_resources() 1291 ena_increase_stat(&ring->tx_stats.bad_req_id, 1, &ring->syncp); in handle_invalid_req_id() [all …]
|
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 814 tx_ring->tx_stats.csum_err++; in fm10k_tx_csum() 860 tx_ring->tx_stats.csum_err++; in fm10k_tx_csum() 866 tx_ring->tx_stats.csum_good++; in fm10k_tx_csum() 922 ++tx_ring->tx_stats.restart_queue; in __fm10k_maybe_stop_tx() 1073 tx_ring->tx_stats.tx_busy++; in fm10k_xmit_frame_ring() 1133 u32 tx_done_old = tx_ring->tx_stats.tx_done_old; in fm10k_check_tx_hang() 1148 tx_ring->tx_stats.tx_done_old = tx_done; in fm10k_check_tx_hang() 1322 ++tx_ring->tx_stats.restart_queue; in fm10k_clean_tx_irq()
|