Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_diag_cnt.c54 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() local
408 diag_cnt->cnt_id[i].id); in mlx5_diag_set_params()
425 void *cnt_id; in mlx5_diag_query_params() local
573 ptr = diag_cnt->cnt_id; in mlx5_diag_cnt_cleanup()
[all …]
H A Dflow_table.h56 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);
/freebsd/sys/dev/mlx5/
H A Ddriver.h681 struct mlx5_diag_cnt_id *cnt_id; member