Searched refs:stats (Results 1 - 25 of 179) sorted by relevance

12345678

/deb_dpdk/drivers/net/mlx5/
H A Dmlx5_stats.c52 * @param[out] stats
56 mlx5_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats) argument
70 idx = rxq->stats.idx;
73 tmp.q_ipackets[idx] += rxq->stats.ipackets;
74 tmp.q_ibytes[idx] += rxq->stats.ibytes;
76 tmp.q_errors[idx] += (rxq->stats.idropped +
77 rxq->stats.rx_nombuf);
80 tmp.ipackets += rxq->stats.ipackets;
81 tmp.ibytes += rxq->stats.ibytes;
83 tmp.ierrors += rxq->stats
[all...]
/deb_dpdk/app/test/
H A Dtest_pmd_ring.c155 struct rte_eth_stats stats; local
160 /* check stats of RXTX port, should all be zero */
162 rte_eth_stats_get(port, &stats);
163 if (stats.ipackets != 0 || stats.opackets != 0 ||
164 stats.ibytes != 0 || stats.obytes != 0 ||
165 stats.ierrors != 0 || stats.oerrors != 0) {
166 printf("Error: port %d stats ar
194 struct rte_eth_stats stats; local
246 struct rte_eth_stats stats, stats2; local
[all...]
/deb_dpdk/lib/librte_table/
H A Drte_table_stub.c44 table->stats.n_pkts_in += val
46 table->stats.n_pkts_lookup_miss += val
56 struct rte_table_stats stats; member in struct:rte_table_stub
99 rte_table_stub_stats_read(void *table, struct rte_table_stats *stats, int clear) argument
103 if (stats != NULL)
104 memcpy(stats, &t->stats, sizeof(t->stats));
107 memset(&t->stats, 0, sizeof(t->stats));
[all...]
H A Drte_table_array.c48 table->stats.n_pkts_in += val
50 table->stats.n_pkts_lookup_miss += val
60 struct rte_table_stats stats; member in struct:rte_table_array
215 rte_table_array_stats_read(void *table, struct rte_table_stats *stats, int clear) argument
219 if (stats != NULL)
220 memcpy(stats, &array->stats, sizeof(array->stats));
223 memset(&array->stats, 0, sizeof(array->stats));
[all...]
/deb_dpdk/lib/librte_port/
H A Drte_port_sched.c46 port->stats.n_pkts_in += val
48 port->stats.n_pkts_drop += val
58 struct rte_port_in_stats stats; member in struct:rte_port_sched_reader
118 struct rte_port_in_stats *stats, int clear)
123 if (stats != NULL)
124 memcpy(stats, &p->stats, sizeof(p->stats));
127 memset(&p->stats, 0, sizeof(p->stats));
117 rte_port_sched_reader_stats_read(void *port, struct rte_port_in_stats *stats, int clear) argument
150 struct rte_port_out_stats stats; member in struct:rte_port_sched_writer
291 rte_port_sched_writer_stats_read(void *port, struct rte_port_out_stats *stats, int clear) argument
[all...]
H A Drte_port_ethdev.c48 port->stats.n_pkts_in += val
50 port->stats.n_pkts_drop += val
60 struct rte_port_in_stats stats; member in struct:rte_port_ethdev_reader
120 struct rte_port_in_stats *stats, int clear)
125 if (stats != NULL)
126 memcpy(stats, &p->stats, sizeof(p->stats));
129 memset(&p->stats, 0, sizeof(p->stats));
119 rte_port_ethdev_reader_stats_read(void *port, struct rte_port_in_stats *stats, int clear) argument
152 struct rte_port_out_stats stats; member in struct:rte_port_ethdev_writer
299 rte_port_ethdev_writer_stats_read(void *port, struct rte_port_out_stats *stats, int clear) argument
332 struct rte_port_out_stats stats; member in struct:rte_port_ethdev_writer_nodrop
512 rte_port_ethdev_writer_nodrop_stats_read(void *port, struct rte_port_out_stats *stats, int clear) argument
[all...]
H A Drte_port_fd.c48 do { port->stats.n_pkts_in += val; } while (0)
50 do { port->stats.n_pkts_drop += val; } while (0)
60 struct rte_port_in_stats stats; member in struct:rte_port_fd_reader
156 struct rte_port_in_stats *stats, int clear)
161 if (stats != NULL)
162 memcpy(stats, &p->stats, sizeof(p->stats));
165 memset(&p->stats, 0, sizeof(p->stats));
155 rte_port_fd_reader_stats_read(void *port, struct rte_port_in_stats *stats, int clear) argument
188 struct rte_port_out_stats stats; member in struct:rte_port_fd_writer
326 rte_port_fd_writer_stats_read(void *port, struct rte_port_out_stats *stats, int clear) argument
359 struct rte_port_out_stats stats; member in struct:rte_port_fd_writer_nodrop
511 rte_port_fd_writer_nodrop_stats_read(void *port, struct rte_port_out_stats *stats, int clear) argument
[all...]
H A Drte_port_kni.c48 port->stats.n_pkts_in += val
50 port->stats.n_pkts_drop += val
60 struct rte_port_in_stats stats; member in struct:rte_port_kni_reader
118 struct rte_port_in_stats *stats, int clear)
123 if (stats != NULL)
124 memcpy(stats, &p->stats, sizeof(p->stats));
127 memset(&p->stats, 0, sizeof(p->stats));
117 rte_port_kni_reader_stats_read(void *port, struct rte_port_in_stats *stats, int clear) argument
150 struct rte_port_out_stats stats; member in struct:rte_port_kni_writer
293 rte_port_kni_writer_stats_read(void *port, struct rte_port_out_stats *stats, int clear) argument
326 struct rte_port_out_stats stats; member in struct:rte_port_kni_writer_nodrop
503 rte_port_kni_writer_nodrop_stats_read(void *port, struct rte_port_out_stats *stats, int clear) argument
[all...]
H A Drte_port_ring.c48 port->stats.n_pkts_in += val
50 port->stats.n_pkts_drop += val
60 struct rte_port_in_stats stats; member in struct:rte_port_ring_reader
148 struct rte_port_in_stats *stats, int clear)
153 if (stats != NULL)
154 memcpy(stats, &p->stats, sizeof(p->stats));
157 memset(&p->stats, 0, sizeof(p->stats));
147 rte_port_ring_reader_stats_read(void *port, struct rte_port_in_stats *stats, int clear) argument
180 struct rte_port_out_stats stats; member in struct:rte_port_ring_writer
415 rte_port_ring_writer_stats_read(void *port, struct rte_port_out_stats *stats, int clear) argument
448 struct rte_port_out_stats stats; member in struct:rte_port_ring_writer_nodrop
744 rte_port_ring_writer_nodrop_stats_read(void *port, struct rte_port_out_stats *stats, int clear) argument
[all...]
H A Drte_port_source_sink.c54 port->stats.n_pkts_in += val
56 port->stats.n_pkts_drop += val
66 struct rte_port_in_stats stats; member in struct:rte_port_source
323 struct rte_port_in_stats *stats, int clear)
328 if (stats != NULL)
329 memcpy(stats, &p->stats, sizeof(p->stats));
332 memset(&p->stats, 0, sizeof(p->stats));
322 rte_port_source_stats_read(void *port, struct rte_port_in_stats *stats, int clear) argument
355 struct rte_port_out_stats stats; member in struct:rte_port_sink
621 rte_port_sink_stats_read(void *port, struct rte_port_out_stats *stats, int clear) argument
[all...]
H A Drte_port_frag.c47 port->stats.n_pkts_in += val
49 port->stats.n_pkts_drop += val
67 struct rte_port_in_stats stats; member in struct:rte_port_ring_reader_frag
276 struct rte_port_in_stats *stats, int clear)
281 if (stats != NULL)
282 memcpy(stats, &p->stats, sizeof(p->stats));
285 memset(&p->stats, 0, sizeof(p->stats));
275 rte_port_frag_reader_stats_read(void *port, struct rte_port_in_stats *stats, int clear) argument
[all...]
H A Drte_port_ras.c57 port->stats.n_pkts_in += val
59 port->stats.n_pkts_drop += val
80 struct rte_port_out_stats stats; member in struct:rte_port_ring_writer_ras
326 struct rte_port_out_stats *stats, int clear)
331 if (stats != NULL)
332 memcpy(stats, &p->stats, sizeof(p->stats));
335 memset(&p->stats, 0, sizeof(p->stats));
325 rte_port_ras_writer_stats_read(void *port, struct rte_port_out_stats *stats, int clear) argument
[all...]
/deb_dpdk/examples/qos_sched/
H A Dstats.c42 struct rte_sched_queue_stats stats; local
64 rte_sched_queue_read_stats(port, queue_id, &stats, &qlen);
79 struct rte_sched_queue_stats stats; local
102 rte_sched_queue_read_stats(port, queue_id + (tc * RTE_SCHED_QUEUES_PER_TRAFFIC_CLASS + i), &stats, &qlen);
119 struct rte_sched_queue_stats stats; local
141 rte_sched_queue_read_stats(port, queue_id + i, &stats, &qlen);
158 struct rte_sched_queue_stats stats; local
181 rte_sched_queue_read_stats(port, queue_id + (tc * RTE_SCHED_QUEUES_PER_TRAFFIC_CLASS + j), &stats, &qlen);
200 struct rte_sched_queue_stats stats; local
223 rte_sched_queue_read_stats(port, queue_id + j, &stats,
242 struct rte_sched_subport_stats stats; local
278 struct rte_sched_queue_stats stats; local
[all...]
H A Dmain.c180 struct rte_eth_stats stats; local
188 rte_eth_stats_get(flow->rx_port, &stats);
192 stats.ipackets - rx_stats[i].ipackets,
193 stats.ierrors - rx_stats[i].ierrors,
194 stats.rx_nombuf - rx_stats[i].rx_nombuf);
195 memcpy(&rx_stats[i], &stats, sizeof(stats));
197 rte_eth_stats_get(flow->tx_port, &stats);
200 stats.opackets - tx_stats[i].opackets,
201 stats
[all...]
/deb_dpdk/examples/multi_process/client_server_mp/mp_server/
H A Dinit.h44 * stats from the clients.
49 /* these stats hold how many packets the client will actually receive,
51 * The port-info stats, in contrast, record how many packets were received
57 } stats; member in struct:client
62 /* the shared port information: port numbers, rx and tx stats etc. */
/deb_dpdk/drivers/net/vhost/
H A Drte_eth_vhost.c111 struct vhost_stats stats; member in struct:vhost_queue
162 offsetof(struct vhost_queue, stats.pkts)},
164 offsetof(struct vhost_queue, stats.bytes)},
166 offsetof(struct vhost_queue, stats.missed_pkts)},
168 offsetof(struct vhost_queue, stats.xstats[VHOST_BROADCAST_PKT])},
170 offsetof(struct vhost_queue, stats.xstats[VHOST_MULTICAST_PKT])},
172 offsetof(struct vhost_queue, stats.xstats[VHOST_UNICAST_PKT])},
174 offsetof(struct vhost_queue, stats.xstats[VHOST_UNDERSIZE_PKT])},
176 offsetof(struct vhost_queue, stats.xstats[VHOST_64_PKT])},
178 offsetof(struct vhost_queue, stats
878 eth_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats) argument
[all...]
/deb_dpdk/app/proc_info/
H A Dmain.c67 /**< Enable stats. */
71 /**< Enable stats reset. */
84 " -p PORTMASK: hexadecimal bitmask of ports to retrieve stats for\n"
85 " --stats: to display port statistics, enabled by default\n"
88 " --stats-reset: to reset port statistics\n"
127 {"stats", 0, NULL, 0},
128 {"stats-reset", 0, NULL, 0},
154 /* Print stats */
155 if (!strncmp(long_option[option_index].name, "stats",
162 /* Reset stats */
199 struct rte_eth_stats stats; local
[all...]
/deb_dpdk/examples/ip_pipeline/pipeline/
H A Dpipeline_common_fe.c229 struct rte_pipeline_port_in_stats *stats)
238 (stats == NULL))
264 memcpy(stats, &rsp->stats, sizeof(rsp->stats));
276 struct rte_pipeline_port_out_stats *stats)
286 (stats == NULL))
311 memcpy(stats, &rsp->stats, sizeof(rsp->stats));
226 app_pipeline_stats_port_in(struct app_params *app, uint32_t pipeline_id, uint32_t port_id, struct rte_pipeline_port_in_stats *stats) argument
273 app_pipeline_stats_port_out(struct app_params *app, uint32_t pipeline_id, uint32_t port_id, struct rte_pipeline_port_out_stats *stats) argument
320 app_pipeline_stats_table(struct app_params *app, uint32_t pipeline_id, uint32_t table_id, struct rte_pipeline_table_stats *stats) argument
696 struct rte_pipeline_port_in_stats stats; local
782 struct rte_pipeline_port_out_stats stats; local
866 struct rte_pipeline_table_stats stats; local
1077 struct rte_eth_stats stats; local
[all...]
/deb_dpdk/drivers/net/virtio/
H A Dvirtio_rxtx.h60 struct virtnet_stats stats; member in struct:virtnet_rx
75 struct virtnet_stats stats; member in struct:virtnet_tx
H A Dvirtio_ethdev.c79 struct rte_eth_stats *stats);
118 {"good_packets", offsetof(struct virtnet_rx, stats.packets)},
119 {"good_bytes", offsetof(struct virtnet_rx, stats.bytes)},
120 {"errors", offsetof(struct virtnet_rx, stats.errors)},
121 {"multicast_packets", offsetof(struct virtnet_rx, stats.multicast)},
122 {"broadcast_packets", offsetof(struct virtnet_rx, stats.broadcast)},
123 {"undersize_packets", offsetof(struct virtnet_rx, stats.size_bins[0])},
124 {"size_64_packets", offsetof(struct virtnet_rx, stats.size_bins[1])},
125 {"size_65_127_packets", offsetof(struct virtnet_rx, stats.size_bins[2])},
126 {"size_128_255_packets", offsetof(struct virtnet_rx, stats
787 virtio_update_stats(struct rte_eth_dev *dev, struct rte_eth_stats *stats) argument
917 virtio_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats) argument
[all...]
/deb_dpdk/drivers/net/e1000/base/
H A De1000_82543.h49 struct e1000_hw_stats *stats,
/deb_dpdk/drivers/net/e1000/
H A Dem_ethdev.c872 struct e1000_hw_stats *stats = local
878 stats->symerrs += E1000_READ_REG(hw,E1000_SYMERRS);
879 stats->sec += E1000_READ_REG(hw, E1000_SEC);
882 stats->crcerrs += E1000_READ_REG(hw, E1000_CRCERRS);
883 stats->mpc += E1000_READ_REG(hw, E1000_MPC);
884 stats->scc += E1000_READ_REG(hw, E1000_SCC);
885 stats->ecol += E1000_READ_REG(hw, E1000_ECOL);
887 stats->mcc += E1000_READ_REG(hw, E1000_MCC);
888 stats->latecol += E1000_READ_REG(hw, E1000_LATECOL);
889 stats
[all...]
/deb_dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/
H A Digb_ethtool.c63 IGB_STAT("rx_packets", stats.gprc),
64 IGB_STAT("tx_packets", stats.gptc),
65 IGB_STAT("rx_bytes", stats.gorc),
66 IGB_STAT("tx_bytes", stats.gotc),
67 IGB_STAT("rx_broadcast", stats.bprc),
68 IGB_STAT("tx_broadcast", stats.bptc),
69 IGB_STAT("rx_multicast", stats.mprc),
70 IGB_STAT("tx_multicast", stats.mptc),
71 IGB_STAT("multicast", stats.mprc),
72 IGB_STAT("collisions", stats
2073 igb_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument
[all...]
/deb_dpdk/drivers/crypto/aesni_mb/
H A Drte_aesni_mb_pmd_ops.c265 struct rte_cryptodev_stats *stats)
272 stats->enqueued_count += qp->stats.enqueued_count;
273 stats->dequeued_count += qp->stats.dequeued_count;
275 stats->enqueue_err_count += qp->stats.enqueue_err_count;
276 stats->dequeue_err_count += qp->stats.dequeue_err_count;
289 memset(&qp->stats,
264 aesni_mb_pmd_stats_get(struct rte_cryptodev *dev, struct rte_cryptodev_stats *stats) argument
[all...]
/deb_dpdk/lib/librte_pipeline/
H A Drte_pipeline.h116 /** Pipeline port in stats. */
118 /** Port in stats. */
119 struct rte_port_in_stats stats; member in struct:rte_pipeline_port_in_stats
126 /** Pipeline port out stats. */
128 /** Port out stats. */
129 struct rte_port_out_stats stats; member in struct:rte_pipeline_port_out_stats
135 /** Pipeline table stats. */
137 /** Table stats. */
138 struct rte_table_stats stats; member in struct:rte_pipeline_table_stats
541 * Read pipeline table stats
[all...]

Completed in 16 milliseconds

12345678