| /dpdk/drivers/net/sfc/ |
| H A D | sfc_mae_counter.c | 83 struct sfc_mae_counter_records *counters; in sfc_mae_counter_fw_rsrc_enable() local 92 counters = ®->action_counters; in sfc_mae_counter_fw_rsrc_enable() 95 counters = ®->conntrack_counters; in sfc_mae_counter_fw_rsrc_enable() 114 if (mae_counter.id >= counters->n_mae_counters) { in sfc_mae_counter_fw_rsrc_enable() 127 p = &counters->mae_counters[mae_counter.id]; in sfc_mae_counter_fw_rsrc_enable() 169 struct sfc_mae_counter_records *counters; in sfc_mae_counter_fw_rsrc_disable() local 176 counters = ®->action_counters; in sfc_mae_counter_fw_rsrc_disable() 179 counters = ®->conntrack_counters; in sfc_mae_counter_fw_rsrc_disable() 185 SFC_ASSERT(mae_counter->id < counters->n_mae_counters); in sfc_mae_counter_fw_rsrc_disable() 191 p = &counters->mae_counters[mae_counter->id]; in sfc_mae_counter_fw_rsrc_disable() [all …]
|
| H A D | sfc_mae_counter.h | 41 int sfc_mae_counters_init(struct sfc_mae_counter_records *counters, 43 void sfc_mae_counters_fini(struct sfc_mae_counter_records *counters);
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_stats.c | 42 uint64_t counters[MLX5_MAX_XSTATS]; in mlx5_xstats_get() local 68 ret = mlx5_os_read_dev_counters(dev, bond_master, counters); in mlx5_xstats_get() 77 stats[i].value = (counters[i] - in mlx5_xstats_get() 88 (counters[i] - xstats_ctrl->base[i]); in mlx5_xstats_get() 241 uint64_t *counters; in mlx5_xstats_reset() local 257 counters = mlx5_malloc(MLX5_MEM_SYS, sizeof(*counters) * xstats_ctrl->mlx5_stats_n, in mlx5_xstats_reset() 259 if (!counters) { in mlx5_xstats_reset() 265 ret = mlx5_os_read_dev_counters(dev, bond_master, counters); in mlx5_xstats_reset() 269 mlx5_free(counters); in mlx5_xstats_reset() 273 xstats_ctrl->base[i] = counters[i]; in mlx5_xstats_reset() [all …]
|
| /dpdk/doc/guides/contributing/ |
| H A D | design.rst | 141 When this flag is set, all the counters supported by current library are 143 When this flag is cleared, none of the counters supported by the current library 152 counters is turned on or off for the current library. In practical terms, this 154 statistics counters and the statistics related API functions are always built 158 When the collection of statistics counters for the current library is turned 159 off, the counters retrieved through the statistics related API functions should 166 It is highly recommended that each library provides statistics counters to allow 167 an application to monitor the library-level run-time events. Typical counters 172 have to be spent out of the application budget and the counters collected by 176 statistics counters should be turned on or off for each library individually. [all …]
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | profile_app.rst | 14 Intel processors provide performance counters to monitor events. 21 The main situations that should be monitored through event counters are: 56 The ARM64 architecture provide performance counters to monitor events. The
|
| H A D | link_bonding_poll_mode_drv_lib.rst | 200 - Summarize flow counters from all the members, relevant only for
|
| H A D | compressdev.rst | 72 - Initialization of statistics counters.
|
| /dpdk/drivers/vdpa/mlx5/ |
| H A D | mlx5_vdpa_virtq.c | 339 if (!virtq->counters) in mlx5_vdpa_virtq_sub_objs_prepare() 340 virtq->counters = mlx5_devx_cmd_create_virtio_q_counters in mlx5_vdpa_virtq_sub_objs_prepare() 342 if (!virtq->counters) { in mlx5_vdpa_virtq_sub_objs_prepare() 347 attr->counters_obj_id = virtq->counters->id; in mlx5_vdpa_virtq_sub_objs_prepare() 885 if (!virtq->counters) { in mlx5_vdpa_virtq_stats_get() 890 ret = mlx5_devx_cmd_query_virtio_q_counters(virtq->counters, attr); in mlx5_vdpa_virtq_stats_get() 941 if (virtq->counters == NULL) /* VQ not enabled. */ in mlx5_vdpa_virtq_stats_reset() 943 ret = mlx5_devx_cmd_query_virtio_q_counters(virtq->counters, in mlx5_vdpa_virtq_stats_reset()
|
| H A D | mlx5_vdpa.c | 905 if (!priv->virtqs[i].counters) in mlx5_vdpa_release_dev_resources() 907 claim_zero(mlx5_devx_cmd_destroy(priv->virtqs[i].counters)); in mlx5_vdpa_release_dev_resources()
|
| /dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_glue.c | 377 mlx5_glue_destroy_counters(struct ibv_counters *counters) in mlx5_glue_destroy_counters() argument 380 (void)counters; in mlx5_glue_destroy_counters() 383 return ibv_destroy_counters(counters); in mlx5_glue_destroy_counters() 388 mlx5_glue_attach_counters(struct ibv_counters *counters, in mlx5_glue_attach_counters() argument 393 (void)counters; in mlx5_glue_attach_counters() 398 return ibv_attach_counters_point_flow(counters, attr, flow); in mlx5_glue_attach_counters() 403 mlx5_glue_query_counters(struct ibv_counters *counters, in mlx5_glue_query_counters() argument 409 (void)counters; in mlx5_glue_query_counters() 415 return ibv_read_counters(counters, counters_value, ncounters, flags); in mlx5_glue_query_counters()
|
| H A D | mlx5_glue.h | 237 int (*destroy_counters)(struct ibv_counters *counters); 238 int (*attach_counters)(struct ibv_counters *counters, 241 int (*query_counters)(struct ibv_counters *counters,
|
| /dpdk/examples/pipeline/examples/ |
| H A D | meter.spec | 9 ; The "meter stats" CLI command can be used to read the packet and byte statistics counters of any
|
| /dpdk/doc/guides/nics/ |
| H A D | sfc_efx.rst | 442 counters are treated responsibly. 447 counters are treated responsibly. 450 mbufs, disallows multiple mempools and neglects mbuf reference counters.
|
| /dpdk/drivers/net/enic/ |
| H A D | enic_fm_flow.c | 156 SLIST_HEAD(enic_free_counters, enic_fm_counter) counters; 2276 SLIST_INSERT_HEAD(&fm->counters, fm_flow->counter, next); in enic_fm_counter_free() 2309 SLIST_INSERT_HEAD(&fm->counters, ctrs, next); in enic_fm_more_counters() 2345 if (SLIST_EMPTY(&fm->counters)) { in enic_fm_counter_alloc() 2352 c = SLIST_FIRST(&fm->counters); in enic_fm_counter_alloc() 2353 SLIST_REMOVE_HEAD(&fm->counters, next); in enic_fm_counter_alloc() 3166 SLIST_INIT(&fm->counters); in enic_fm_init_counters()
|
| /dpdk/doc/guides/vdpadevs/ |
| H A D | mlx5.rst | 160 removed. User can reset counters by calling function rte_vdpa_reset_stats().
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | release_16_07.rst | 240 * **enic: Fixed Rx error and missed counters.** 256 * The following counters are removed from the ``rte_eth_stats`` structure:
|
| H A D | release_20_05.rst | 74 * Added flow counters to extended stats. 137 * Added support for flow aging based on hardware counters.
|
| H A D | release_17_08.rst | 40 ingress or egress traffic, altering its behavior and querying related counters
|
| H A D | release_20_02.rst | 87 * Added support for reading LPI counters.
|
| H A D | release_21_11.rst | 211 * Added support for flow counters without service cores 434 ``struct rte_flow_action_count``. Shared counters should be managed
|
| H A D | release_18_02.rst | 56 * Extended statistics for physical port packet/byte counters.
|
| H A D | release_17_11.rst | 63 * Added support for flow counters.
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | vm_power_management.rst | 44 - **Out-of-band monitoring of workloads using core hardware event counters.** 46 at the event counters of the cores and taking action based on the 130 counters and scale the core power accordingly. This technique is based 561 - BRANCH_RATIO - Uses branch ratio counters to determine core busyness.
|