Searched refs:cnt_id (Results 1 – 3 of 3) sorted by relevance
54 if (diag_cnt->cnt_id[x].enabled) in mlx5_sysctl_counter_id()55 ptr[num++] = diag_cnt->cnt_id[x].id; in mlx5_sysctl_counter_id()301 diag_cnt->cnt_id = kzalloc(sizeof(*diag_cnt->cnt_id) * num_counters, in get_supported_cnt_ids()303 if (!diag_cnt->cnt_id) in get_supported_cnt_ids()307 diag_cnt->cnt_id[i].id = in get_supported_cnt_ids()332 if (diag_cnt->cnt_id[i].enabled) in enable_cnt_id()361 void *cnt_id; in mlx5_diag_set_params() local408 diag_cnt->cnt_id[i].id); in mlx5_diag_set_params()425 void *cnt_id; in mlx5_diag_query_params() local573 ptr = diag_cnt->cnt_id; in mlx5_diag_cnt_cleanup()[all …]
56 int mlx5_create_flow_counter(struct mlx5_core_dev *dev, u16 *cnt_id);57 void mlx5_destroy_flow_counter(struct mlx5_core_dev *dev, u16 cnt_id);61 int mlx5_reset_flow_counter(struct mlx5_core_dev *dev, u16 cnt_id);
681 struct mlx5_diag_cnt_id *cnt_id; member