Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c37 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_create_collision_htbl() argument
58 icm_addr = mlx5dr_icm_pool_get_chunk_icm_addr(nic_matcher->e_anchor->chunk); in dr_rule_create_collision_htbl()
67 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_create_collision_entry() argument
73 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()
174 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_rehash_handle_collision() argument
183 new_ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_rehash_handle_collision()
205 mlx5dr_ste_free(new_ste, matcher, nic_matcher); in dr_rule_rehash_handle_collision()
210 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_rehash_copy_ste_ctrl() argument
[all …]
Ddr_matcher.c384 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_matcher_select_builders() argument
388 nic_matcher->ste_builder = in mlx5dr_matcher_select_builders()
389 nic_matcher->ste_builder_arr[outer_ipv][inner_ipv]; in mlx5dr_matcher_select_builders()
390 nic_matcher->num_of_builders = in mlx5dr_matcher_select_builders()
391 nic_matcher->num_of_builders_arr[outer_ipv][inner_ipv]; in mlx5dr_matcher_select_builders()
393 if (!nic_matcher->num_of_builders) { in mlx5dr_matcher_select_builders()
403 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_matcher_set_ste_builders() argument
407 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_matcher_set_ste_builders()
417 sb = nic_matcher->ste_builder_arr[outer_ipv][inner_ipv]; in dr_matcher_set_ste_builders()
675 nic_matcher->ste_builder = sb; in dr_matcher_set_ste_builders()
[all …]
Ddr_ste.c157 bool mlx5dr_ste_is_last_in_rule(struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_ste_is_last_in_rule() argument
160 return ste_location == nic_matcher->num_of_builders; in mlx5dr_ste_is_last_in_rule()
190 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_ste_remove_head_ste() argument
198 miss_addr = mlx5dr_icm_pool_get_chunk_icm_addr(nic_matcher->e_anchor->chunk); in dr_ste_remove_head_ste()
224 dr_ste_replace_head_ste(struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_ste_replace_head_ste() argument
251 nic_matcher->ste_builder[sb_idx].bit_mask); in dr_ste_replace_head_ste()
300 struct mlx5dr_matcher_rx_tx *nic_matcher) in mlx5dr_ste_free() argument
334 nic_matcher, in mlx5dr_ste_free()
340 dr_ste_replace_head_ste(nic_matcher, ste, in mlx5dr_ste_free()
436 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_ste_create_next_htbl() argument
[all …]
Ddr_types.h246 bool mlx5dr_ste_is_last_in_rule(struct mlx5dr_matcher_rx_tx *nic_matcher,
329 struct mlx5dr_matcher_rx_tx *nic_matcher);
332 struct mlx5dr_matcher_rx_tx *nic_matcher) in mlx5dr_ste_put() argument
336 mlx5dr_ste_free(ste, matcher, nic_matcher); in mlx5dr_ste_put()
352 struct mlx5dr_matcher_rx_tx *nic_matcher,
363 struct mlx5dr_matcher_rx_tx *nic_matcher,
498 struct mlx5dr_matcher_rx_tx *nic_matcher,
1086 struct mlx5dr_matcher_rx_tx *nic_matcher; member
1145 struct mlx5dr_matcher_rx_tx *nic_matcher);
1147 struct mlx5dr_matcher_rx_tx *nic_matcher);
[all …]
Ddr_dbg.c268 if (rx->nic_matcher) { in dr_dump_rule()
274 if (tx->nic_matcher) { in dr_dump_rule()
Ddr_action.c640 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_actions_build_ste_arr() argument
646 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_actions_build_ste_arr()
838 *new_hw_ste_arr_sz = nic_matcher->num_of_builders; in mlx5dr_actions_build_ste_arr()
839 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()