Searched refs:nic_tbl (Results 1 – 7 of 7) sorted by relevance
7 struct mlx5dr_table_rx_tx *nic_tbl, in dr_table_set_miss_action_nic() argument16 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 …]
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() local687 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() local757 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 …]
388 nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_rule_rehash_htbl()825 nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_rule_handle_ste_branch()1004 mlx5dr_domain_nic_lock(nic_rule->nic_matcher->nic_tbl->nic_dmn); in dr_rule_destroy_rule_nic()1012 mlx5dr_domain_nic_unlock(nic_rule->nic_matcher->nic_tbl->nic_dmn); in dr_rule_destroy_rule_nic()1106 nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_rule_create_rule_nic()
396 if (rx->nic_tbl) { in dr_dump_matcher()402 if (tx->nic_tbl) { in dr_dump_matcher()
440 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_ste_create_next_htbl()677 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_ste_build_ste_arr()
954 struct mlx5dr_table_rx_tx *nic_tbl; member
646 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_actions_build_ste_arr()