Home
last modified time | relevance | path

Searched refs:pstats (Results 1 – 24 of 24) sorted by relevance

/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x_stats.c683 pstats->mac_stx[1].tx_stat_mac_2047_hi; in bnx2x_mstat_stats_update()
685 pstats->mac_stx[1].tx_stat_mac_2047_lo; in bnx2x_mstat_stats_update()
688 pstats->mac_stx[1].tx_stat_mac_4095_hi, in bnx2x_mstat_stats_update()
690 pstats->mac_stx[1].tx_stat_mac_4095_lo); in bnx2x_mstat_stats_update()
693 pstats->mac_stx[1].tx_stat_mac_9216_hi, in bnx2x_mstat_stats_update()
695 pstats->mac_stx[1].tx_stat_mac_9216_lo); in bnx2x_mstat_stats_update()
698 pstats->mac_stx[1].tx_stat_mac_16383_hi, in bnx2x_mstat_stats_update()
763 pstats->mac_stx[1].tx_stat_outxonsent_hi; in bnx2x_emac_stats_update()
765 pstats->mac_stx[1].tx_stat_outxonsent_lo; in bnx2x_emac_stats_update()
808 ADD_EXTEND_64(pstats->brb_drop_hi, pstats->brb_drop_lo, in bnx2x_hw_stats_update()
[all …]
H A Dbnx2x_stats.h452 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \
453 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \
454 pstats->mac_stx[0].t##_hi = new->s##_hi; \
455 pstats->mac_stx[0].t##_lo = new->s##_lo; \
456 ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \
457 pstats->mac_stx[1].t##_lo, diff.lo); \
477 ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \
478 pstats->mac_stx[1].t##_lo, new->diff##_lo); \
483 ADD_EXTEND_64(pstats->mac_stx[1].s##_hi, \
484 pstats->mac_stx[1].s##_lo, \
H A Dbnx2x.c2922 struct host_port_stats *pstats; in bnx2x_link_attn() local
2947 pstats = BNX2X_SP(sc, port_stats); in bnx2x_link_attn()
2949 memset(&(pstats->mac_stx[0]), 0, in bnx2x_link_attn()
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-ilk.c1226 if (pstats == NULL) in cvmx_ilk_show_stats()
1230 if (pstats->chan_list != NULL) in cvmx_ilk_show_stats()
1232 for (i = 0; i < pstats->num_chans; i++) in cvmx_ilk_show_stats()
1279 pstats++; in cvmx_ilk_show_stats()
1287 ilk_rxx_idx_stat0.s.inc = pstats->chan_step; in cvmx_ilk_show_stats()
1288 ilk_rxx_idx_stat0.s.clr = pstats->clr_on_rd; in cvmx_ilk_show_stats()
1293 ilk_rxx_idx_stat1.s.inc = pstats->chan_step; in cvmx_ilk_show_stats()
1294 ilk_rxx_idx_stat1.s.clr = pstats->clr_on_rd; in cvmx_ilk_show_stats()
1299 ilk_txx_idx_stat0.s.inc = pstats->chan_step; in cvmx_ilk_show_stats()
1300 ilk_txx_idx_stat0.s.clr = pstats->clr_on_rd; in cvmx_ilk_show_stats()
[all …]
H A Dcvmx-ilk.h170 extern void cvmx_ilk_show_stats (int interface, cvmx_ilk_stats_ctrl_t *pstats);
/f-stack/freebsd/kern/
H A Dkern_clock.c426 hardclock_itimer(struct thread *td, struct pstats *pstats, int cnt, int usermode) in hardclock_itimer() argument
434 timevalisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value)) { in hardclock_itimer()
436 if (itimerdecr(&pstats->p_timer[ITIMER_VIRTUAL], in hardclock_itimer()
441 if (timevalisset(&pstats->p_timer[ITIMER_PROF].it_value)) { in hardclock_itimer()
443 if (itimerdecr(&pstats->p_timer[ITIMER_PROF], in hardclock_itimer()
458 struct pstats *pstats; in hardclock() local
482 pstats = p->p_stats; in hardclock()
484 timevalisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value) || in hardclock()
485 timevalisset(&pstats->p_timer[ITIMER_PROF].it_value))) in hardclock()
486 hardclock_itimer(td, pstats, cnt, usermode); in hardclock()
H A Dkern_proc.c1338 struct pstats *
1342 return (malloc(sizeof(struct pstats), M_SUBPROC, M_ZERO|M_WAITOK)); in pstats_alloc()
1349 pstats_fork(struct pstats *src, struct pstats *dst) in pstats_fork()
1353 __rangeof(struct pstats, pstat_startzero, pstat_endzero)); in pstats_fork()
1355 __rangeof(struct pstats, pstat_startcopy, pstat_endcopy)); in pstats_fork()
1359 pstats_free(struct pstats *ps) in pstats_free()
/f-stack/dpdk/drivers/net/ice/
H A Dice_dcf_ethdev.c812 struct virtchnl_eth_stats pstats; in ice_dcf_stats_get() local
818 stats->ipackets = pstats.rx_unicast + pstats.rx_multicast + in ice_dcf_stats_get()
819 pstats.rx_broadcast - pstats.rx_discards; in ice_dcf_stats_get()
820 stats->opackets = pstats.tx_broadcast + pstats.tx_multicast + in ice_dcf_stats_get()
821 pstats.tx_unicast; in ice_dcf_stats_get()
822 stats->imissed = pstats.rx_discards; in ice_dcf_stats_get()
823 stats->oerrors = pstats.tx_errors + pstats.tx_discards; in ice_dcf_stats_get()
824 stats->ibytes = pstats.rx_bytes; in ice_dcf_stats_get()
826 stats->obytes = pstats.tx_bytes; in ice_dcf_stats_get()
838 struct virtchnl_eth_stats pstats; in ice_dcf_stats_reset() local
[all …]
H A Dice_dcf.h78 struct virtchnl_eth_stats *pstats);
H A Dice_dcf.c1016 struct virtchnl_eth_stats *pstats) in ice_dcf_query_stats() argument
1028 args.rsp_msglen = sizeof(*pstats); in ice_dcf_query_stats()
1029 args.rsp_msgbuf = (uint8_t *)pstats; in ice_dcf_query_stats()
1030 args.rsp_buflen = sizeof(*pstats); in ice_dcf_query_stats()
/f-stack/dpdk/examples/multi_process/symmetric_mp/
H A Dmain.c78 static struct port_stats pstats[RTE_MAX_ETHPORTS]; variable
106 pstats[p_num].rx, pstats[p_num].tx, pstats[p_num].drop); in print_stats()
345 pstats[src].rx += rx_c; in lcore_main()
348 pstats[dst].tx += tx_c; in lcore_main()
350 pstats[dst].drop += (rx_c - tx_c); in lcore_main()
/f-stack/dpdk/drivers/net/iavf/
H A Diavf_ethdev.c1280 iavf_update_stats(vsi, pstats); in iavf_dev_stats_get()
1281 stats->ipackets = pstats->rx_unicast + pstats->rx_multicast + in iavf_dev_stats_get()
1282 pstats->rx_broadcast - pstats->rx_discards; in iavf_dev_stats_get()
1283 stats->opackets = pstats->tx_broadcast + pstats->tx_multicast + in iavf_dev_stats_get()
1284 pstats->tx_unicast; in iavf_dev_stats_get()
1285 stats->imissed = pstats->rx_discards; in iavf_dev_stats_get()
1286 stats->oerrors = pstats->tx_errors + pstats->tx_discards; in iavf_dev_stats_get()
1287 stats->ibytes = pstats->rx_bytes; in iavf_dev_stats_get()
1289 stats->obytes = pstats->tx_bytes; in iavf_dev_stats_get()
1312 vsi->eth_stats_offset = *pstats; in iavf_dev_stats_reset()
[all …]
H A Diavf.h312 struct virtchnl_eth_stats **pstats);
H A Diavf_vchnl.c1043 struct virtchnl_eth_stats **pstats) in iavf_query_stats() argument
1061 *pstats = NULL; in iavf_query_stats()
1064 *pstats = (struct virtchnl_eth_stats *)args.out_buffer; in iavf_query_stats()
/f-stack/dpdk/drivers/net/vhost/
H A Drte_eth_vhost.c325 struct vhost_stats *pstats = &vq->stats; in vhost_count_xcast_packets() local
330 pstats->xstats[VHOST_BROADCAST_PKT]++; in vhost_count_xcast_packets()
332 pstats->xstats[VHOST_MULTICAST_PKT]++; in vhost_count_xcast_packets()
334 pstats->xstats[VHOST_UNICAST_PKT]++; in vhost_count_xcast_packets()
346 struct vhost_stats *pstats = &vq->stats; in vhost_update_packet_xstats() local
348 pstats->xstats[VHOST_BYTE] += nb_bytes; in vhost_update_packet_xstats()
353 pstats->xstats[VHOST_PKT]++; in vhost_update_packet_xstats()
356 pstats->xstats[VHOST_64_PKT]++; in vhost_update_packet_xstats()
360 pstats->xstats[index]++; in vhost_update_packet_xstats()
363 pstats->xstats[VHOST_UNDERSIZE_PKT]++; in vhost_update_packet_xstats()
[all …]
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_ethdev_vf.c936 *pstats = NULL; in i40evf_query_stats()
1009 vf->vsi.eth_stats_offset = *pstats; in i40evf_dev_xstats_reset()
1048 i40evf_update_stats(vsi, pstats); in i40evf_dev_xstats_get()
2400 i40evf_update_stats(vsi, pstats); in i40evf_dev_stats_get()
2402 stats->ipackets = pstats->rx_unicast + pstats->rx_multicast + in i40evf_dev_stats_get()
2403 pstats->rx_broadcast; in i40evf_dev_stats_get()
2404 stats->opackets = pstats->tx_broadcast + pstats->tx_multicast + in i40evf_dev_stats_get()
2405 pstats->tx_unicast; in i40evf_dev_stats_get()
2407 stats->oerrors = pstats->tx_errors + pstats->tx_discards; in i40evf_dev_stats_get()
2408 stats->ibytes = pstats->rx_bytes; in i40evf_dev_stats_get()
[all …]
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_l2.c1734 struct eth_pstorm_per_queue_stat pstats; in __ecore_get_vport_pstats() local
1740 OSAL_MEMSET(&pstats, 0, sizeof(pstats)); in __ecore_get_vport_pstats()
1744 HILO_64_REGPAIR(pstats.sent_ucast_bytes); in __ecore_get_vport_pstats()
1746 HILO_64_REGPAIR(pstats.sent_mcast_bytes); in __ecore_get_vport_pstats()
1748 HILO_64_REGPAIR(pstats.sent_bcast_bytes); in __ecore_get_vport_pstats()
1750 HILO_64_REGPAIR(pstats.sent_ucast_pkts); in __ecore_get_vport_pstats()
1752 HILO_64_REGPAIR(pstats.sent_mcast_pkts); in __ecore_get_vport_pstats()
1754 HILO_64_REGPAIR(pstats.sent_bcast_pkts); in __ecore_get_vport_pstats()
1756 HILO_64_REGPAIR(pstats.error_drop_pkts); in __ecore_get_vport_pstats()
2059 struct eth_pstorm_per_queue_stat pstats; in ecore_reset_vport_stats() local
[all …]
H A Decore_vfpf_if.h152 struct pfvf_storm_stats pstats; member
H A Decore_sriov.c1763 p_stats->pstats.address = PXP_VF_BAR0_START_PSDM_ZONE_B + in ecore_iov_vf_mbx_acquire_stats()
1766 p_stats->pstats.len = sizeof(struct eth_pstorm_per_queue_stat); in ecore_iov_vf_mbx_acquire_stats()
/f-stack/freebsd/sys/
H A Dproc.h604 struct pstats *p_stats; /* (b) Accounting/statistics (CPU). */
1111 struct pstats *pstats_alloc(void);
1112 void pstats_fork(struct pstats *src, struct pstats *dst);
1113 void pstats_free(struct pstats *ps);
H A Dresourcevar.h56 struct pstats { struct
H A Duser.h244 struct pstats u_stats; /* *p_stats */
/f-stack/tools/compat/include/sys/
H A Dresourcevar.h54 struct pstats { struct
H A Duser.h240 struct pstats u_stats; /* *p_stats */