Searched refs:numcounters (Results 1 – 1 of 1) sorted by relevance
91 int numcounters; in mlx5_core_set_diagnostics_full() local100 numcounters = MLX5_CAP_GEN(dev, num_of_diagnostic_counters); in mlx5_core_set_diagnostics_full()101 if (numcounters == 0) in mlx5_core_set_diagnostics_full()105 MLX5_ST_SZ_BYTES(diagnostic_counter) * numcounters; in mlx5_core_set_diagnostics_full()121 for (x = y = 0; x != numcounters; x++) { in mlx5_core_set_diagnostics_full()172 int numcounters; in mlx5_core_get_diagnostics_full() local181 numcounters = MLX5_CAP_GEN(dev, num_of_diagnostic_counters); in mlx5_core_get_diagnostics_full()182 if (numcounters == 0) in mlx5_core_get_diagnostics_full()186 MLX5_ST_SZ_BYTES(diagnostic_counter) * numcounters; in mlx5_core_get_diagnostics_full()194 for (x = 0; x != numcounters; x++) { in mlx5_core_get_diagnostics_full()[all …]