Searched refs:mcounters (Results 1 – 1 of 1) sorted by relevance
2970 struct mlx5_ib_mcounters *mcounters = to_mcounters(counters); in counters_clear_description() local2972 mutex_lock(&mcounters->mcntrs_mutex); in counters_clear_description()2973 kfree(mcounters->counters_data); in counters_clear_description()2974 mcounters->counters_data = NULL; in counters_clear_description()2975 mcounters->cntrs_max_index = 0; in counters_clear_description()2976 mutex_unlock(&mcounters->mcntrs_mutex); in counters_clear_description()3150 struct mlx5_ib_mcounters *mcounters = to_mcounters(counters); in counters_set_description() local3158 mcounters->type = counters_type; in counters_set_description()3159 mcounters->read_counters = read_flow_counters; in counters_set_description()3160 mcounters->counters_num = FLOW_COUNTERS_NUM; in counters_set_description()[all …]