Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_diagnostics.c89 int numcounters; in mlx5_core_set_diagnostics_full() local
98 numcounters = MLX5_CAP_GEN(dev, num_of_diagnostic_counters); in mlx5_core_set_diagnostics_full()
99 if (numcounters == 0) in mlx5_core_set_diagnostics_full()
103 MLX5_ST_SZ_BYTES(diagnostic_counter) * numcounters; in mlx5_core_set_diagnostics_full()
119 for (x = y = 0; x != numcounters; x++) { in mlx5_core_set_diagnostics_full()
170 int numcounters; in mlx5_core_get_diagnostics_full() local
179 numcounters = MLX5_CAP_GEN(dev, num_of_diagnostic_counters); in mlx5_core_get_diagnostics_full()
180 if (numcounters == 0) in mlx5_core_get_diagnostics_full()
184 MLX5_ST_SZ_BYTES(diagnostic_counter) * numcounters; in mlx5_core_get_diagnostics_full()
192 for (x = 0; x != numcounters; x++) { in mlx5_core_get_diagnostics_full()
[all …]