Searched refs:nic_matcher (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H 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 …]
|
| H 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 …]
|
| H A D | dr_ste.c | 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 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 747 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_ste_build_ste_arr() argument 763 sb = nic_matcher->ste_builder; in mlx5dr_ste_build_ste_arr() 764 for (i = 0; i < nic_matcher->num_of_builders; i++) { in mlx5dr_ste_build_ste_arr() [all …]
|
| H A D | dr_types.h | 258 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, 519 struct mlx5dr_matcher_rx_tx *nic_matcher, 1152 struct mlx5dr_matcher_rx_tx *nic_matcher; member 1210 struct mlx5dr_matcher_rx_tx *nic_matcher); 1212 struct mlx5dr_matcher_rx_tx *nic_matcher); [all …]
|
| H A D | dr_action.c | 757 struct mlx5dr_matcher_rx_tx *nic_matcher, in mlx5dr_actions_build_ste_arr() argument 763 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_actions_build_ste_arr() 950 *new_hw_ste_arr_sz = nic_matcher->num_of_builders; in mlx5dr_actions_build_ste_arr() 951 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()
|
| H A D | dr_dbg.c | 567 if (rx->nic_matcher) { in dr_dump_rule() 573 if (tx->nic_matcher) { in dr_dump_rule()
|