Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_counters.c180 int bulk_len; in mlx5_fc_stats_query_counter_range() local
188 bulk_len = min_t(int, cur_bulk_len, in mlx5_fc_stats_query_counter_range()
203 if (counter->id >= bulk_base_id + bulk_len) { in mlx5_fc_stats_query_counter_range()
526 int bulk_len; member
548 int bulk_len; in mlx5_fc_bulk_create() local
569 bulk->bulk_len = bulk_len; in mlx5_fc_bulk_create()
570 for (i = 0; i < bulk_len; i++) { in mlx5_fc_bulk_create()
604 if (free_fc_index >= bulk->bulk_len) in mlx5_fc_bulk_acquire_fc()
664 fc_pool->available_fcs += new_bulk->bulk_len; in mlx5_fc_pool_alloc_new_bulk()
674 fc_pool->available_fcs -= bulk->bulk_len; in mlx5_fc_pool_free_bulk()
[all …]
H A Dmlx5_fc_cmd.h46 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len,
48 static inline int mlx5_cmd_fc_get_bulk_query_out_len(int bulk_len) in mlx5_cmd_fc_get_bulk_query_out_len() argument
51 MLX5_ST_SZ_BYTES(traffic_counter) * bulk_len; in mlx5_cmd_fc_get_bulk_query_out_len()
H A Dmlx5_fc_cmd.c90 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len, in mlx5_cmd_fc_bulk_query() argument
93 int outlen = mlx5_cmd_fc_get_bulk_query_out_len(bulk_len); in mlx5_cmd_fc_bulk_query()
99 MLX5_SET(query_flow_counter_in, in, num_of_counters, bulk_len); in mlx5_cmd_fc_bulk_query()