| /dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x_stats.c | 683 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 D | bnx2x_stats.h | 452 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 D | bnx2x.c | 2926 struct host_port_stats *pstats; in bnx2x_link_attn() local 2951 pstats = BNX2X_SP(sc, port_stats); in bnx2x_link_attn() 2953 memset(&(pstats->mac_stx[0]), 0, in bnx2x_link_attn()
|
| /dpdk/examples/multi_process/symmetric_mp/ |
| H A D | main.c | 77 static struct port_stats pstats[RTE_MAX_ETHPORTS]; variable 105 pstats[p_num].rx, pstats[p_num].tx, pstats[p_num].drop); in print_stats() 358 pstats[src].rx += rx_c; in lcore_main() 361 pstats[dst].tx += tx_c; in lcore_main() 363 pstats[dst].drop += (rx_c - tx_c); in lcore_main()
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_dcf_ethdev.c | 1336 struct virtchnl_eth_stats pstats; in ice_dcf_stats_get() local 1348 stats->ipackets = pstats.rx_unicast + pstats.rx_multicast + in ice_dcf_stats_get() 1349 pstats.rx_broadcast - pstats.rx_discards; in ice_dcf_stats_get() 1350 stats->opackets = pstats.tx_broadcast + pstats.tx_multicast + in ice_dcf_stats_get() 1351 pstats.tx_unicast; in ice_dcf_stats_get() 1352 stats->imissed = pstats.rx_discards; in ice_dcf_stats_get() 1353 stats->oerrors = pstats.tx_errors + pstats.tx_discards; in ice_dcf_stats_get() 1354 stats->ibytes = pstats.rx_bytes; in ice_dcf_stats_get() 1356 stats->obytes = pstats.tx_bytes; in ice_dcf_stats_get() 1368 struct virtchnl_eth_stats pstats; in ice_dcf_stats_reset() local [all …]
|
| H A D | ice_dcf.h | 155 struct virtchnl_eth_stats *pstats);
|
| H A D | ice_dcf.c | 1066 struct virtchnl_eth_stats *pstats) in ice_dcf_query_stats() argument 1078 args.rsp_msglen = sizeof(*pstats); in ice_dcf_query_stats() 1079 args.rsp_msgbuf = (uint8_t *)pstats; in ice_dcf_query_stats() 1080 args.rsp_buflen = sizeof(*pstats); in ice_dcf_query_stats()
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf_ethdev.c | 1703 iavf_update_stats(vsi, pstats); in iavf_dev_stats_get() 1704 stats->ipackets = pstats->rx_unicast + pstats->rx_multicast + in iavf_dev_stats_get() 1705 pstats->rx_broadcast - pstats->rx_discards; in iavf_dev_stats_get() 1706 stats->opackets = pstats->tx_broadcast + pstats->tx_multicast + in iavf_dev_stats_get() 1707 pstats->tx_unicast; in iavf_dev_stats_get() 1708 stats->imissed = pstats->rx_discards; in iavf_dev_stats_get() 1709 stats->oerrors = pstats->tx_errors + pstats->tx_discards; in iavf_dev_stats_get() 1710 stats->ibytes = pstats->rx_bytes; in iavf_dev_stats_get() 1712 stats->obytes = pstats->tx_bytes; in iavf_dev_stats_get() 1808 iavf_update_stats(vsi, pstats); in iavf_dev_xstats_get() [all …]
|
| H A D | iavf.h | 449 struct virtchnl_eth_stats **pstats);
|
| H A D | iavf_vchnl.c | 1243 struct virtchnl_eth_stats **pstats) in iavf_query_stats() argument 1261 *pstats = NULL; in iavf_query_stats() 1264 *pstats = (struct virtchnl_eth_stats *)args.out_buffer; in iavf_query_stats()
|
| /dpdk/drivers/net/qede/base/ |
| H A D | ecore_l2.c | 1734 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 D | ecore_vfpf_if.h | 152 struct pfvf_storm_stats pstats; member
|
| H A D | ecore_sriov.c | 1763 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()
|
| /dpdk/drivers/net/vhost/ |
| H A D | rte_eth_vhost.c | 325 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() 343 struct vhost_stats *pstats = &vq->stats; in vhost_update_single_packet_xstats() local 345 pstats->xstats[VHOST_PKT]++; in vhost_update_single_packet_xstats() 348 pstats->xstats[VHOST_64_PKT]++; in vhost_update_single_packet_xstats() 352 pstats->xstats[index]++; in vhost_update_single_packet_xstats() 355 pstats->xstats[VHOST_UNDERSIZE_PKT]++; in vhost_update_single_packet_xstats() 357 pstats->xstats[VHOST_1024_TO_1522_PKT]++; in vhost_update_single_packet_xstats() [all …]
|