/freebsd-11-stable/sys/dev/bnxt/ |
H A D | bnxt_sysctl.c | 57 sysctl_ctx_init(&softc->hw_stats); 63 sysctl_ctx_free(&softc->hw_stats); 119 orc = sysctl_ctx_free(&softc->hw_stats); 168 oid = SYSCTL_ADD_NODE(&softc->hw_stats, 175 SYSCTL_ADD_QUAD(&softc->hw_stats, SYSCTL_CHILDREN(oid), OID_AUTO, 178 SYSCTL_ADD_QUAD(&softc->hw_stats, SYSCTL_CHILDREN(oid), OID_AUTO, 181 SYSCTL_ADD_QUAD(&softc->hw_stats, SYSCTL_CHILDREN(oid), OID_AUTO, 184 SYSCTL_ADD_QUAD(&softc->hw_stats, SYSCTL_CHILDREN(oid), OID_AUTO, 187 SYSCTL_ADD_QUAD(&softc->hw_stats, SYSCTL_CHILDREN(oid), OID_AUTO, 190 SYSCTL_ADD_QUAD(&softc->hw_stats, SYSCTL_CHILDRE [all...] |
H A D | bnxt.h | 616 struct sysctl_ctx_list hw_stats; member in struct:bnxt_softc
|
/freebsd-11-stable/tools/tools/nxge/ |
H A D | xge_log.c | 35 * @hw_stats Hardware statistics 39 xge_print_hwstats(void *hw_stats, unsigned short device_id) argument 55 *((u16 *)((unsigned char *)hw_stats + 60 *((u32 *)((unsigned char *) hw_stats + 65 *((u64 *)((unsigned char *)hw_stats +
|
H A D | xge_info.c | 129 char *hw_stats = NULL, *pci_cfg = NULL; local 136 hw_stats = (char *)malloc(buffer_size); 137 if(!hw_stats) { 141 *hw_stats = XGE_QUERY_STATS; 142 ifreqp.ifr_data = (caddr_t) hw_stats; 166 xge_print_hwstats(hw_stats,device_id); 173 free(hw_stats);
|
/freebsd-11-stable/sys/dev/ena/ |
H A D | ena_sysctl.c | 125 struct ena_hw_stats *hw_stats; local 153 hw_stats = &adapter->hw_stats; 265 hw_node = SYSCTL_ADD_NODE(ctx, child, OID_AUTO, "hw_stats", 270 &hw_stats->rx_packets, "Packets received"); 272 &hw_stats->tx_packets, "Packets transmitted"); 274 &hw_stats->rx_bytes, "Bytes received"); 276 &hw_stats->tx_bytes, "Bytes transmitted"); 278 &hw_stats->rx_drops, "Receive packet drops"); 280 &hw_stats [all...] |
H A D | ena_datapath.c | 621 counter_u64_add_protected(adapter->hw_stats.rx_bytes, 650 counter_u64_add_protected(adapter->hw_stats.rx_packets, 1); 990 counter_u64_add_protected(adapter->hw_stats.tx_packets, 1); 991 counter_u64_add_protected(adapter->hw_stats.tx_bytes,
|
H A D | ena_netmap.c | 456 counter_u64_add_protected(adapter->hw_stats.tx_packets, 1); 457 counter_u64_add_protected(adapter->hw_stats.tx_bytes, packet_len); 1002 counter_u64_add_protected(ctx->adapter->hw_stats.rx_bytes, len); 1004 counter_u64_add_protected(ctx->adapter->hw_stats.rx_packets, 1);
|
H A D | ena.h | 473 struct ena_hw_stats hw_stats; member in struct:ena_adapter
|
H A D | ena.c | 1974 ena_reset_counters((counter_u64_t *)&adapter->hw_stats, 1975 sizeof(adapter->hw_stats)); 2167 stats = &adapter->hw_stats; 2948 counter_u64_zero(adapter->hw_stats.rx_drops); 2949 counter_u64_add(adapter->hw_stats.rx_drops, rx_drops); 2950 counter_u64_zero(adapter->hw_stats.tx_drops); 2951 counter_u64_add(adapter->hw_stats.tx_drops, tx_drops); 3713 ena_alloc_counters((counter_u64_t *)&adapter->hw_stats, 3799 ena_free_counters((counter_u64_t *)&adapter->hw_stats,
|
/freebsd-11-stable/sys/dev/malo/ |
H A D | if_maloioctl.h | 41 struct malo_hal_hwstats hw_stats; /* XXX tied to h/w defs */ member in struct:malo_stats
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.c | 1858 CTLFLAG_RD, &ha->hw_stats.common.no_buff_discards, 1863 CTLFLAG_RD, &ha->hw_stats.common.packet_too_big_discard, 1868 CTLFLAG_RD, &ha->hw_stats.common.ttl0_discard, 1873 CTLFLAG_RD, &ha->hw_stats.common.rx_ucast_bytes, 1878 CTLFLAG_RD, &ha->hw_stats.common.rx_mcast_bytes, 1883 CTLFLAG_RD, &ha->hw_stats.common.rx_bcast_bytes, 1888 CTLFLAG_RD, &ha->hw_stats.common.rx_ucast_pkts, 1893 CTLFLAG_RD, &ha->hw_stats.common.rx_mcast_pkts, 1898 CTLFLAG_RD, &ha->hw_stats.common.rx_bcast_pkts, 1903 CTLFLAG_RD, &ha->hw_stats [all...] |
H A D | qlnx_def.h | 467 struct ecore_eth_stats hw_stats; member in struct:qlnx_host
|
/freebsd-11-stable/sys/dev/nxge/include/ |
H A D | xgehal-mgmt.h | 96 xge_hal_mgmt_hw_stats(xge_hal_device_h devh, xge_hal_mgmt_hw_stats_t *hw_stats, 111 xge_hal_mgmt_sw_stats(xge_hal_device_h devh, xge_hal_mgmt_sw_stats_t *hw_stats,
|
/freebsd-11-stable/sys/dev/mwl/ |
H A D | if_mwlioctl.h | 40 struct mwl_hal_hwstats hw_stats; /* XXX tied to h/w defs */ member in struct:mwl_stats
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_sysfs.c | 67 struct rdma_hw_stats *hw_stats; member in struct:ib_port 799 stats = dev->hw_stats; 803 stats = port->hw_stats; 822 msecs = jiffies_to_msecs(dev->hw_stats->lifespan); 825 msecs = jiffies_to_msecs(p->hw_stats->lifespan); 849 dev->hw_stats->lifespan = jiffies; 852 p->hw_stats->lifespan = jiffies; 957 port->hw_stats = stats; 964 device->hw_stats = stats; 1244 if (port->hw_stats) { [all...] |
/freebsd-11-stable/sys/dev/vxge/vxgehal/ |
H A D | vxgehal-virtualpath.h | 151 vxge_hal_vpath_stats_hw_info_t *hw_stats; member in struct:__hal_virtualpath_t 421 vxge_hal_vpath_stats_hw_info_t *hw_stats);
|
H A D | vxgehal-virtualpath.c | 9906 vp->vpath->hw_stats = 9909 vxge_os_memzero(vp->vpath->hw_stats, 9913 vp->vpath->hw_stats; 10210 vxge_os_memzero(vp->vpath->hw_stats, 10276 vpath->hw_stats, 10295 vpath->hw_stats); 10362 * @hw_stats: Hardware stats 10371 vxge_hal_vpath_stats_hw_info_t *hw_stats) 10378 vxge_assert((vpath_handle != NULL) && (hw_stats != NULL)); 10386 "vpath = 0x"VXGE_OS_STXFMT", hw_stats 10370 vxge_hal_vpath_hw_stats_get(vxge_hal_vpath_h vpath_handle, vxge_hal_vpath_stats_hw_info_t *hw_stats) argument 11131 __hal_vpath_hw_stats_get(__hal_virtualpath_t *vpath, vxge_hal_vpath_stats_hw_info_t *hw_stats) argument [all...] |
H A D | vxgehal-device.c | 3046 hldev->virtual_paths[i].hw_stats, 3055 hldev->virtual_paths[i].hw_stats); 3123 * @hw_stats: Hardware stats 3133 vxge_hal_device_stats_hw_info_t *hw_stats) 3140 vxge_assert((devh != NULL) && (hw_stats != NULL)); 3146 "devh = 0x"VXGE_OS_STXFMT", hw_stats = 0x"VXGE_OS_STXFMT, 3147 (ptr_t) devh, (ptr_t) hw_stats); 3172 vxge_os_memcpy(hw_stats, 3131 vxge_hal_device_hw_stats_get( vxge_hal_device_h devh, vxge_hal_device_stats_hw_info_t *hw_stats) argument
|
/freebsd-11-stable/tools/tools/mwl/mwlstats/ |
H A D | mwlstats.c | 311 snprintf(b, bs, "%u", wf->cur.hw_stats.x - wf->total.hw_stats.x); return 1 417 snprintf(b, bs, "%u", wf->total.hw_stats.x); return 1
|
/freebsd-11-stable/sys/dev/vnic/ |
H A D | nicvf_main.c | 734 struct nicvf_hw_stats *hw_stats; local 738 hw_stats = &nic->hw_stats; 747 return (hw_stats->rx_bytes); 749 return (hw_stats->tx_bytes_ok); 751 return (hw_stats->rx_mcast_frames); 1574 struct nicvf_hw_stats *stats = &nic->hw_stats;
|
H A D | nic.h | 322 struct nicvf_hw_stats hw_stats; member in struct:nicvf
|
H A D | nicvf_queues.c | 2228 struct nicvf_hw_stats *stats = &nic->hw_stats;
|
/freebsd-11-stable/sys/dev/vxge/include/ |
H A D | vxgehal-stats.h | 2065 * @hw_stats: Hardware stats 2074 vxge_hal_vpath_stats_hw_info_t *hw_stats); 2173 * @hw_stats: Hardware stats 2185 vxge_hal_device_stats_hw_info_t *hw_stats);
|
/freebsd-11-stable/sys/dev/nxge/xgehal/ |
H A D | xgehal-mgmt.c | 218 * @hw_stats: Hardware statistics. Returned by HAL. 220 * @size: Size of the @hw_stats buffer. HAL will return an error 231 xge_hal_mgmt_hw_stats(xge_hal_device_h devh, xge_hal_mgmt_hw_stats_t *hw_stats, argument 252 xge_os_memcpy(hw_stats, hw_info, sizeof(xge_hal_stats_hw_info_t)); 302 * @size: Size of the @hw_stats buffer. HAL will return an error
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/ |
H A D | en.h | 611 struct mlx4_en_stat_out_mbox hw_stats; member in struct:mlx4_en_priv
|