Searched refs:nic_matcher (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
A D | dr_rule.c | 280 nic_matcher, in dr_rule_rehash_copy_ste() 330 nic_matcher, in dr_rule_rehash_copy_miss_list() 372 nic_matcher, in dr_rule_rehash_copy_htbl() 414 nic_matcher = nic_rule->nic_matcher; in dr_rule_rehash_htbl() 444 nic_matcher, in dr_rule_rehash_htbl() 718 struct mlx5dr_matcher_rx_tx *nic_matcher = nic_rule->nic_matcher; in dr_rule_handle_action_stes() local 737 nic_matcher, in dr_rule_handle_action_stes() 807 nic_matcher, in dr_rule_handle_empty_entry() 851 nic_matcher = nic_rule->nic_matcher; in dr_rule_handle_ste_branch() 1134 nic_matcher = nic_rule->nic_matcher; in dr_rule_create_rule_nic() [all …]
|
A D | dr_matcher.c | 388 nic_matcher->ste_builder = in mlx5dr_matcher_select_builders() 390 nic_matcher->num_of_builders = in mlx5dr_matcher_select_builders() 393 if (!nic_matcher->num_of_builders) { in mlx5dr_matcher_select_builders() 675 nic_matcher->ste_builder = sb; in dr_matcher_set_ste_builders() 783 list_add(&nic_matcher->list_node, &nic_matcher->nic_tbl->nic_matcher_list); in mlx5dr_matcher_add_to_tbl_nic() 790 mlx5dr_htbl_put(nic_matcher->s_htbl); in dr_matcher_uninit_nic() 830 if (!nic_matcher->ste_builder) { in dr_matcher_set_all_ste_builders() 844 nic_matcher->prio = matcher->prio; in dr_matcher_init_nic() 855 if (!nic_matcher->e_anchor) in dr_matcher_init_nic() 862 if (!nic_matcher->s_htbl) { in dr_matcher_init_nic() [all …]
|
A D | dr_ste.c | 169 return ste_location == nic_matcher->num_of_builders; in mlx5dr_ste_is_last_in_rule() 199 struct mlx5dr_matcher_rx_tx *nic_matcher, in dr_ste_remove_head_ste() argument 260 nic_matcher->ste_builder[sb_idx].bit_mask); in dr_ste_replace_head_ste() 309 struct mlx5dr_matcher_rx_tx *nic_matcher) in mlx5dr_ste_free() argument 343 nic_matcher, in mlx5dr_ste_free() 349 dr_ste_replace_head_ste(nic_matcher, ste, in mlx5dr_ste_free() 445 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_ste_create_next_htbl() argument 689 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_ste_build_ste_arr() argument 705 sb = nic_matcher->ste_builder; in mlx5dr_ste_build_ste_arr() 706 for (i = 0; i < nic_matcher->num_of_builders; i++) { in mlx5dr_ste_build_ste_arr() [all …]
|
A D | dr_types.h | 251 bool mlx5dr_ste_is_last_in_rule(struct mlx5dr_matcher_rx_tx *nic_matcher, 341 struct mlx5dr_matcher_rx_tx *nic_matcher); 344 struct mlx5dr_matcher_rx_tx *nic_matcher) in mlx5dr_ste_put() argument 348 mlx5dr_ste_free(ste, matcher, nic_matcher); in mlx5dr_ste_put() 364 struct mlx5dr_matcher_rx_tx *nic_matcher, 375 struct mlx5dr_matcher_rx_tx *nic_matcher, 510 struct mlx5dr_matcher_rx_tx *nic_matcher, 1113 struct mlx5dr_matcher_rx_tx *nic_matcher; member 1171 struct mlx5dr_matcher_rx_tx *nic_matcher); 1173 struct mlx5dr_matcher_rx_tx *nic_matcher); [all …]
|
A D | dr_dbg.c | 295 if (rx->nic_matcher) { in dr_dump_rule() 301 if (tx->nic_matcher) { in dr_dump_rule()
|
A D | dr_action.c | 750 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() 916 *new_hw_ste_arr_sz = nic_matcher->num_of_builders; in mlx5dr_actions_build_ste_arr() 917 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()
|
Completed in 25 milliseconds