Searched refs:nic_tbl (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_table.c | 7 struct mlx5dr_table_rx_tx *nic_tbl, in dr_table_set_miss_action_nic() argument 16 if (!list_empty(&nic_tbl->nic_matcher_list)) in dr_table_set_miss_action_nic() 17 last_nic_matcher = list_last_entry(&nic_tbl->nic_matcher_list, in dr_table_set_miss_action_nic() 24 last_htbl = nic_tbl->s_anchor; in dr_table_set_miss_action_nic() 27 chunk = nic_tbl->nic_dmn->type == DR_DOMAIN_NIC_TYPE_RX ? in dr_table_set_miss_action_nic() 30 nic_tbl->default_icm_addr = mlx5dr_icm_pool_get_chunk_icm_addr(chunk); in dr_table_set_miss_action_nic() 32 nic_tbl->default_icm_addr = nic_tbl->nic_dmn->default_icm_addr; in dr_table_set_miss_action_nic() 36 info.miss_icm_addr = nic_tbl->default_icm_addr; in dr_table_set_miss_action_nic() 38 ret = mlx5dr_ste_htbl_init_and_postsend(dmn, nic_tbl->nic_dmn, in dr_table_set_miss_action_nic() 87 static void dr_table_uninit_nic(struct mlx5dr_table_rx_tx *nic_tbl) in dr_table_uninit_nic() argument [all …]
|
D | dr_matcher.c | 407 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_matcher_set_ste_builders() 686 struct mlx5dr_table_rx_tx *nic_tbl = curr_nic_matcher->nic_tbl; in dr_nic_matcher_connect() local 687 struct mlx5dr_domain_rx_tx *nic_dmn = nic_tbl->nic_dmn; in dr_nic_matcher_connect() 698 info.miss_icm_addr = nic_tbl->default_icm_addr; in dr_nic_matcher_connect() 719 prev_htbl = nic_tbl->s_anchor; in dr_nic_matcher_connect() 746 struct mlx5dr_table_rx_tx *nic_tbl = nic_matcher->nic_tbl; in mlx5dr_matcher_add_to_tbl_nic() local 757 list_for_each_entry(tmp_nic_matcher, &nic_tbl->nic_matcher_list, list_node) { in mlx5dr_matcher_add_to_tbl_nic() 769 prev_nic_matcher = list_last_entry(&nic_tbl->nic_matcher_list, in mlx5dr_matcher_add_to_tbl_nic() 783 list_add(&nic_matcher->list_node, &nic_matcher->nic_tbl->nic_matcher_list); in mlx5dr_matcher_add_to_tbl_nic() 954 matcher->rx.nic_tbl = &tbl->rx; in dr_matcher_init() [all …]
|
D | dr_rule.c | 213 ret = dr_rule_append_to_miss_list(dmn, nic_matcher->nic_tbl->nic_dmn->type, in dr_rule_rehash_handle_collision() 299 nic_matcher->nic_tbl->nic_dmn->type); in dr_rule_rehash_copy_ste() 415 nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_rule_rehash_htbl() 418 nic_matcher->nic_tbl->nic_dmn->type); in dr_rule_rehash_htbl() 547 nic_matcher->nic_tbl->nic_dmn->type); in dr_rule_handle_collision() 555 if (dr_rule_append_to_miss_list(dmn, nic_matcher->nic_tbl->nic_dmn->type, in dr_rule_handle_collision() 753 nic_matcher->nic_tbl->nic_dmn->type); in dr_rule_handle_action_stes() 802 nic_matcher->nic_tbl->nic_dmn->type); in dr_rule_handle_empty_entry() 852 nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_rule_handle_ste_branch() 1031 mlx5dr_domain_nic_lock(nic_rule->nic_matcher->nic_tbl->nic_dmn); in dr_rule_destroy_rule_nic() [all …]
|
D | dr_dbg.c | 450 if (rx->nic_tbl) { in dr_dump_matcher() 456 if (tx->nic_tbl) { in dr_dump_matcher()
|
D | dr_ste.c | 451 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_ste_create_next_htbl() 751 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_ste_build_ste_arr()
|
D | dr_types.h | 994 struct mlx5dr_table_rx_tx *nic_tbl; member
|
D | dr_action.c | 756 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_actions_build_ste_arr()
|