Searched refs:numcounters (Results 1 – 1 of 1) sorted by relevance
89 int numcounters; in mlx5_core_set_diagnostics_full() local98 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() local179 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 …]