Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c44 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_set_last_ste_miss_addr() argument
53 icm_addr = mlx5dr_icm_pool_get_chunk_icm_addr(nic_matcher->e_anchor->chunk); in dr_rule_set_last_ste_miss_addr()
59 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_create_collision_htbl() argument
78 dr_rule_set_last_ste_miss_addr(matcher, nic_matcher, hw_ste); in dr_rule_create_collision_htbl()
86 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_create_collision_entry() argument
92 ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_create_collision_entry()
105 if (mlx5dr_ste_create_next_htbl(matcher, nic_matcher, ste, hw_ste, in dr_rule_create_collision_entry()
114 mlx5dr_ste_free(ste, matcher, nic_matcher); in dr_rule_create_collision_entry()
193 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_rule_rehash_handle_collision() argument
202 new_ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_rehash_handle_collision()
[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.c167 bool mlx5dr_ste_is_last_in_rule(struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_ste_is_last_in_rule() argument
170 return ste_location == nic_matcher->num_of_builders; in mlx5dr_ste_is_last_in_rule()
200 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_ste_remove_head_ste() argument
208 miss_addr = mlx5dr_icm_pool_get_chunk_icm_addr(nic_matcher->e_anchor->chunk); in dr_ste_remove_head_ste()
234 dr_ste_replace_head_ste(struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_ste_replace_head_ste() argument
261 nic_matcher->ste_builder[sb_idx].bit_mask); in dr_ste_replace_head_ste()
310 struct mlx5dr_matcher_rx_tx *nic_matcher) in mlx5dr_ste_free() argument
344 nic_matcher, in mlx5dr_ste_free()
350 dr_ste_replace_head_ste(nic_matcher, ste, in mlx5dr_ste_free()
446 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_ste_create_next_htbl() argument
[all …]
Ddr_types.h258 bool mlx5dr_ste_is_last_in_rule(struct mlx5dr_matcher_rx_tx *nic_matcher,
354 struct mlx5dr_matcher_rx_tx *nic_matcher);
357 struct mlx5dr_matcher_rx_tx *nic_matcher) in mlx5dr_ste_put() argument
361 mlx5dr_ste_free(ste, matcher, nic_matcher); in mlx5dr_ste_put()
377 struct mlx5dr_matcher_rx_tx *nic_matcher,
388 struct mlx5dr_matcher_rx_tx *nic_matcher,
523 struct mlx5dr_matcher_rx_tx *nic_matcher,
1155 struct mlx5dr_matcher_rx_tx *nic_matcher; member
1213 struct mlx5dr_matcher_rx_tx *nic_matcher);
1215 struct mlx5dr_matcher_rx_tx *nic_matcher);
[all …]
Ddr_dbg.c322 if (rx->nic_matcher) { in dr_dump_rule()
328 if (tx->nic_matcher) { in dr_dump_rule()
Ddr_action.c750 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_actions_build_ste_arr() argument
756 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_actions_build_ste_arr()
943 *new_hw_ste_arr_sz = nic_matcher->num_of_builders; in mlx5dr_actions_build_ste_arr()
944 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()