/freebsd/sys/dev/mana/ |
H A D | mana_sysctl.c | 250 struct mana_stats *tx_stats, *rx_stats; in mana_sysctl_add_queues() local 271 tx_stats = &txq->stats; in mana_sysctl_add_queues() 274 CTLFLAG_RD, &tx_stats->packets, "Packets sent"); in mana_sysctl_add_queues() 276 CTLFLAG_RD, &tx_stats->bytes, "Bytes sent"); in mana_sysctl_add_queues() 278 CTLFLAG_RD, &tx_stats->wakeup, "Queue wakeups"); in mana_sysctl_add_queues() 280 CTLFLAG_RD, &tx_stats->stop, "Queue stops"); in mana_sysctl_add_queues() 282 CTLFLAG_RD, &tx_stats->collapse, "Mbuf collapse count"); in mana_sysctl_add_queues() 285 &tx_stats->collapse_err, "Mbuf collapse failures"); in mana_sysctl_add_queues() 288 &tx_stats->dma_mapping_err, "DMA mapping failures"); in mana_sysctl_add_queues() 291 &tx_stats->alt_chg, "Switch to alternative txq"); in mana_sysctl_add_queues() [all …]
|
H A D | mana_en.c | 352 struct mana_stats *tx_stats) in mana_tx_map_mbuf() argument 364 counter_u64_add(tx_stats->collapse, 1); in mana_tx_map_mbuf() 367 counter_u64_add(tx_stats->collapse_err, 1); in mana_tx_map_mbuf() 500 struct mana_stats *tx_stats; in mana_xmit() local 508 tx_stats = &txq->stats; in mana_xmit() 524 counter_u64_add(tx_stats->stop, 1); in mana_xmit() 525 uint64_t stops = counter_u64_fetch(tx_stats->stop); in mana_xmit() 526 uint64_t wakeups = counter_u64_fetch(tx_stats->wakeup); in mana_xmit() 533 counter_u64_add(tx_stats->alt_chg, 1); in mana_xmit() 547 err = mana_tx_map_mbuf(apc, tx_info, &mbuf, &pkg, tx_stats); in mana_xmit() [all …]
|
/freebsd/sys/dev/ena/ |
H A D | ena_sysctl.c | 244 struct ena_stats_tx *tx_stats; in ena_sysctl_add_stats() local 331 tx_stats = &tx_ring->tx_stats; in ena_sysctl_add_stats() 334 CTLFLAG_RD, &tx_stats->cnt, "Packets sent"); in ena_sysctl_add_stats() 336 CTLFLAG_RD, &tx_stats->bytes, "Bytes sent"); in ena_sysctl_add_stats() 338 "prepare_ctx_err", CTLFLAG_RD, &tx_stats->prepare_ctx_err, in ena_sysctl_add_stats() 341 "dma_mapping_err", CTLFLAG_RD, &tx_stats->dma_mapping_err, in ena_sysctl_add_stats() 344 CTLFLAG_RD, &tx_stats->doorbells, "Queue doorbells"); in ena_sysctl_add_stats() 346 "missing_tx_comp", CTLFLAG_RD, &tx_stats->missing_tx_comp, in ena_sysctl_add_stats() 349 CTLFLAG_RD, &tx_stats->bad_req_id, "Bad request id count"); in ena_sysctl_add_stats() 351 CTLFLAG_RD, &tx_stats->collapse, "Mbuf collapse count"); in ena_sysctl_add_stats() [all …]
|
H A D | ena_datapath.c | 116 counter_u64_add(tx_ring->tx_stats.unmask_interrupt_num, 1); in ena_cleanup() 333 counter_u64_add(tx_ring->tx_stats.queue_wakeup, 1); in ena_tx_cleanup() 837 counter_u64_add(tx_ring->tx_stats.collapse, 1); in ena_check_and_collapse_mbuf() 842 counter_u64_add(tx_ring->tx_stats.collapse_err, 1); in ena_check_and_collapse_mbuf() 906 counter_u64_add(tx_ring->tx_stats.llq_buffer_copy, 1); in ena_tx_map_mbuf() 962 counter_u64_add(tx_ring->tx_stats.dma_mapping_err, 1); in ena_tx_map_mbuf() 1041 counter_u64_add(tx_ring->tx_stats.prepare_ctx_err, 1); in ena_xmit_mbuf() 1046 counter_u64_add_protected(tx_ring->tx_stats.cnt, 1); in ena_xmit_mbuf() 1047 counter_u64_add_protected(tx_ring->tx_stats.bytes, in ena_xmit_mbuf() 1071 counter_u64_add(tx_ring->tx_stats.queue_stop, 1); in ena_xmit_mbuf() [all …]
|
H A D | ena.h | 368 struct ena_stats_tx tx_stats; member 631 counter_u64_add(tx_ring->tx_stats.doorbells, 1); in ena_ring_tx_doorbell()
|
H A D | ena_netmap.c | 443 counter_u64_add(tx_ring->tx_stats.prepare_ctx_err, 1); in ena_netmap_tx_frame() 450 counter_u64_add_protected(tx_ring->tx_stats.cnt, 1); in ena_netmap_tx_frame() 451 counter_u64_add_protected(tx_ring->tx_stats.bytes, packet_len); in ena_netmap_tx_frame() 618 counter_u64_add(tx_ring->tx_stats.llq_buffer_copy, 1); in ena_netmap_tx_map_slots()
|
H A D | ena.c | 440 ena_alloc_counters((counter_u64_t *)&txr->tx_stats, in ena_init_io_rings_advanced() 441 sizeof(txr->tx_stats)); in ena_init_io_rings_advanced() 477 ena_free_counters((counter_u64_t *)&txr->tx_stats, in ena_free_io_ring_resources() 478 sizeof(txr->tx_stats)); in ena_free_io_ring_resources() 584 counter_u64_add(tx_ring->tx_stats.bad_req_id, 1); in validate_tx_req_id() 672 ena_reset_counters((counter_u64_t *)&tx_ring->tx_stats, in ena_setup_tx_resources() 673 sizeof(tx_ring->tx_stats)); in ena_setup_tx_resources() 2111 counter_u64_add(tx_ring->tx_stats.unmask_interrupt_num, 1); in ena_unmask_all_io_irqs() 3263 counter_u64_add(tx_ring->tx_stats.missing_tx_comp, new_missed_tx); in check_missing_comp_in_tx_queue()
|
/freebsd/sys/dev/oce/ |
H A D | oce_sysctl.c | 881 CTLFLAG_RD, &sc->wq[i]->tx_stats.tx_pkts, in oce_add_stats_sysctls_be3() 884 CTLFLAG_RD, &sc->wq[i]->tx_stats.tx_bytes, in oce_add_stats_sysctls_be3() 887 CTLFLAG_RD, &sc->wq[i]->tx_stats.tx_reqs, 0, in oce_add_stats_sysctls_be3() 890 CTLFLAG_RD, &sc->wq[i]->tx_stats.tx_stops, 0, in oce_add_stats_sysctls_be3() 893 CTLFLAG_RD, &sc->wq[i]->tx_stats.tx_wrbs, 0, in oce_add_stats_sysctls_be3() 896 CTLFLAG_RD, &sc->wq[i]->tx_stats.tx_compl, 0, in oce_add_stats_sysctls_be3() 900 &sc->wq[i]->tx_stats.ipv6_ext_hdr_tx_drop, 0, in oce_add_stats_sysctls_be3() 1077 CTLFLAG_RD, &sc->wq[i]->tx_stats.tx_pkts, in oce_add_stats_sysctls_xe201() 1080 CTLFLAG_RD, &sc->wq[i]->tx_stats.tx_bytes, in oce_add_stats_sysctls_xe201() 1083 CTLFLAG_RD, &sc->wq[i]->tx_stats.tx_reqs, 0, in oce_add_stats_sysctls_xe201() [all …]
|
H A D | oce_if.c | 1178 wq->tx_stats.tx_reqs++; in oce_tx() 1179 wq->tx_stats.tx_wrbs += num_wqes; in oce_tx() 1180 wq->tx_stats.tx_bytes += m->m_pkthdr.len; in oce_tx() 1181 wq->tx_stats.tx_pkts++; in oce_tx() 1374 sc->wq[def_q]->tx_stats.tx_stops ++; in oce_start() 1406 wq->tx_stats.tx_compl++; in oce_wq_handler() 1451 wq->tx_stats.tx_stops ++; in oce_multiq_transmit() 2334 tx_reqs = wq->tx_stats.tx_reqs; in oce_eqd_set_periodic()
|
H A D | oce_if.h | 705 struct oce_tx_queue_stats tx_stats; member
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A 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 …]
|
H A D | core.h | 523 struct ath11k_htt_tx_stats *tx_stats; member
|
H A D | mac.c | 4942 arsta->tx_stats = kzalloc(sizeof(*arsta->tx_stats), GFP_KERNEL); in ath11k_mac_station_add() 4943 if (!arsta->tx_stats) { in ath11k_mac_station_add() 4983 kfree(arsta->tx_stats); in ath11k_mac_station_add() 4984 arsta->tx_stats = NULL; in ath11k_mac_station_add() 5095 kfree(arsta->tx_stats); in ath11k_mac_op_sta_state() 5096 arsta->tx_stats = NULL; in ath11k_mac_op_sta_state()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | htt_rx.c | 3817 struct ath10k_htt_tx_stats *tx_stats; in ath10k_accumulate_per_peer_tx_stats() local 3821 if (!arsta->tx_stats) in ath10k_accumulate_per_peer_tx_stats() 3824 tx_stats = arsta->tx_stats; in ath10k_accumulate_per_peer_tx_stats() 3834 #define STATS_OP_FMT(name) tx_stats->stats[ATH10K_STATS_TYPE_##name] in ath10k_accumulate_per_peer_tx_stats() 3862 tx_stats->ba_fails += ATH10K_HW_BA_FAIL(pstats->flags); in ath10k_accumulate_per_peer_tx_stats() 3892 tx_stats->ack_fails += in ath10k_accumulate_per_peer_tx_stats() 3929 tx_stats->tx_duration += pstats->duration; in ath10k_accumulate_per_peer_tx_stats() 4069 struct htt_per_peer_tx_stats_ind *tx_stats; in ath10k_htt_fetch_peer_stats() local 4083 tx_stats = (struct htt_per_peer_tx_stats_ind *) in ath10k_htt_fetch_peer_stats() 4085 peer_id = __le16_to_cpu(tx_stats->peer_id); in ath10k_htt_fetch_peer_stats() [all …]
|
H A 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()
|
H A D | core.h | 545 struct ath10k_htt_tx_stats *tx_stats; member
|
H A D | mac.c | 7538 arsta->tx_stats = kzalloc(sizeof(*arsta->tx_stats), in ath10k_sta_state() 7540 if (!arsta->tx_stats) { in ath10k_sta_state() 7553 kfree(arsta->tx_stats); in ath10k_sta_state() 7566 kfree(arsta->tx_stats); in ath10k_sta_state() 7587 kfree(arsta->tx_stats); in ath10k_sta_state() 7599 kfree(arsta->tx_stats); in ath10k_sta_state() 7652 kfree(arsta->tx_stats); in ath10k_sta_state() 7653 arsta->tx_stats = NULL; in ath10k_sta_state()
|
/freebsd/sys/dev/ice/ |
H A D | ice_iflib.h | 148 struct tx_stats stats;
|
H A D | ice_lib.h | 469 struct tx_stats { struct
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt_sysctl.c | 185 struct ctx_hw_stats *tx_stats = (void *)softc->tx_stats[txr].idi_vaddr; in bnxt_create_tx_sysctls() local 198 "ucast_pkts", CTLFLAG_RD, &tx_stats->tx_ucast_pkts, in bnxt_create_tx_sysctls() 201 "mcast_pkts", CTLFLAG_RD, &tx_stats->tx_mcast_pkts, in bnxt_create_tx_sysctls() 204 "bcast_pkts", CTLFLAG_RD, &tx_stats->tx_bcast_pkts, in bnxt_create_tx_sysctls() 208 &tx_stats->tx_discard_pkts, "discarded transmit packets"); in bnxt_create_tx_sysctls() 210 "error_pkts", CTLFLAG_RD, &tx_stats->tx_error_pkts, in bnxt_create_tx_sysctls() 213 "ucast_bytes", CTLFLAG_RD, &tx_stats->tx_ucast_bytes, in bnxt_create_tx_sysctls() 216 "mcast_bytes", CTLFLAG_RD, &tx_stats->tx_mcast_bytes, in bnxt_create_tx_sysctls() 219 "bcast_bytes", CTLFLAG_RD, &tx_stats->tx_bcast_bytes, in bnxt_create_tx_sysctls()
|
H A D | if_bnxt.c | 466 &softc->tx_stats[i], 0); in bnxt_tx_queues_alloc() 469 bus_dmamap_sync(softc->tx_stats[i].idi_tag, softc->tx_stats[i].idi_map, in bnxt_tx_queues_alloc() 524 iflib_dma_free(&softc->tx_stats[i]); in bnxt_tx_queues_alloc() 542 iflib_dma_free(&softc->tx_stats[i]); in bnxt_queues_free() 2904 softc->tx_stats[i].idi_paddr); in bnxt_init()
|
H A D | bnxt.h | 1078 struct iflib_dma_info tx_stats[BNXT_MAX_NUM_QUEUES]; member
|
/freebsd/sys/dev/vnic/ |
H A D | thunder_bgx.h | 220 uint64_t tx_stats[BGX_TX_STATS_COUNT]; member
|
H A D | nicvf_queues.h | 208 struct tx_stats { struct
|
H A D | nicvf_main.c | 894 nic->bgx_stats.tx_stats[bgx->idx] = bgx->stats; in nicvf_read_bgx_stats()
|