Searched refs:cntrs (Results 1 – 14 of 14) sorted by relevance
1410 struct qib_verbs_counters cntrs; in pma_get_portcounters() local1413 qib_get_counters(ppd, &cntrs); in pma_get_portcounters()1416 cntrs.symbol_error_counter -= ibp->z_symbol_error_counter; in pma_get_portcounters()1417 cntrs.link_error_recovery_counter -= in pma_get_portcounters()1419 cntrs.link_downed_counter -= ibp->z_link_downed_counter; in pma_get_portcounters()1420 cntrs.port_rcv_errors -= ibp->z_port_rcv_errors; in pma_get_portcounters()1421 cntrs.port_rcv_remphys_errors -= ibp->z_port_rcv_remphys_errors; in pma_get_portcounters()1422 cntrs.port_xmit_discards -= ibp->z_port_xmit_discards; in pma_get_portcounters()1423 cntrs.port_xmit_data -= ibp->z_port_xmit_data; in pma_get_portcounters()1424 cntrs.port_rcv_data -= ibp->z_port_rcv_data; in pma_get_portcounters()[all …]
1427 struct qib_verbs_counters *cntrs) in qib_get_counters() argument1436 cntrs->symbol_error_counter = in qib_get_counters()1438 cntrs->link_error_recovery_counter = in qib_get_counters()1445 cntrs->link_downed_counter = in qib_get_counters()1447 cntrs->port_rcv_errors = in qib_get_counters()1457 cntrs->port_rcv_errors += in qib_get_counters()1459 cntrs->port_rcv_errors += in qib_get_counters()1461 cntrs->port_rcv_remphys_errors = in qib_get_counters()1463 cntrs->port_xmit_discards = in qib_get_counters()1465 cntrs->port_xmit_data = ppd->dd->f_portcntr(ppd, in qib_get_counters()[all …]
48 u64 *cntrs; member
219 u64 *cntrs; member1501 kfree(dd->cspec->cntrs); in qib_6120_setup_cleanup()2524 dd->cspec->cntrs = kmalloc(dd->cspec->ncntrs in init_6120_cntrnames()2526 if (!dd->cspec->cntrs) in init_6120_cntrnames()2551 u64 *cntr = dd->cspec->cntrs; in qib_read_6120cntrs()
1796 kfree(dd->cspec->cntrs); in qib_setup_7220_cleanup()3173 dd->cspec->cntrs = kmalloc(dd->cspec->ncntrs in init_7220_cntrnames()3175 if (!dd->cspec->cntrs) in init_7220_cntrnames()3193 if (!dd->cspec->cntrs) { in qib_read_7220cntrs()3204 u64 *cntr = dd->cspec->cntrs; in qib_read_7220cntrs()
861 struct qib_verbs_counters *cntrs);
519 u64 *cntrs; member2603 kfree(dd->cspec->cntrs); in qib_setup_7322_cleanup()4709 dd->cspec->cntrs = kmalloc(dd->cspec->ncntrs in init_7322_cntrnames()4711 if (!dd->cspec->cntrs) in init_7322_cntrnames()4739 u64 *cntr = dd->cspec->cntrs; in qib_read_7322cntrs()
1022 struct ipath_verbs_counters cntrs; in recv_pma_get_portcounters() local1025 ipath_get_counters(dev->dd, &cntrs); in recv_pma_get_portcounters()1028 cntrs.symbol_error_counter -= dev->z_symbol_error_counter; in recv_pma_get_portcounters()1029 cntrs.link_error_recovery_counter -= in recv_pma_get_portcounters()1031 cntrs.link_downed_counter -= dev->z_link_downed_counter; in recv_pma_get_portcounters()1032 cntrs.port_rcv_errors += dev->rcv_errors; in recv_pma_get_portcounters()1033 cntrs.port_rcv_errors -= dev->z_port_rcv_errors; in recv_pma_get_portcounters()1034 cntrs.port_rcv_remphys_errors -= dev->z_port_rcv_remphys_errors; in recv_pma_get_portcounters()1035 cntrs.port_xmit_discards -= dev->z_port_xmit_discards; in recv_pma_get_portcounters()1036 cntrs.port_xmit_data -= dev->z_port_xmit_data; in recv_pma_get_portcounters()[all …]
1714 struct infinipath_counters *cntrs) in ipath_ht_read_counters() argument1716 cntrs->LBIntCnt = in ipath_ht_read_counters()1718 cntrs->LBFlowStallCnt = in ipath_ht_read_counters()1720 cntrs->TxSDmaDescCnt = 0; in ipath_ht_read_counters()1721 cntrs->TxUnsupVLErrCnt = in ipath_ht_read_counters()1723 cntrs->TxDataPktCnt = in ipath_ht_read_counters()1725 cntrs->TxFlowPktCnt = in ipath_ht_read_counters()1727 cntrs->TxDwordCnt = in ipath_ht_read_counters()1729 cntrs->TxLenErrCnt = in ipath_ht_read_counters()1731 cntrs->TxMaxMinLenErrCnt = in ipath_ht_read_counters()[all …]
1383 struct ipath_verbs_counters *cntrs) in ipath_get_counters() argument1393 cntrs->symbol_error_counter = in ipath_get_counters()1395 cntrs->link_error_recovery_counter = in ipath_get_counters()1402 cntrs->link_downed_counter = in ipath_get_counters()1404 cntrs->port_rcv_errors = in ipath_get_counters()1417 cntrs->port_rcv_errors += in ipath_get_counters()1420 cntrs->port_rcv_errors += in ipath_get_counters()1422 cntrs->port_rcv_remphys_errors = in ipath_get_counters()1424 cntrs->port_xmit_discards = ipath_snap_cntr(dd, crp->cr_unsupvlcnt); in ipath_get_counters()1425 cntrs->port_xmit_data = ipath_snap_cntr(dd, crp->cr_wordsendcnt); in ipath_get_counters()[all …]
724 struct ipath_verbs_counters *cntrs);
784 bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; in skfp_ctl_get_stats()785 bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; in skfp_ctl_get_stats()786 bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; in skfp_ctl_get_stats()787 bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; in skfp_ctl_get_stats()788 bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; in skfp_ctl_get_stats()789 bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; in skfp_ctl_get_stats()790 bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; in skfp_ctl_get_stats()791 bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; in skfp_ctl_get_stats()792 bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; in skfp_ctl_get_stats()793 bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.link_errors[0].ls; in skfp_ctl_get_stats()[all …]
2135 bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; in dfx_ctl_get_stats()2136 bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; in dfx_ctl_get_stats()2137 bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; in dfx_ctl_get_stats()2138 bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; in dfx_ctl_get_stats()2139 bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; in dfx_ctl_get_stats()2140 bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; in dfx_ctl_get_stats()2141 bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; in dfx_ctl_get_stats()2142 bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; in dfx_ctl_get_stats()2143 bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; in dfx_ctl_get_stats()2144 bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.link_errors[0].ls; in dfx_ctl_get_stats()[all …]
922 PI_CNTR_BLK cntrs; member930 PI_CNTR_BLK cntrs; member