Searched refs:xstat (Results 1 – 4 of 4) sorted by relevance
59 struct otx2_sso_xstats_name *xstat; in otx2_sso_xstats_get() local89 ((char *)req_rsp + xstat->offset); in otx2_sso_xstats_get()91 xstat->mask; in otx2_sso_xstats_get()124 xstat = &xstats[ids[i] - start_offset]; in otx2_sso_xstats_get()126 value = (value >> xstat->shift) & xstat->mask; in otx2_sso_xstats_get()148 struct otx2_sso_xstats_name *xstat; in otx2_sso_xstats_reset() local178 ((char *)req_rsp + xstat->offset); in otx2_sso_xstats_reset()179 xstat->reset_snap[queue_port_id] = in otx2_sso_xstats_reset()180 (xstat->reset_snap[queue_port_id] >> in otx2_sso_xstats_reset()181 xstat->shift) & xstat->mask; in otx2_sso_xstats_reset()[all …]
194 struct dsw_xstats_port *xstat = &dsw_port_xstats[stat_idx]; in dsw_xstats_port_foreach() local198 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() local287 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() local305 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()
505 printf("Cannot allocate memory for xstat names\n");511 printf("Cannot get xstat names\n");523 printf("Cannot get xstat values\n");
551 between the queue number and the rest of the xstat name: