Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmatcher.c280 action_ste = &matcher->action_ste; in hws_matcher_create_rtc()
284 ste_pool = action_ste->pool; in hws_matcher_create_rtc()
285 ste = &action_ste->ste; in hws_matcher_create_rtc()
374 action_ste = &matcher->action_ste; in hws_matcher_destroy_rtc()
378 ste = &action_ste->ste; in hws_matcher_destroy_rtc()
557 action_ste = &matcher->action_ste; in hws_matcher_bind_at()
569 if (!action_ste->pool) { in hws_matcher_bind_at()
590 &action_ste->stc); in hws_matcher_bind_at()
610 action_ste = &matcher->action_ste; in hws_matcher_unbind_at()
612 if (!action_ste->max_stes || in hws_matcher_unbind_at()
[all …]
H A Drule.c201 struct mlx5hws_matcher_action_ste *action_ste; in hws_rule_alloc_action_ste() local
205 action_ste = &matcher->action_ste; in hws_rule_alloc_action_ste()
214 rule->action_ste.pool = matcher->action_ste.pool; in hws_rule_alloc_action_ste()
215 rule->action_ste.num_stes = matcher->action_ste.max_stes; in hws_rule_alloc_action_ste()
216 rule->action_ste.index = ste.offset; in hws_rule_alloc_action_ste()
225 if (!action_ste->num_stes) in mlx5hws_rule_free_action_ste()
229 ste.offset = action_ste->index; in mlx5hws_rule_free_action_ste()
253 rule->action_ste.pool = NULL; in hws_rule_create_init()
254 rule->action_ste.num_stes = 0; in hws_rule_create_init()
255 rule->action_ste.index = -1; in hws_rule_create_init()
[all …]
H A Drule.h67 struct mlx5hws_rule_action_ste_info action_ste; member
78 void mlx5hws_rule_free_action_ste(struct mlx5hws_rule_action_ste_info *action_ste);
H A Ddebug.c151 ste = &matcher->action_ste.ste; in hws_debug_dump_matcher()
152 ste_pool = matcher->action_ste.pool; in hws_debug_dump_matcher()
174 matcher->action_ste.rtc_0_id, (int)ste_0_id, in hws_debug_dump_matcher()
175 matcher->action_ste.rtc_1_id, (int)ste_1_id, in hws_debug_dump_matcher()
H A Dmatcher.h82 struct mlx5hws_matcher_action_ste action_ste; member
H A Dbwc.c481 ilog2(roundup_pow_of_two(bwc_matcher->matcher->action_ste.max_stes)) + in hws_bwc_matcher_size_maxed_out()
H A Dsend.c392 mlx5hws_rule_free_action_ste(&priv->rule->action_ste); in hws_send_engine_update_rule()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A 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 …]