Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c41 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_create_collision_htbl() argument
60 mlx5dr_ste_set_miss_addr(hw_ste, nic_matcher->e_anchor->chunk->icm_addr); in dr_rule_create_collision_htbl()
68 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_create_collision_entry() argument
74 ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_create_collision_entry()
86 if (mlx5dr_ste_create_next_htbl(matcher, nic_matcher, ste, hw_ste, in dr_rule_create_collision_entry()
95 mlx5dr_ste_free(ste, matcher, nic_matcher); in dr_rule_create_collision_entry()
167 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_rehash_handle_collision() argument
175 new_ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_rehash_handle_collision()
194 mlx5dr_ste_free(new_ste, matcher, nic_matcher); in dr_rule_rehash_handle_collision()
199 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_rehash_copy_ste_ctrl() argument
[all …]
Ddr_matcher.c148 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_matcher_select_builders() argument
152 nic_matcher->ste_builder = nic_matcher->ste_builder6; in mlx5dr_matcher_select_builders()
153 nic_matcher->num_of_builders = nic_matcher->num_of_builders6; in mlx5dr_matcher_select_builders()
155 nic_matcher->ste_builder = nic_matcher->ste_builder4; in mlx5dr_matcher_select_builders()
156 nic_matcher->num_of_builders = nic_matcher->num_of_builders4; in mlx5dr_matcher_select_builders()
159 if (!nic_matcher->num_of_builders) { in mlx5dr_matcher_select_builders()
169 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_matcher_set_ste_builders() argument
172 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_matcher_set_ste_builders()
183 sb = nic_matcher->ste_builder6; in dr_matcher_set_ste_builders()
184 num_of_builders = &nic_matcher->num_of_builders6; in dr_matcher_set_ste_builders()
[all …]
Ddr_types.h224 bool mlx5dr_ste_is_last_in_rule(struct mlx5dr_matcher_rx_tx *nic_matcher,
246 struct mlx5dr_matcher_rx_tx *nic_matcher);
249 struct mlx5dr_matcher_rx_tx *nic_matcher) in mlx5dr_ste_put() argument
252 mlx5dr_ste_free(ste, matcher, nic_matcher); in mlx5dr_ste_put()
265 struct mlx5dr_matcher_rx_tx *nic_matcher,
276 struct mlx5dr_matcher_rx_tx *nic_matcher,
342 struct mlx5dr_matcher_rx_tx *nic_matcher,
773 struct mlx5dr_matcher_rx_tx *nic_matcher; member
814 struct mlx5dr_matcher_rx_tx *nic_matcher,
Ddr_ste.c318 bool mlx5dr_ste_is_last_in_rule(struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_ste_is_last_in_rule() argument
321 return ste_location == nic_matcher->num_of_builders; in mlx5dr_ste_is_last_in_rule()
352 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_ste_remove_head_ste() argument
367 miss_addr = nic_matcher->e_anchor->chunk->icm_addr; in dr_ste_remove_head_ste()
451 struct mlx5dr_matcher_rx_tx *nic_matcher) in mlx5dr_ste_free() argument
483 dr_ste_remove_head_ste(ste, nic_matcher, in mlx5dr_ste_free()
599 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_ste_create_next_htbl() argument
605 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_ste_create_next_htbl()
610 if (!mlx5dr_ste_is_last_in_rule(nic_matcher, ste->ste_chain_location)) { in mlx5dr_ste_create_next_htbl()
628 info.miss_icm_addr = nic_matcher->e_anchor->chunk->icm_addr; in mlx5dr_ste_create_next_htbl()
[all …]
Ddr_action.c636 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_actions_build_ste_arr() argument
642 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_actions_build_ste_arr()
786 *new_hw_ste_arr_sz = nic_matcher->num_of_builders; in mlx5dr_actions_build_ste_arr()
787 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()