Searched refs:nic_matcher (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_rule.c | 41 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 …]
|
D | dr_matcher.c | 180 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_matcher_select_builders() argument 184 nic_matcher->ste_builder = in mlx5dr_matcher_select_builders() 185 nic_matcher->ste_builder_arr[outer_ipv][inner_ipv]; in mlx5dr_matcher_select_builders() 186 nic_matcher->num_of_builders = in mlx5dr_matcher_select_builders() 187 nic_matcher->num_of_builders_arr[outer_ipv][inner_ipv]; in mlx5dr_matcher_select_builders() 189 if (!nic_matcher->num_of_builders) { in mlx5dr_matcher_select_builders() 199 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_matcher_set_ste_builders() argument 203 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_matcher_set_ste_builders() 211 sb = nic_matcher->ste_builder_arr[outer_ipv][inner_ipv]; in dr_matcher_set_ste_builders() 395 nic_matcher->ste_builder = sb; in dr_matcher_set_ste_builders() [all …]
|
D | dr_types.h | 230 bool mlx5dr_ste_is_last_in_rule(struct mlx5dr_matcher_rx_tx *nic_matcher, 252 struct mlx5dr_matcher_rx_tx *nic_matcher); 255 struct mlx5dr_matcher_rx_tx *nic_matcher) in mlx5dr_ste_put() argument 259 mlx5dr_ste_free(ste, matcher, nic_matcher); in mlx5dr_ste_put() 277 struct mlx5dr_matcher_rx_tx *nic_matcher, 288 struct mlx5dr_matcher_rx_tx *nic_matcher, 357 struct mlx5dr_matcher_rx_tx *nic_matcher, 797 struct mlx5dr_matcher_rx_tx *nic_matcher; member 861 struct mlx5dr_matcher_rx_tx *nic_matcher,
|
D | dr_ste.c | 334 bool mlx5dr_ste_is_last_in_rule(struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_ste_is_last_in_rule() argument 337 return ste_location == nic_matcher->num_of_builders; in mlx5dr_ste_is_last_in_rule() 368 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_ste_remove_head_ste() argument 383 miss_addr = nic_matcher->e_anchor->chunk->icm_addr; in dr_ste_remove_head_ste() 467 struct mlx5dr_matcher_rx_tx *nic_matcher) in mlx5dr_ste_free() argument 499 dr_ste_remove_head_ste(ste, nic_matcher, in mlx5dr_ste_free() 596 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_ste_create_next_htbl() argument 602 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_ste_create_next_htbl() 607 if (!mlx5dr_ste_is_last_in_rule(nic_matcher, ste->ste_chain_location)) { in mlx5dr_ste_create_next_htbl() 625 info.miss_icm_addr = nic_matcher->e_anchor->chunk->icm_addr; in mlx5dr_ste_create_next_htbl() [all …]
|
D | dr_action.c | 636 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() 790 *new_hw_ste_arr_sz = nic_matcher->num_of_builders; in mlx5dr_actions_build_ste_arr() 791 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()
|