/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt_sysctl.c | 60 sysctl_ctx_init(&softc->hw_stats); in bnxt_init_sysctl_ctx() 66 sysctl_ctx_free(&softc->hw_stats); in bnxt_init_sysctl_ctx() 134 orc = sysctl_ctx_free(&softc->hw_stats); in bnxt_free_sysctl_ctx() 191 oid = SYSCTL_ADD_NODE(&softc->hw_stats, in bnxt_create_tx_sysctls() 197 SYSCTL_ADD_QUAD(&softc->hw_stats, SYSCTL_CHILDREN(oid), OID_AUTO, in bnxt_create_tx_sysctls() 200 SYSCTL_ADD_QUAD(&softc->hw_stats, SYSCTL_CHILDREN(oid), OID_AUTO, in bnxt_create_tx_sysctls() 203 SYSCTL_ADD_QUAD(&softc->hw_stats, SYSCTL_CHILDREN(oid), OID_AUTO, in bnxt_create_tx_sysctls() 206 SYSCTL_ADD_QUAD(&softc->hw_stats, SYSCTL_CHILDREN(oid), OID_AUTO, in bnxt_create_tx_sysctls() 209 SYSCTL_ADD_QUAD(&softc->hw_stats, SYSCTL_CHILDREN(oid), OID_AUTO, in bnxt_create_tx_sysctls() 212 SYSCTL_ADD_QUAD(&softc->hw_stats, SYSCTL_CHILDREN(oid), OID_AUTO, in bnxt_create_tx_sysctls() [all …]
|
H A D | bnxt.h | 1099 struct sysctl_ctx_list hw_stats; 1098 struct sysctl_ctx_list hw_stats; global() member
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.c | 1785 CTLFLAG_RD, &ha->hw_stats.common.no_buff_discards, in qlnx_add_hw_stats_sysctls() 1790 CTLFLAG_RD, &ha->hw_stats.common.packet_too_big_discard, in qlnx_add_hw_stats_sysctls() 1795 CTLFLAG_RD, &ha->hw_stats.common.ttl0_discard, in qlnx_add_hw_stats_sysctls() 1800 CTLFLAG_RD, &ha->hw_stats.common.rx_ucast_bytes, in qlnx_add_hw_stats_sysctls() 1805 CTLFLAG_RD, &ha->hw_stats.common.rx_mcast_bytes, in qlnx_add_hw_stats_sysctls() 1810 CTLFLAG_RD, &ha->hw_stats.common.rx_bcast_bytes, in qlnx_add_hw_stats_sysctls() 1815 CTLFLAG_RD, &ha->hw_stats.common.rx_ucast_pkts, in qlnx_add_hw_stats_sysctls() 1820 CTLFLAG_RD, &ha->hw_stats.common.rx_mcast_pkts, in qlnx_add_hw_stats_sysctls() 1825 CTLFLAG_RD, &ha->hw_stats.common.rx_bcast_pkts, in qlnx_add_hw_stats_sysctls() 1830 CTLFLAG_RD, &ha->hw_stats.common.mftag_filter_discards, in qlnx_add_hw_stats_sysctls() [all …]
|
H A D | qlnx_def.h | 451 struct ecore_eth_stats hw_stats; member
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_sysfs.c | 66 struct rdma_hw_stats *hw_stats; member 826 stats = dev->hw_stats; in show_hw_stats() 830 stats = port->hw_stats; in show_hw_stats() 856 stats = dev->hw_stats; in show_stats_lifespan() 860 stats = p->hw_stats; in show_stats_lifespan() 891 stats = dev->hw_stats; in set_stats_lifespan() 895 stats = p->hw_stats; in set_stats_lifespan() 1006 port->hw_stats = stats; in setup_hw_stats() 1013 device->hw_stats = stats; in setup_hw_stats() 1296 if (port->hw_stats) { in free_port_list_attributes() [all …]
|
/freebsd/sys/dev/ena/ |
H A D | ena_sysctl.c | 242 struct ena_hw_stats *hw_stats; in ena_sysctl_add_stats() local 270 hw_stats = &adapter->hw_stats; in ena_sysctl_add_stats() 411 &hw_stats->rx_packets, "Packets received"); in ena_sysctl_add_stats() 413 &hw_stats->tx_packets, "Packets transmitted"); in ena_sysctl_add_stats() 415 &hw_stats->rx_bytes, "Bytes received"); in ena_sysctl_add_stats() 417 &hw_stats->tx_bytes, "Bytes transmitted"); in ena_sysctl_add_stats() 419 &hw_stats->rx_drops, "Receive packet drops"); in ena_sysctl_add_stats() 421 &hw_stats->tx_drops, "Transmit packet drops"); in ena_sysctl_add_stats()
|
H A D | ena_datapath.c | 658 counter_u64_add_protected(adapter->hw_stats.rx_bytes, in ena_rx_cleanup() 687 counter_u64_add_protected(adapter->hw_stats.rx_packets, 1); in ena_rx_cleanup() 1050 counter_u64_add_protected(adapter->hw_stats.tx_packets, 1); in ena_xmit_mbuf() 1051 counter_u64_add_protected(adapter->hw_stats.tx_bytes, in ena_xmit_mbuf()
|
H A D | ena_netmap.c | 452 counter_u64_add_protected(adapter->hw_stats.tx_packets, 1); in ena_netmap_tx_frame() 453 counter_u64_add_protected(adapter->hw_stats.tx_bytes, packet_len); in ena_netmap_tx_frame() 978 counter_u64_add_protected(ctx->adapter->hw_stats.rx_bytes, len); in ena_netmap_rx_frame() 980 counter_u64_add_protected(ctx->adapter->hw_stats.rx_packets, 1); in ena_netmap_rx_frame()
|
H A D | ena.c | 2135 ena_reset_counters((counter_u64_t *)&adapter->hw_stats, in ena_up_complete() 2136 sizeof(adapter->hw_stats)); in ena_up_complete() 2322 stats = &adapter->hw_stats; in ena_get_counter() 3080 counter_u64_zero(adapter->hw_stats.rx_drops); in ena_keep_alive_wd() 3081 counter_u64_add(adapter->hw_stats.rx_drops, rx_drops); in ena_keep_alive_wd() 3082 counter_u64_zero(adapter->hw_stats.tx_drops); in ena_keep_alive_wd() 3083 counter_u64_add(adapter->hw_stats.tx_drops, tx_drops); in ena_keep_alive_wd() 3736 ena_free_counters((counter_u64_t *)&adapter->hw_stats, in ena_free_stats() 3943 ena_alloc_counters((counter_u64_t *)&adapter->hw_stats, in ena_attach()
|
H A D | ena.h | 515 struct ena_hw_stats hw_stats; member
|
/freebsd/sys/dev/malo/ |
H A D | if_maloioctl.h | 41 struct malo_hal_hwstats hw_stats; /* XXX tied to h/w defs */ member
|
/freebsd/sys/dev/vnic/ |
H A D | nicvf_main.c | 712 struct nicvf_hw_stats *hw_stats; in nicvf_if_getcounter() local 716 hw_stats = &nic->hw_stats; in nicvf_if_getcounter() 725 return (hw_stats->rx_bytes); in nicvf_if_getcounter() 727 return (hw_stats->tx_bytes_ok); in nicvf_if_getcounter() 729 return (hw_stats->rx_mcast_frames); in nicvf_if_getcounter() 1552 struct nicvf_hw_stats *stats = &nic->hw_stats; in nicvf_update_stats()
|
H A D | nic.h | 320 struct nicvf_hw_stats hw_stats; member
|
H A D | nicvf_queues.c | 2231 struct nicvf_hw_stats *stats = &nic->hw_stats; in nicvf_check_cqe_rx_errs()
|
/freebsd/sys/dev/mwl/ |
H A D | if_mwlioctl.h | 40 struct mwl_hal_hwstats hw_stats; /* XXX tied to h/w defs */ member
|
H A D | if_mwl.c | 4717 mwl_hal_gethwstats(sc->sc_mh, &sc->sc_stats.hw_stats); in mwl_ioctl()
|
/freebsd/tools/tools/mwl/mwlstats/ |
H A D | mwlstats.c | 309 snprintf(b, bs, "%u", wf->cur.hw_stats.x - wf->total.hw_stats.x); return 1 in mwl_get_curstat() 415 snprintf(b, bs, "%u", wf->total.hw_stats.x); return 1 in mwl_get_totstat()
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_protos.h | 69 void irdma_update_stats(struct irdma_dev_hw_stats *hw_stats,
|
H A D | irdma_kcompat.c | 1630 struct irdma_dev_hw_stats *hw_stats = &iwdev->vsi.pestat->hw_stats; in irdma_get_hw_stats() local 1635 memcpy(&stats->value[0], hw_stats, sizeof(u64)* stats->num_counters); in irdma_get_hw_stats()
|
H A D | irdma_ctrl.c | 5436 struct irdma_dev_hw_stats *hw_stats = &vsi->pestat->hw_stats; in sc_vsi_update_stats() local 5444 irdma_update_stats(hw_stats, gather_stats, last_gather_stats, in sc_vsi_update_stats() 5583 irdma_update_stats(struct irdma_dev_hw_stats *hw_stats, in irdma_update_stats() argument 5589 u64 *stats_val = hw_stats->stats_val; in irdma_update_stats()
|
H A D | irdma_type.h | 342 struct irdma_dev_hw_stats hw_stats; member
|
/freebsd/sys/dev/ice/ |
H A D | ice_lib.c | 2569 prev_es = &vsi->hw_stats.prev; in ice_update_pf_stats() 2570 cur_es = &vsi->hw_stats.cur; in ice_update_pf_stats() 2574 vsi->hw_stats.offsets_loaded, \ in ice_update_pf_stats() 2579 vsi->hw_stats.offsets_loaded, \ in ice_update_pf_stats() 2593 ice_stat_update_repc(hw, vsi->idx, vsi->hw_stats.offsets_loaded, in ice_update_pf_stats() 2599 vsi->hw_stats.offsets_loaded = true; in ice_update_pf_stats() 2614 memset(&vsi->hw_stats.prev, 0, sizeof(vsi->hw_stats.prev)); in ice_update_pf_stats() 2615 memset(&vsi->hw_stats.cur, 0, sizeof(vsi->hw_stats in ice_update_pf_stats() [all...] |
H A D | ice_lib.h | 608 struct ice_vsi_hw_stats hw_stats; member
|
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | en.h | 619 struct mlx4_en_stat_out_mbox hw_stats; member
|
/freebsd/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 2425 struct rdma_hw_stats *hw_stats; member
|