Home
last modified time | relevance | path

Searched refs:hw_stats (Results 1 – 25 of 25) sorted by relevance

/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_sysctl.c60 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 Dbnxt.h1099 struct sysctl_ctx_list hw_stats;
1098 struct sysctl_ctx_list hw_stats; global() member
/freebsd/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c1785 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 Dqlnx_def.h451 struct ecore_eth_stats hw_stats; member
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c66 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 Dena_sysctl.c242 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 Dena_datapath.c658 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 Dena_netmap.c452 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 Dena.c2135 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 Dena.h515 struct ena_hw_stats hw_stats; member
/freebsd/sys/dev/malo/
H A Dif_maloioctl.h41 struct malo_hal_hwstats hw_stats; /* XXX tied to h/w defs */ member
/freebsd/sys/dev/vnic/
H A Dnicvf_main.c712 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 Dnic.h320 struct nicvf_hw_stats hw_stats; member
H A Dnicvf_queues.c2231 struct nicvf_hw_stats *stats = &nic->hw_stats; in nicvf_check_cqe_rx_errs()
/freebsd/sys/dev/mwl/
H A Dif_mwlioctl.h40 struct mwl_hal_hwstats hw_stats; /* XXX tied to h/w defs */ member
H A Dif_mwl.c4717 mwl_hal_gethwstats(sc->sc_mh, &sc->sc_stats.hw_stats); in mwl_ioctl()
/freebsd/tools/tools/mwl/mwlstats/
H A Dmwlstats.c309 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 Dirdma_protos.h69 void irdma_update_stats(struct irdma_dev_hw_stats *hw_stats,
H A Dirdma_kcompat.c1630 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 Dirdma_ctrl.c5436 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 Dirdma_type.h342 struct irdma_dev_hw_stats hw_stats; member
/freebsd/sys/dev/ice/
H A Dice_lib.c2569 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 Dice_lib.h608 struct ice_vsi_hw_stats hw_stats; member
/freebsd/sys/dev/mlx4/mlx4_en/
H A Den.h619 struct mlx4_en_stat_out_mbox hw_stats; member
/freebsd/sys/ofed/include/rdma/
H A Dib_verbs.h2425 struct rdma_hw_stats *hw_stats; member