Home
last modified time | relevance | path

Searched refs:action_ste (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_matcher.c211 struct mlx5hws_pool_chunk *ste = &matcher->action_ste[MLX5HWS_ACTION_STE_IDX_ANY].ste; in hws_matcher_set_rtc_attr_sz()
236 struct mlx5hws_matcher_action_ste *action_ste; in hws_matcher_create_rtc() local
289 action_ste = &matcher->action_ste[action_ste_selector]; in hws_matcher_create_rtc()
291 rtc_0_id = &action_ste->rtc_0_id; in hws_matcher_create_rtc()
292 rtc_1_id = &action_ste->rtc_1_id; in hws_matcher_create_rtc()
293 ste_pool = action_ste->pool; in hws_matcher_create_rtc()
294 ste = &action_ste->ste; in hws_matcher_create_rtc()
295 ste->order = ilog2(roundup_pow_of_two(action_ste->max_stes)) + in hws_matcher_create_rtc()
364 struct mlx5hws_matcher_action_ste *action_ste; in hws_matcher_destroy_rtc() local
378 action_ste = &matcher->action_ste[action_ste_selector]; in hws_matcher_destroy_rtc()
[all …]
Dmlx5hws_rule.c146 rule->matcher->action_ste[MLX5HWS_ACTION_STE_IDX_ANY].max_stes; in hws_rule_save_resize_info()
147 rule->resize_info->action_ste_pool[0] = rule->matcher->action_ste[0].max_stes ? in hws_rule_save_resize_info()
148 rule->matcher->action_ste[0].pool : in hws_rule_save_resize_info()
150 rule->resize_info->action_ste_pool[1] = rule->matcher->action_ste[1].max_stes ? in hws_rule_save_resize_info()
151 rule->matcher->action_ste[1].pool : in hws_rule_save_resize_info()
211 struct mlx5hws_matcher_action_ste *action_ste; in hws_rule_alloc_action_ste_idx() local
215 action_ste = &matcher->action_ste[action_ste_selector]; in hws_rule_alloc_action_ste_idx()
216 ste.order = ilog2(roundup_pow_of_two(action_ste->max_stes)); in hws_rule_alloc_action_ste_idx()
217 ret = mlx5hws_pool_chunk_alloc(action_ste->pool, &ste); in hws_rule_alloc_action_ste_idx()
241 max_stes = matcher->action_ste[action_ste_selector].max_stes; in hws_rule_free_action_ste_idx()
[all …]
Dmlx5hws_matcher.h63 struct mlx5hws_matcher_resize_data_node action_ste[2]; member
81 struct mlx5hws_matcher_action_ste action_ste[2]; member
Dmlx5hws_debug.c151 ste = &matcher->action_ste[0].ste; in hws_debug_dump_matcher()
152 ste_pool = matcher->action_ste[0].pool; in hws_debug_dump_matcher()
174 matcher->action_ste[0].rtc_0_id, in hws_debug_dump_matcher()
176 matcher->action_ste[0].rtc_1_id, in hws_debug_dump_matcher()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c724 struct mlx5dr_ste *action_ste; in dr_rule_handle_action_stes() local
736 action_ste = dr_rule_create_collision_htbl(matcher, in dr_rule_handle_action_stes()
739 if (!action_ste) in dr_rule_handle_action_stes()
742 mlx5dr_ste_get(action_ste); in dr_rule_handle_action_stes()
744 action_ste->htbl->pointing_ste = last_ste; in dr_rule_handle_action_stes()
745 last_ste->next_htbl = action_ste->htbl; in dr_rule_handle_action_stes()
746 last_ste = action_ste; in dr_rule_handle_action_stes()
749 list_add_tail(&action_ste->miss_list_node, in dr_rule_handle_action_stes()
750 mlx5dr_ste_get_miss_list(action_ste)); in dr_rule_handle_action_stes()
760 action_ste->htbl); in dr_rule_handle_action_stes()
[all …]