Home
last modified time | relevance | path

Searched refs:counters (Results 1 – 25 of 96) sorted by relevance

1234

/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_stats.c42 uint64_t counters[n]; in mlx5_xstats_get() local
55 ret = mlx5_os_read_dev_counters(dev, counters); in mlx5_xstats_get()
64 stats[i].value = (counters[i] - in mlx5_xstats_get()
75 (counters[i] - xstats_ctrl->base[i]); in mlx5_xstats_get()
220 uint64_t *counters; in mlx5_xstats_reset() local
231 counters = mlx5_malloc(MLX5_MEM_SYS, sizeof(*counters) * in mlx5_xstats_reset()
234 if (!counters) { in mlx5_xstats_reset()
241 ret = mlx5_os_read_dev_counters(dev, counters); in mlx5_xstats_reset()
245 mlx5_free(counters); in mlx5_xstats_reset()
249 xstats_ctrl->base[i] = counters[i]; in mlx5_xstats_reset()
[all …]
H A Dmlx5_flow_verbs.c272 cnt = TAILQ_FIRST(&pool->counters[0]); in flow_verbs_counter_new()
311 TAILQ_REMOVE(&pool->counters[0], cnt, next); in flow_verbs_counter_new()
329 TAILQ_INSERT_HEAD(&pool->counters[0], cnt, next); in flow_verbs_counter_new()
361 TAILQ_INSERT_HEAD(&pool->counters[0], cnt, next); in flow_verbs_counter_release()
382 uint64_t counters[2] = {0, 0}; in flow_verbs_counter_query() local
390 .out = counters, in flow_verbs_counter_query()
398 RTE_DIM(counters), in flow_verbs_counter_query()
409 qc->hits = counters[0] - cnt->hits; in flow_verbs_counter_query()
410 qc->bytes = counters[1] - cnt->bytes; in flow_verbs_counter_query()
412 cnt->hits = counters[0]; in flow_verbs_counter_query()
[all …]
/f-stack/dpdk/doc/guides/contributing/
H A Ddesign.rst88 When this flag is set, all the counters supported by current library are
99 counters is turned on or off for the current library. In practical terms, this
101 statistics counters and the statistics related API functions are always built
105 When the collection of statistics counters for the current library is turned
114 an application to monitor the library-level run-time events. Typical counters
119 have to be spent out of the application budget and the counters collected by
123 statistics counters should be turned on or off for each library individually.
125 Library-level statistics counters can be relevant or not for specific
128 * For Application A, counters maintained by Library X are always relevant and
152 counters collection turned on.
[all …]
/f-stack/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa_virtq.c106 if (virtq->counters) { in mlx5_vdpa_virtqs_release()
107 claim_zero(mlx5_devx_cmd_destroy(virtq->counters)); in mlx5_vdpa_virtqs_release()
108 virtq->counters = NULL; in mlx5_vdpa_virtqs_release()
255 if (!virtq->counters) in mlx5_vdpa_virtq_setup()
256 virtq->counters = mlx5_devx_cmd_create_virtio_q_counters in mlx5_vdpa_virtq_setup()
258 if (!virtq->counters) { in mlx5_vdpa_virtq_setup()
263 attr.counters_obj_id = virtq->counters->id; in mlx5_vdpa_virtq_setup()
568 if (!virtq->counters) { in mlx5_vdpa_virtq_stats_get()
573 ret = mlx5_devx_cmd_query_virtio_q_counters(virtq->counters, &attr); in mlx5_vdpa_virtq_stats_get()
624 if (!virtq->counters) { in mlx5_vdpa_virtq_stats_reset()
[all …]
/f-stack/dpdk/drivers/crypto/dpaa2_sec/mc/
H A Ddpseci.c514 struct dpseci_sec_counters *counters) in dpseci_get_sec_counters() argument
532 counters->dequeued_requests = in dpseci_get_sec_counters()
534 counters->ob_enc_requests = le64_to_cpu(rsp_params->ob_enc_requests); in dpseci_get_sec_counters()
535 counters->ib_dec_requests = le64_to_cpu(rsp_params->ib_dec_requests); in dpseci_get_sec_counters()
536 counters->ob_enc_bytes = le64_to_cpu(rsp_params->ob_enc_bytes); in dpseci_get_sec_counters()
537 counters->ob_prot_bytes = le64_to_cpu(rsp_params->ob_prot_bytes); in dpseci_get_sec_counters()
538 counters->ib_dec_bytes = le64_to_cpu(rsp_params->ib_dec_bytes); in dpseci_get_sec_counters()
539 counters->ib_valid_bytes = le64_to_cpu(rsp_params->ib_valid_bytes); in dpseci_get_sec_counters()
/f-stack/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_glue.c312 mlx5_glue_destroy_counters(struct ibv_counters *counters) in mlx5_glue_destroy_counters() argument
315 (void)counters; in mlx5_glue_destroy_counters()
318 return ibv_destroy_counters(counters); in mlx5_glue_destroy_counters()
323 mlx5_glue_attach_counters(struct ibv_counters *counters, in mlx5_glue_attach_counters() argument
328 (void)counters; in mlx5_glue_attach_counters()
333 return ibv_attach_counters_point_flow(counters, attr, flow); in mlx5_glue_attach_counters()
338 mlx5_glue_query_counters(struct ibv_counters *counters, in mlx5_glue_query_counters() argument
344 (void)counters; in mlx5_glue_query_counters()
350 return ibv_read_counters(counters, counters_value, ncounters, flags); in mlx5_glue_query_counters()
H A Dmlx5_glue.h200 int (*destroy_counters)(struct ibv_counters *counters);
201 int (*attach_counters)(struct ibv_counters *counters,
204 int (*query_counters)(struct ibv_counters *counters,
/f-stack/tools/netstat/
H A Dmain.c872 u_long *counters; in kread_counters() local
884 if ((counters = malloc(n * sizeof(u_long))) == NULL) in kread_counters()
886 if (kread(addr, counters, n * sizeof(u_long)) < 0) { in kread_counters()
887 free(counters); in kread_counters()
893 c[i] = kvm_counter_u64_fetch(kvmd, counters[i]); in kread_counters()
895 free(counters); in kread_counters()
/f-stack/dpdk/doc/guides/prog_guide/
H A Dprofile_app.rst14 Intel processors provide performance counters to monitor events.
21 The main situations that should be monitored through event counters are:
42 The ARM64 architecture provide performance counters to monitor events. The
H A Dtraffic_metering_and_policing.rst47 packet. Statistics counters are maintained for MTR object, as configured.
72 * Statistics: The set of counters maintained for each MTR object is
/f-stack/freebsd/contrib/device-tree/Bindings/arc/
H A Darchs-pct.txt5 are 100+ hardware conditions dynamically mapped to up to 32 counters.
H A Dpct.txt5 are 100+ hardware conditions dynamically mapped to up to 32 counters
/f-stack/freebsd/contrib/device-tree/Bindings/timer/
H A Dnuvoton,npcm7xx-timer.txt4 timer counters.
H A Denergymicro,efm32-timer.txt3 The efm32 Giant Gecko SoCs come with four 16 bit timers. Two counters can be
H A Dnvidia,tegra210-timer.txt3 The Tegra210 timer provides fourteen 29-bit timer counters and one 32-bit
/f-stack/freebsd/contrib/device-tree/Bindings/soc/microchip/
H A Datmel,at91rm9200-tcb.yaml14 timer has three channels with two counters each.
55 description: The timer block channels that are used as timers or counters.
/f-stack/freebsd/contrib/device-tree/Bindings/watchdog/
H A Ddigicolor-wdt.txt5 timer counters. The first timer (called "Timer A") is the only one that can be
H A Dnuvoton,npcm-wdt.txt3 Nuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog.
/f-stack/freebsd/contrib/device-tree/Bindings/rtc/
H A Dnvidia,tegra20-rtc.txt3 The Tegra RTC maintains seconds and milliseconds counters, and five alarm
/f-stack/freebsd/contrib/device-tree/Bindings/arm/
H A Darm-dsu-pmu.txt6 the operations of the DSU. The PMU provides independent 32bit counters that
/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x_stats.c851 struct stats_counter *counters = &sc->fw_stats_data->storm_counters; in bnx2x_storm_stats_validate_counters() local
861 if (le16toh(counters->xstats_counter) != cur_stats_counter) { in bnx2x_storm_stats_validate_counters()
865 le16toh(counters->xstats_counter), sc->stats_counter); in bnx2x_storm_stats_validate_counters()
869 if (le16toh(counters->ustats_counter) != cur_stats_counter) { in bnx2x_storm_stats_validate_counters()
873 le16toh(counters->ustats_counter), sc->stats_counter); in bnx2x_storm_stats_validate_counters()
877 if (le16toh(counters->cstats_counter) != cur_stats_counter) { in bnx2x_storm_stats_validate_counters()
881 le16toh(counters->cstats_counter), sc->stats_counter); in bnx2x_storm_stats_validate_counters()
885 if (le16toh(counters->tstats_counter) != cur_stats_counter) { in bnx2x_storm_stats_validate_counters()
889 le16toh(counters->tstats_counter), sc->stats_counter); in bnx2x_storm_stats_validate_counters()
/f-stack/freebsd/netgraph/bluetooth/l2cap/
H A DTODO28 5) Add bytes/packets counters and commands to get/reset them
/f-stack/freebsd/contrib/openzfs/config/
H A Dkernel-generic_io_acct.m473 dnl # iostat counters without generic_make_request().
/f-stack/freebsd/contrib/device-tree/Bindings/clock/sifive/
H A Dfu540-prci.txt13 and cycle counters.
/f-stack/tools/compat/include/netpfil/pf/
H A Dpf.h187 uint64_t counters[PFRES_MAX]; member

1234