/titanic_50/usr/src/uts/common/io/nxge/ |
H A D | nxge_kstats.c | 50 nxgep->statsp = KMEM_ZALLOC(stats_size, KM_SLEEP); in nxge_init_statsp() 51 nxgep->statsp->stats_size = stats_size; in nxge_init_statsp() 525 p_nxge_tx_ring_stats_t statsp; in nxge_tdc_stat_update() local 540 statsp = (p_nxge_tx_ring_stats_t)&nxgep->statsp->tdc_stats[channel]; in nxge_tdc_stat_update() 544 ksp->ks_data, statsp, channel)); in nxge_tdc_stat_update() 547 statsp->opackets = tdc_kstatsp->opackets.value.ull; in nxge_tdc_stat_update() 548 statsp->obytes = tdc_kstatsp->obytes.value.ull; in nxge_tdc_stat_update() 549 statsp->oerrors = tdc_kstatsp->oerrors.value.ull; in nxge_tdc_stat_update() 550 statsp->mbox_err = tdc_kstatsp->mbox_err.value.ul; in nxge_tdc_stat_update() 551 statsp->pkt_size_err = tdc_kstatsp->pkt_size_err.value.ul; in nxge_tdc_stat_update() [all …]
|
H A D | nxge_mac.c | 289 nxgep->statsp->mac_stats.link_up) { in nxge_get_xcvr_type() 290 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_get_xcvr_type() 301 nxgep->statsp->mac_stats.xcvr_inuse = HSP_XCVR; in nxge_get_xcvr_type() 307 nxgep->statsp->mac_stats.xcvr_inuse = HSP_XCVR; in nxge_get_xcvr_type() 313 nxgep->statsp->mac_stats.xcvr_inuse = HSP_XCVR; in nxge_get_xcvr_type() 337 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_get_xcvr_type() 344 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_get_xcvr_type() 360 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_get_xcvr_type() 365 nxgep->statsp->mac_stats.xcvr_inuse = PCS_XCVR; in nxge_get_xcvr_type() 369 nxgep->statsp->mac_stats.xcvr_inuse = INT_MII_XCVR; in nxge_get_xcvr_type() [all …]
|
H A D | nxge_hw.c | 72 ((nxgep->statsp->port_stats.lb_mode == in nxge_global_reset() 74 (nxgep->statsp->port_stats.lb_mode == in nxge_global_reset() 76 (nxgep->statsp->port_stats.lb_mode == in nxge_global_reset() 78 (nxgep->statsp->port_stats.lb_mode == in nxge_global_reset() 334 phy_port_addr = nxgep->statsp->mac_stats.xcvr_portn; in nxge_check_xaui_xfp() 669 nxgep->statsp->port_stats.lb_mode; in nxge_loopback_ioctl() 691 if (nxgep->statsp->mac_stats.cap_10gfdx) { in nxge_loopback_ioctl() 716 if (nxgep->statsp->mac_stats.cap_1000fdx) { in nxge_loopback_ioctl() 729 if (nxgep->statsp->mac_stats.cap_100fdx) in nxge_loopback_ioctl() 731 if (nxgep->statsp->mac_stats.cap_10fdx) in nxge_loopback_ioctl() [all …]
|
H A D | nxge_fm.c | 521 p_nxge_stats_t statsp; in nxge_fm_ereport() local 527 statsp = nxgep->statsp; in nxge_fm_ereport() 550 statsp->ipp_stats.errlog.dfifo_rd_ptr, in nxge_fm_ereport() 552 statsp->ipp_stats.errlog.state_mach, in nxge_fm_ereport() 564 statsp->ipp_stats.errlog.ecc_syndrome, in nxge_fm_ereport() 594 statsp->ipp_stats.errlog.state_mach, in nxge_fm_ereport() 612 statsp->fflp_stats.errlog.tcam, in nxge_fm_ereport() 621 statsp->fflp_stats.errlog.vlan, in nxge_fm_ereport() 653 statsp->fflp_stats.errlog. hash_lookup1, in nxge_fm_ereport() 655 statsp->fflp_stats.errlog.hash_lookup2, in nxge_fm_ereport() [all …]
|
H A D | nxge_zcp.c | 117 p_nxge_zcp_stats_t statsp; in nxge_zcp_handle_sys_errors() local 124 statsp = (p_nxge_zcp_stats_t)&nxgep->statsp->zcp_stats; in nxge_zcp_handle_sys_errors() 131 statsp->rrfifo_underrun++; in nxge_zcp_handle_sys_errors() 139 statsp->rrfifo_overrun++; in nxge_zcp_handle_sys_errors() 147 statsp->rspfifo_uncorr_err++; in nxge_zcp_handle_sys_errors() 155 statsp->buffer_overflow++; in nxge_zcp_handle_sys_errors() 164 statsp->stat_tbl_perr++; in nxge_zcp_handle_sys_errors() 172 statsp->dyn_tbl_perr++; in nxge_zcp_handle_sys_errors() 180 statsp->buf_tbl_perr++; in nxge_zcp_handle_sys_errors() 188 statsp->tt_program_err++; in nxge_zcp_handle_sys_errors() [all …]
|
H A D | nxge_ipp.c | 335 p_nxge_ipp_stats_t statsp; in nxge_ipp_handle_sys_errors() local 345 statsp = (p_nxge_ipp_stats_t)&nxgep->statsp->ipp_stats; in nxge_ipp_handle_sys_errors() 348 errlogp = (p_ipp_errlog_t)&statsp->errlog; in nxge_ipp_handle_sys_errors() 361 statsp->sop_miss++; in nxge_ipp_handle_sys_errors() 370 if (statsp->sop_miss < IPP_MAX_ERR_SHOW) in nxge_ipp_handle_sys_errors() 376 statsp->eop_miss++; in nxge_ipp_handle_sys_errors() 397 statsp->dfifo_ue++; in nxge_ipp_handle_sys_errors() 409 statsp->pfifo_perr++; in nxge_ipp_handle_sys_errors() 412 if (statsp->pfifo_perr < IPP_MAX_ERR_SHOW) in nxge_ipp_handle_sys_errors() 419 statsp->pfifo_over++; in nxge_ipp_handle_sys_errors() [all …]
|
H A D | nxge_txc.c | 393 p_nxge_txc_stats_t statsp; in nxge_txc_handle_port_errors() local 400 statsp = (p_nxge_txc_stats_t)&nxgep->statsp->txc_stats; in nxge_txc_handle_port_errors() 409 &statsp->errlog.ro_st)) != NPI_SUCCESS) { in nxge_txc_handle_port_errors() 414 statsp->ro_correct_err++; in nxge_txc_handle_port_errors() 422 statsp->ro_uncorrect_err++; in nxge_txc_handle_port_errors() 430 statsp->reorder_err++; in nxge_txc_handle_port_errors() 458 &statsp->errlog.sf_st)) != NPI_SUCCESS) { in nxge_txc_handle_port_errors() 462 statsp->sf_correct_err++; in nxge_txc_handle_port_errors() 470 statsp->sf_uncorrect_err++; in nxge_txc_handle_port_errors()
|
H A D | nxge_espc.c | 152 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_espc_phy_type_get() 156 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_espc_phy_type_get() 160 nxgep->statsp->mac_stats.xcvr_inuse = PCS_XCVR; in nxge_espc_phy_type_get() 164 nxgep->statsp->mac_stats.xcvr_inuse = INT_MII_XCVR; in nxge_espc_phy_type_get()
|
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | vgen_stats.c | 50 char *ks_name, vgen_stats_t *statsp) in vgen_setup_kstats() argument 144 ksp->ks_private = (void *)statsp; in vgen_setup_kstats() 165 vgen_stats_t *statsp; in vgen_kstat_update() local 168 statsp = (vgen_stats_t *)ksp->ks_private; in vgen_kstat_update() 172 ldckp->ipackets.value.ul = (uint32_t)statsp->ipackets + in vgen_kstat_update() 173 (uint32_t)statsp->rx_pri_packets; in vgen_kstat_update() 174 ldckp->ipackets64.value.ull = statsp->ipackets + in vgen_kstat_update() 175 statsp->rx_pri_packets; in vgen_kstat_update() 176 ldckp->ierrors.value.ul = statsp->ierrors; in vgen_kstat_update() 177 ldckp->opackets.value.ul = (uint32_t)statsp->opackets + in vgen_kstat_update() [all …]
|
H A D | vnet_rxdring.c | 593 vgen_stats_t *statsp = &ldcp->stats; in vgen_dringsend_shm() local 641 statsp->oerrors++; in vgen_dringsend_shm() 663 statsp->tx_no_desc++; in vgen_dringsend_shm() 726 statsp->opackets++; in vgen_dringsend_shm() 727 statsp->obytes += size; in vgen_dringsend_shm() 729 statsp->brdcstxmt++; in vgen_dringsend_shm() 731 statsp->multixmt++; in vgen_dringsend_shm() 750 statsp->oerrors++; in vgen_dringsend_shm() 819 vgen_stats_t *statsp = &ldcp->stats; in vgen_handle_dringdata_info_shm() local 843 statsp->dring_data_msgs_rcvd++; in vgen_handle_dringdata_info_shm() [all …]
|
H A D | vsw_rxdring.c | 726 vgen_stats_t *statsp = &ldcp->ldc_stats; in vsw_receive_packet() local 753 statsp->ierrors++; in vsw_receive_packet() 781 statsp->norcvbuf++; in vsw_receive_packet() 809 statsp->ipackets++; in vsw_receive_packet() 810 statsp->rbytes += rxdp->nbytes; in vsw_receive_packet() 813 statsp->brdcstrcv++; in vsw_receive_packet() 815 statsp->multircv++; in vsw_receive_packet() 873 vgen_stats_t *statsp = &ldcp->ldc_stats; in vsw_dringsend_shm() local 884 statsp->oerrors++; in vsw_dringsend_shm() 891 statsp->oerrors++; in vsw_dringsend_shm() [all …]
|
H A D | vnet_txdring.c | 596 vgen_stats_t *statsp; in vgen_dringsend() local 608 statsp = &ldcp->stats; in vgen_dringsend() 656 statsp->tx_no_desc++; in vgen_dringsend() 696 statsp->oerrors++; in vgen_dringsend() 703 statsp->opackets++; in vgen_dringsend() 704 statsp->obytes += size; in vgen_dringsend() 706 statsp->brdcstxmt++; in vgen_dringsend() 708 statsp->multixmt++; in vgen_dringsend() 724 statsp->oerrors++; in vgen_dringsend() 863 vgen_stats_t *statsp = &ldcp->stats; in vgen_handle_dringdata_info() local [all …]
|
H A D | vnet.c | 146 static void vnet_hio_get_stats(vnet_res_t *vresp, vnet_hio_stats_t *statsp); 790 vnet_tx_ring_stats_t *statsp; in vnet_tx_ring_send() local 804 statsp = &tx_ringp->tx_ring_stats; in vnet_tx_ring_send() 922 statsp->obytes += size; in vnet_tx_ring_send() 923 statsp->opackets++; in vnet_tx_ring_send() 1947 vnet_hio_stats_t statsp; in vnet_hio_update_kstats() local 1953 bzero(&statsp, sizeof (vnet_hio_stats_t)); in vnet_hio_update_kstats() 1963 vnet_hio_get_stats(vnetp->hio_fp, &statsp); in vnet_hio_update_kstats() 1970 hiokp->ipackets.value.ul = (uint32_t)statsp.ipackets; in vnet_hio_update_kstats() 1971 hiokp->ipackets64.value.ull = statsp.ipackets; in vnet_hio_update_kstats() [all …]
|
H A D | vnet_gen.c | 907 vgen_stats_t *statsp = &ldcp->stats; in vgen_ldcsend_pkt() local 911 (void) atomic_inc_32(&statsp->tx_pri_fail); in vgen_ldcsend_pkt() 918 (void) atomic_inc_32(&statsp->tx_pri_fail); in vgen_ldcsend_pkt() 928 (void) atomic_inc_32(&statsp->tx_pri_fail); in vgen_ldcsend_pkt() 939 (void) atomic_inc_32(&statsp->tx_pri_fail); in vgen_ldcsend_pkt() 967 (void) atomic_inc_32(&statsp->tx_pri_fail); in vgen_ldcsend_pkt() 976 (void) atomic_inc_64(&statsp->tx_pri_packets); in vgen_ldcsend_pkt() 977 (void) atomic_add_64(&statsp->tx_pri_bytes, size); in vgen_ldcsend_pkt() 2823 vgen_stats_t *statsp; in vgen_ldc_stat() local 2827 statsp = &ldcp->stats; in vgen_ldc_stat() [all …]
|
/titanic_50/usr/src/uts/common/io/hxge/ |
H A D | hxge_kstats.c | 44 hxgep->statsp = KMEM_ZALLOC(stats_size, KM_SLEEP); in hxge_init_statsp() 45 hxgep->statsp->stats_size = stats_size; in hxge_init_statsp() 354 p_hxge_tx_ring_stats_t statsp; in hxge_tdc_stat_update() local 368 statsp = (p_hxge_tx_ring_stats_t)&hxgep->statsp->tdc_stats[channel]; in hxge_tdc_stat_update() 372 ksp->ks_data, statsp, channel)); in hxge_tdc_stat_update() 374 tdc_kstatsp->opackets.value.ull = statsp->opackets; in hxge_tdc_stat_update() 375 tdc_kstatsp->obytes.value.ull = statsp->obytes; in hxge_tdc_stat_update() 376 tdc_kstatsp->obytes_with_pad.value.ull = statsp->obytes_with_pad; in hxge_tdc_stat_update() 377 tdc_kstatsp->oerrors.value.ull = statsp->oerrors; in hxge_tdc_stat_update() 378 tdc_kstatsp->tx_hdr_pkts.value.ull = statsp->tx_hdr_pkts; in hxge_tdc_stat_update() [all …]
|
H A D | hxge_vmac.c | 45 p_hxge_stats_t statsp; in hxge_link_init() local 49 statsp = hxgep->statsp; in hxge_link_init() 51 statsp->mac_stats.cap_10gfdx = 1; in hxge_link_init() 52 statsp->mac_stats.lp_cap_10gfdx = 1; in hxge_link_init() 58 statsp->mac_stats.link_duplex = 2; in hxge_link_init() 59 statsp->mac_stats.link_speed = 10000; in hxge_link_init() 149 if (hxgep->statsp->port_stats.lb_mode != hxge_lb_normal) in hxge_rx_vmac_init() 354 hxgep->statsp->mac_stats.promisc = B_TRUE; in hxge_set_promisc() 356 hxgep->statsp->mac_stats.promisc = B_FALSE; in hxge_set_promisc() 372 p_hxge_stats_t statsp; in hxge_save_cntrs() local [all …]
|
H A D | hxge_hw.c | 228 p_hxge_peu_sys_stats_t statsp; in hxge_peu_handle_sys_errors() local 232 statsp = (p_hxge_peu_sys_stats_t)&hxgep->statsp->peu_sys_stats; in hxge_peu_handle_sys_errors() 244 statsp->spc_acc_err++; in hxge_peu_handle_sys_errors() 250 statsp->tdc_pioacc_err++; in hxge_peu_handle_sys_errors() 256 statsp->rdc_pioacc_err++; in hxge_peu_handle_sys_errors() 262 statsp->pfc_pioacc_err++; in hxge_peu_handle_sys_errors() 268 statsp->vmac_pioacc_err++; in hxge_peu_handle_sys_errors() 274 statsp->cpl_hdrq_parerr++; in hxge_peu_handle_sys_errors() 280 statsp->cpl_dataq_parerr++; in hxge_peu_handle_sys_errors() 286 statsp->retryram_xdlh_parerr++; in hxge_peu_handle_sys_errors() [all …]
|
H A D | hxge_fm.c | 324 p_hxge_stats_t statsp; in hxge_fm_ereport() local 331 statsp = hxgep->statsp; in hxge_fm_ereport() 345 statsp->pfc_stats.tcam_parity_err, in hxge_fm_ereport() 353 statsp->pfc_stats.vlan_parity_err, in hxge_fm_ereport() 361 statsp->pfc_stats.pkt_drop, in hxge_fm_ereport() 382 rdc_statsp = &statsp->rdc_stats[err_chan]; in hxge_fm_ereport() 399 err_type = statsp->rdc_stats[err_chan].errlog.compl_err_type; in hxge_fm_ereport() 440 statsp->tdc_stats[err_chan].errlog.value, NULL); in hxge_fm_ereport()
|
H A D | hxge_pfc.c | 1067 p_hxge_pfc_stats_t statsp; in hxge_pfc_intr() local 1086 statsp = (p_hxge_pfc_stats_t)&hxgep->statsp->pfc_stats; in hxge_pfc_intr() 1095 statsp->pkt_drop++; in hxge_pfc_intr() 1096 if (statsp->pkt_drop == 1) in hxge_pfc_intr() 1103 statsp->errlog.tcp_ctrl_drop++; in hxge_pfc_intr() 1105 statsp->errlog.l2_addr_drop++; in hxge_pfc_intr() 1107 statsp->errlog.class_code_drop++; in hxge_pfc_intr() 1109 statsp->errlog.tcam_drop++; in hxge_pfc_intr() 1111 statsp->errlog.vlan_drop++; in hxge_pfc_intr() 1115 statsp->drop_count += drop_count.bits.drop_count; in hxge_pfc_intr() [all …]
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs_stats.c | 154 nfsstat_zone_init_rfsreq_v2(zoneid_t zoneid, struct nfs_version_stats *statsp) in nfsstat_zone_init_rfsreq_v2() argument 156 statsp->rfsreqcnt_ptr = nfsstat_zone_init_common(zoneid, "nfs", 0, in nfsstat_zone_init_rfsreq_v2() 161 nfsstat_zone_fini_rfsreq_v2(zoneid_t zoneid, struct nfs_version_stats *statsp) in nfsstat_zone_fini_rfsreq_v2() argument 164 kmem_free(statsp->rfsreqcnt_ptr, sizeof (rfsreqcnt_v2_tmpl)); in nfsstat_zone_fini_rfsreq_v2() 194 nfsstat_zone_init_rfsproc_v2(zoneid_t zoneid, struct nfs_version_stats *statsp) in nfsstat_zone_init_rfsproc_v2() argument 200 statsp->rfsproccnt_ptr = ks_data; in nfsstat_zone_init_rfsproc_v2() 206 nfsstat_zone_fini_rfsproc_v2(zoneid_t zoneid, struct nfs_version_stats *statsp) in nfsstat_zone_fini_rfsproc_v2() argument 211 kmem_free(statsp->rfsproccnt_ptr, sizeof (rfsproccnt_v2_tmpl)); in nfsstat_zone_fini_rfsproc_v2() 227 nfsstat_zone_init_aclreq_v2(zoneid_t zoneid, struct nfs_version_stats *statsp) in nfsstat_zone_init_aclreq_v2() argument 229 statsp->aclreqcnt_ptr = nfsstat_zone_init_common(zoneid, "nfs_acl", 0, in nfsstat_zone_init_aclreq_v2() [all …]
|
/titanic_50/usr/src/uts/common/io/chxge/ |
H A D | sge.c | 1799 p_ch_stats_t statsp; in sge_kstat_update() local 1804 statsp = (p_ch_stats_t)&sge->intr_cnt; in sge_kstat_update() 1807 statsp->respQ_empty = chkp->respQ_empty.value.ui32; in sge_kstat_update() 1808 statsp->respQ_overflow = chkp->respQ_overflow.value.ui32; in sge_kstat_update() 1809 statsp->freelistQ_empty = chkp->freelistQ_empty.value.ui32; in sge_kstat_update() 1810 statsp->pkt_too_big = chkp->pkt_too_big.value.ui32; in sge_kstat_update() 1811 statsp->pkt_mismatch = chkp->pkt_mismatch.value.ui32; in sge_kstat_update() 1812 statsp->cmdQ_full[0] = chkp->cmdQ_full[0].value.ui32; in sge_kstat_update() 1813 statsp->cmdQ_full[1] = chkp->cmdQ_full[1].value.ui32; in sge_kstat_update() 1814 statsp->tx_reclaims[0] = chkp->tx_reclaims[0].value.ui32; in sge_kstat_update() [all …]
|
/titanic_50/usr/src/uts/common/ipp/meters/ |
H A D | tswtclddi.c | 518 meter_stat_t *statsp; in tswtcl_statinit() local 528 statsp = (meter_stat_t *)(tswtcl_data->stats)->ipps_data; in tswtcl_statinit() 529 ASSERT(statsp != NULL); in tswtcl_statinit() 532 IPP_STAT_UINT64, &statsp->red_packets)) != 0) { in tswtcl_statinit() 538 IPP_STAT_UINT64, &statsp->red_bits)) != 0) { in tswtcl_statinit() 544 IPP_STAT_UINT64, &statsp->yellow_packets)) != 0) { in tswtcl_statinit() 550 IPP_STAT_UINT64, &statsp->yellow_bits)) != 0) { in tswtcl_statinit() 556 IPP_STAT_UINT64, &statsp->green_packets)) != 0) { in tswtcl_statinit() 562 IPP_STAT_UINT64, &statsp->green_bits)) != 0) { in tswtcl_statinit() 568 IPP_STAT_UINT64, &statsp->epackets)) != 0) { in tswtcl_statinit()
|
H A D | tokenmtddi.c | 705 meter_stat_t *statsp; in tokenmt_statinit() local 715 statsp = (meter_stat_t *)(tokenmt_data->stats)->ipps_data; in tokenmt_statinit() 716 ASSERT(statsp != NULL); in tokenmt_statinit() 719 IPP_STAT_UINT64, &statsp->red_packets)) != 0) { in tokenmt_statinit() 725 IPP_STAT_UINT64, &statsp->yellow_packets)) != 0) { in tokenmt_statinit() 731 IPP_STAT_UINT64, &statsp->green_packets)) != 0) { in tokenmt_statinit() 737 IPP_STAT_UINT64, &statsp->red_bits)) != 0) { in tokenmt_statinit() 743 IPP_STAT_UINT64, &statsp->yellow_bits)) != 0) { in tokenmt_statinit() 749 IPP_STAT_UINT64, &statsp->green_bits)) != 0) { in tokenmt_statinit() 755 IPP_STAT_UINT64, &statsp->epackets)) != 0) { in tokenmt_statinit()
|
/titanic_50/usr/src/cmd/nscd/ |
H A D | cache.c | 502 print_stats(nscd_cfg_stat_cache_t *statsp) { in print_stats() argument 506 statsp->pos_hits); in print_stats() 508 statsp->neg_hits); in print_stats() 510 statsp->pos_misses); in print_stats() 512 statsp->neg_misses); in print_stats() 514 statsp->entries); in print_stats() 516 statsp->wait_count); in print_stats() 518 statsp->drop_count); in print_stats() 520 statsp->invalidate_count); in print_stats() 522 _NSC_GET_HITRATE(statsp); in print_stats() [all …]
|
/titanic_50/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-fifo-fp.c | 352 xge_hal_stats_channel_info_t *statsp = &fifo->channel.stats; in xge_hal_fifo_dtr_reserve_many() local 368 statsp->total_posts_dtrs_many++; in xge_hal_fifo_dtr_reserve_many() 369 statsp->total_posts_frags_many += txdl_priv->alloc_frags; in xge_hal_fifo_dtr_reserve_many() 371 statsp->total_posts_dang_dtrs++; in xge_hal_fifo_dtr_reserve_many() 372 statsp->total_posts_dang_frags += txdl_priv->dang_frags; in xge_hal_fifo_dtr_reserve_many()
|