Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c42 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_create_collision_htbl() argument
63 nic_matcher->e_anchor->chunk->icm_addr); in dr_rule_create_collision_htbl()
71 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_create_collision_entry() argument
77 ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_create_collision_entry()
90 if (mlx5dr_ste_create_next_htbl(matcher, nic_matcher, ste, hw_ste, in dr_rule_create_collision_entry()
99 mlx5dr_ste_free(ste, matcher, nic_matcher); in dr_rule_create_collision_entry()
176 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_rehash_handle_collision() argument
185 new_ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_rehash_handle_collision()
207 mlx5dr_ste_free(new_ste, matcher, nic_matcher); in dr_rule_rehash_handle_collision()
212 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_rehash_copy_ste_ctrl() argument
[all …]
Ddr_matcher.c372 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_matcher_select_builders() argument
376 nic_matcher->ste_builder = in mlx5dr_matcher_select_builders()
377 nic_matcher->ste_builder_arr[outer_ipv][inner_ipv]; in mlx5dr_matcher_select_builders()
378 nic_matcher->num_of_builders = in mlx5dr_matcher_select_builders()
379 nic_matcher->num_of_builders_arr[outer_ipv][inner_ipv]; in mlx5dr_matcher_select_builders()
381 if (!nic_matcher->num_of_builders) { in mlx5dr_matcher_select_builders()
391 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_matcher_set_ste_builders() argument
395 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_matcher_set_ste_builders()
405 sb = nic_matcher->ste_builder_arr[outer_ipv][inner_ipv]; in dr_matcher_set_ste_builders()
650 nic_matcher->ste_builder = sb; in dr_matcher_set_ste_builders()
[all …]
Ddr_ste.c149 bool mlx5dr_ste_is_last_in_rule(struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_ste_is_last_in_rule() argument
152 return ste_location == nic_matcher->num_of_builders; in mlx5dr_ste_is_last_in_rule()
181 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_ste_remove_head_ste() argument
196 miss_addr = nic_matcher->e_anchor->chunk->icm_addr; in dr_ste_remove_head_ste()
216 dr_ste_replace_head_ste(struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_ste_replace_head_ste() argument
243 nic_matcher->ste_builder[sb_idx].bit_mask); in dr_ste_replace_head_ste()
291 struct mlx5dr_matcher_rx_tx *nic_matcher) in mlx5dr_ste_free() argument
325 nic_matcher, in mlx5dr_ste_free()
331 dr_ste_replace_head_ste(nic_matcher, ste, in mlx5dr_ste_free()
418 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_ste_create_next_htbl() argument
[all …]
Ddr_types.h251 bool mlx5dr_ste_is_last_in_rule(struct mlx5dr_matcher_rx_tx *nic_matcher,
327 struct mlx5dr_matcher_rx_tx *nic_matcher);
330 struct mlx5dr_matcher_rx_tx *nic_matcher) in mlx5dr_ste_put() argument
334 mlx5dr_ste_free(ste, matcher, nic_matcher); in mlx5dr_ste_put()
350 struct mlx5dr_matcher_rx_tx *nic_matcher,
361 struct mlx5dr_matcher_rx_tx *nic_matcher,
487 struct mlx5dr_matcher_rx_tx *nic_matcher,
992 struct mlx5dr_matcher_rx_tx *nic_matcher; member
1054 struct mlx5dr_matcher_rx_tx *nic_matcher,
Ddr_action.c547 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_actions_build_ste_arr() argument
553 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_actions_build_ste_arr()
736 *new_hw_ste_arr_sz = nic_matcher->num_of_builders; in mlx5dr_actions_build_ste_arr()
737 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()