| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_stats.c | 36 struct roc_nix_stats_queue qstats; in cnxk_nix_stats_get() local 44 stats->q_opackets[i] = qstats.tx_pkts; in cnxk_nix_stats_get() 45 stats->q_obytes[i] = qstats.tx_octs; in cnxk_nix_stats_get() 54 stats->q_ipackets[i] = qstats.rx_pkts; in cnxk_nix_stats_get() 55 stats->q_ibytes[i] = qstats.rx_octs; in cnxk_nix_stats_get() 117 struct roc_nix_stats_queue qstats; in cnxk_nix_xstats_get() local 125 xstats[idx].value = qstats.rx_pkts; in cnxk_nix_xstats_get() 128 xstats[idx].value = qstats.rx_octs; in cnxk_nix_xstats_get() 141 struct roc_nix_stats_queue qstats; in cnxk_nix_xstats_get() local 149 xstats[idx].value = qstats.tx_pkts; in cnxk_nix_xstats_get() [all …]
|
| H A D | cnxk_tm.c | 578 struct roc_nix_stats_queue qstats; in cnxk_nix_tm_node_stats_read() local 580 rc = roc_nix_stats_queue_get(nix, node->id, 0, &qstats); in cnxk_nix_tm_node_stats_read() 582 stats->n_pkts = qstats.tx_pkts; in cnxk_nix_tm_node_stats_read() 583 stats->n_bytes = qstats.tx_octs; in cnxk_nix_tm_node_stats_read()
|
| /dpdk/drivers/net/ark/ |
| H A D | ark_udm.c | 115 return udm->qstats.q_pkt_drop; in ark_udm_dropped() 121 return udm->qstats.q_byte_count; in ark_udm_bytes() 127 return udm->qstats.q_ff_packet_count; in ark_udm_packets() 151 "Pkts Received", udm->qstats.q_packet_count, in ark_udm_dump_queue_stats() 152 "Pkts Finalized", udm->qstats.q_ff_packet_count, in ark_udm_dump_queue_stats() 153 "Pkts Dropped", udm->qstats.q_pkt_drop, in ark_udm_dump_queue_stats() 154 "Bytes Count", udm->qstats.q_byte_count, in ark_udm_dump_queue_stats() 155 "MBuf Count", udm->qstats.q_mbuf_count); in ark_udm_dump_queue_stats() 195 udm->qstats.q_byte_count = 1; in ark_udm_queue_stats_reset() 201 udm->qstats.q_enable = enable ? 1 : 0; in ark_udm_queue_enable()
|
| H A D | ark_udm.h | 125 struct ark_udm_queue_stats_t qstats; member
|
| /dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x_stats.h | 493 ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \ 508 ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \ 521 ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \ 532 qstats_old->f = qstats->f; \ 547 estats->s += qstats->s; \ 549 qstats_old->s##_old = qstats->s; \ 554 ADD_64(fstats->s##_hi, qstats->s##_hi, \ 555 fstats->s##_lo, qstats->s##_lo); \ 560 qstats_old->s##_hi = qstats->s##_hi; \ 561 qstats_old->s##_lo = qstats->s##_lo; \ [all …]
|
| H A D | bnx2x_stats.c | 951 qstats->total_bytes_received_hi = in bnx2x_storm_stats_update() 953 qstats->total_bytes_received_lo = in bnx2x_storm_stats_update() 956 ADD_64(qstats->total_bytes_received_hi, in bnx2x_storm_stats_update() 958 qstats->total_bytes_received_lo, in bnx2x_storm_stats_update() 963 qstats->total_bytes_received_lo, in bnx2x_storm_stats_update() 966 qstats->valid_bytes_received_hi = qstats->total_bytes_received_hi; in bnx2x_storm_stats_update() 967 qstats->valid_bytes_received_lo = qstats->total_bytes_received_lo; in bnx2x_storm_stats_update() 996 qstats->total_bytes_transmitted_hi = in bnx2x_storm_stats_update() 998 qstats->total_bytes_transmitted_lo = in bnx2x_storm_stats_update() 1003 qstats->total_bytes_transmitted_lo, in bnx2x_storm_stats_update() [all …]
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_stats.c | 98 struct roc_nix_stats_queue *qstats) in nix_stat_rx_queue_get() argument 100 qstats->rx_pkts = qstat_read(nix, qid, NIX_LF_RQ_OP_PKTS); in nix_stat_rx_queue_get() 101 qstats->rx_octs = qstat_read(nix, qid, NIX_LF_RQ_OP_OCTS); in nix_stat_rx_queue_get() 104 qstats->rx_error_pkts = qstat_read(nix, qid, NIX_LF_RQ_OP_RE_PKTS); in nix_stat_rx_queue_get() 109 struct roc_nix_stats_queue *qstats) in nix_stat_tx_queue_get() argument 111 qstats->tx_pkts = qstat_read(nix, qid, NIX_LF_SQ_OP_PKTS); in nix_stat_tx_queue_get() 112 qstats->tx_octs = qstat_read(nix, qid, NIX_LF_SQ_OP_OCTS); in nix_stat_tx_queue_get() 225 struct roc_nix_stats_queue *qstats) in roc_nix_stats_queue_get() argument 230 if (qstats == NULL) in roc_nix_stats_queue_get() 238 nix_stat_rx_queue_get(nix, qid, qstats); in roc_nix_stats_queue_get() [all …]
|
| H A D | roc_nix.h | 832 struct roc_nix_stats_queue *qstats);
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_sw_stats.c | 48 union sfc_pkts_bytes qstats; in sfc_sw_stat_get_rx_good_pkts_bytes() local 54 sfc_pkts_bytes_get(&rxq_info->dp->dpq.stats, &qstats); in sfc_sw_stat_get_rx_good_pkts_bytes() 55 values[SFC_SW_STATS_GROUP_BASIC_PKTS] = qstats.pkts; in sfc_sw_stat_get_rx_good_pkts_bytes() 56 values[SFC_SW_STATS_GROUP_BASIC_BYTES] = qstats.bytes; in sfc_sw_stat_get_rx_good_pkts_bytes() 71 union sfc_pkts_bytes qstats; in sfc_sw_stat_get_tx_good_pkts_bytes() local 77 sfc_pkts_bytes_get(&txq_info->dp->dpq.stats, &qstats); in sfc_sw_stat_get_tx_good_pkts_bytes() 78 values[SFC_SW_STATS_GROUP_BASIC_PKTS] = qstats.pkts; in sfc_sw_stat_get_tx_good_pkts_bytes() 79 values[SFC_SW_STATS_GROUP_BASIC_BYTES] = qstats.bytes; in sfc_sw_stat_get_tx_good_pkts_bytes()
|
| H A D | sfc_ethdev.c | 605 union sfc_pkts_bytes qstats; in sfc_stats_get_dp_rx() local 607 sfc_pkts_bytes_get(&rxq_info->dp->dpq.stats, &qstats); in sfc_stats_get_dp_rx() 608 pkts_sum += qstats.pkts - in sfc_stats_get_dp_rx() 610 bytes_sum += qstats.bytes - in sfc_stats_get_dp_rx() 632 union sfc_pkts_bytes qstats; in sfc_stats_get_dp_tx() local 634 sfc_pkts_bytes_get(&txq_info->dp->dpq.stats, &qstats); in sfc_stats_get_dp_tx() 635 pkts_sum += qstats.pkts - in sfc_stats_get_dp_tx() 637 bytes_sum += qstats.bytes - in sfc_stats_get_dp_tx()
|
| /dpdk/drivers/net/thunderx/base/ |
| H A D | nicvf_hw.c | 901 nicvf_hw_get_rx_qstats(struct nicvf *nic, struct nicvf_hw_rx_qstats *qstats, in nicvf_hw_get_rx_qstats() argument 904 qstats->q_rx_bytes = in nicvf_hw_get_rx_qstats() 906 qstats->q_rx_packets = in nicvf_hw_get_rx_qstats() 911 nicvf_hw_get_tx_qstats(struct nicvf *nic, struct nicvf_hw_tx_qstats *qstats, in nicvf_hw_get_tx_qstats() argument 914 qstats->q_tx_bytes = in nicvf_hw_get_tx_qstats() 916 qstats->q_tx_packets = in nicvf_hw_get_tx_qstats()
|
| H A D | nicvf_hw.h | 214 struct nicvf_hw_rx_qstats *qstats, uint16_t qidx); 216 struct nicvf_hw_tx_qstats *qstats, uint16_t qidx);
|