Home
last modified time | relevance | path

Searched refs:xstat (Results 1 – 4 of 4) sorted by relevance

/dpdk/drivers/event/cnxk/
H A Dcnxk_eventdev_stats.c111 struct cnxk_sso_xstats_name *xstat; in cnxk_sso_xstats_get() local
157 xstat = &xstats[ids[i] - start_offset]; in cnxk_sso_xstats_get()
158 value = *(uint64_t *)((char *)rsp + xstat->offset); in cnxk_sso_xstats_get()
159 value = (value >> xstat->shift) & xstat->mask; in cnxk_sso_xstats_get()
162 values[i] -= xstat->reset_snap[queue_port_id]; in cnxk_sso_xstats_get()
178 struct cnxk_sso_xstats_name *xstat; in cnxk_sso_xstats_reset() local
222 xstat = &xstats[ids[i] - start_offset]; in cnxk_sso_xstats_reset()
223 value = *(uint64_t *)((char *)rsp + xstat->offset); in cnxk_sso_xstats_reset()
224 value = (value >> xstat->shift) & xstat->mask; in cnxk_sso_xstats_reset()
226 xstat->reset_snap[queue_port_id] = value; in cnxk_sso_xstats_reset()
/dpdk/drivers/event/dsw/
H A Ddsw_xstats.c194 struct dsw_xstats_port *xstat = &dsw_port_xstats[stat_idx]; in dsw_xstats_port_foreach() local
198 if (xstat->per_queue) { in dsw_xstats_port_foreach()
213 if (!(xstat->per_queue && queue_id < dsw->num_queues)) { in dsw_xstats_port_foreach()
286 struct dsw_xstat_dev *xstat = &dsw_dev_xstats[id]; in dsw_xstats_dev_get() local
287 values[i] = xstat->get_value_fn(dsw); in dsw_xstats_dev_get()
302 struct dsw_xstats_port *xstat = &dsw_port_xstats[stat_idx]; in dsw_xstats_port_get() local
305 if (xstat->per_queue) in dsw_xstats_port_get()
308 values[i] = xstat->get_value_fn(dsw, port_id, queue_id); in dsw_xstats_port_get()
/dpdk/doc/guides/prog_guide/
H A Dpoll_mode_drv.rst513 printf("Cannot allocate memory for xstat names\n");
519 printf("Cannot get xstat names\n");
531 printf("Cannot get xstat values\n");
/dpdk/doc/guides/rel_notes/
H A Drelease_20_11.rst483 between the queue number and the rest of the xstat name: