Home
last modified time | relevance | path

Searched refs:counter_id (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.h57 #define __parse_fs_dst(dst, counter_id) \ argument
58 parse_fs_dst(p, (const struct mlx5_flow_destination *)dst, counter_id)
62 u32 counter_id);
244 __field(u32, counter_id)
257 __entry->counter_id =
263 __parse_fs_dst(__entry->destination, __entry->counter_id))
Dfs_tracepoint.c232 u32 counter_id) in parse_fs_dst() argument
250 trace_seq_printf(p, "counter_id=%u\n", counter_id); in parse_fs_dst()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dqp.c598 int mlx5_core_alloc_q_counter(struct mlx5_core_dev *dev, u16 *counter_id) in mlx5_core_alloc_q_counter() argument
607 *counter_id = MLX5_GET(alloc_q_counter_out, out, in mlx5_core_alloc_q_counter()
613 int mlx5_core_dealloc_q_counter(struct mlx5_core_dev *dev, u16 counter_id) in mlx5_core_dealloc_q_counter() argument
620 MLX5_SET(dealloc_q_counter_in, in, counter_set_id, counter_id); in mlx5_core_dealloc_q_counter()
625 int mlx5_core_query_q_counter(struct mlx5_core_dev *dev, u16 counter_id, in mlx5_core_query_q_counter() argument
632 MLX5_SET(query_q_counter_in, in, counter_set_id, counter_id); in mlx5_core_query_q_counter()
/Linux-v4.19/include/linux/mlx5/
Dqp.h593 int mlx5_core_alloc_q_counter(struct mlx5_core_dev *dev, u16 *counter_id);
594 int mlx5_core_dealloc_q_counter(struct mlx5_core_dev *dev, u16 counter_id);
595 int mlx5_core_query_q_counter(struct mlx5_core_dev *dev, u16 counter_id,