Home
last modified time | relevance | path

Searched refs:nic_tbl (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_table.c88 static void dr_table_uninit_nic(struct mlx5dr_table_rx_tx *nic_tbl) in dr_table_uninit_nic() argument
90 mlx5dr_htbl_put(nic_tbl->s_anchor); in dr_table_uninit_nic()
122 struct mlx5dr_table_rx_tx *nic_tbl) in dr_table_init_nic() argument
124 struct mlx5dr_domain_rx_tx *nic_dmn = nic_tbl->nic_dmn; in dr_table_init_nic()
128 nic_tbl->default_icm_addr = nic_dmn->default_icm_addr; in dr_table_init_nic()
130 nic_tbl->s_anchor = mlx5dr_ste_htbl_alloc(dmn->ste_icm_pool, in dr_table_init_nic()
134 if (!nic_tbl->s_anchor) { in dr_table_init_nic()
142 nic_tbl->s_anchor, in dr_table_init_nic()
149 mlx5dr_htbl_get(nic_tbl->s_anchor); in dr_table_init_nic()
154 mlx5dr_ste_htbl_free(nic_tbl->s_anchor); in dr_table_init_nic()
Ddr_matcher.c203 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_matcher_set_ste_builders()
406 struct mlx5dr_table_rx_tx *nic_tbl = curr_nic_matcher->nic_tbl; in dr_matcher_connect() local
407 struct mlx5dr_domain_rx_tx *nic_dmn = nic_tbl->nic_dmn; in dr_matcher_connect()
418 info.miss_icm_addr = nic_tbl->default_icm_addr; in dr_matcher_connect()
439 prev_htbl = nic_tbl->s_anchor; in dr_matcher_connect()
643 matcher->rx.nic_tbl = &tbl->rx; in dr_matcher_init()
647 matcher->tx.nic_tbl = &tbl->tx; in dr_matcher_init()
651 matcher->rx.nic_tbl = &tbl->rx; in dr_matcher_init()
652 matcher->tx.nic_tbl = &tbl->tx; in dr_matcher_init()
709 struct mlx5dr_table_rx_tx *nic_tbl, in dr_matcher_disconnect() argument
[all …]
Ddr_rule.c376 nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_rule_rehash_htbl()
787 nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_rule_handle_ste_branch()
940 mlx5dr_domain_nic_lock(nic_rule->nic_matcher->nic_tbl->nic_dmn); in dr_rule_destroy_rule_nic()
942 mlx5dr_domain_nic_unlock(nic_rule->nic_matcher->nic_tbl->nic_dmn); in dr_rule_destroy_rule_nic()
1034 nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_rule_create_rule_nic()
Ddr_types.h708 struct mlx5dr_table_rx_tx *nic_tbl; member
Ddr_ste.c602 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_ste_create_next_htbl()
740 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_ste_build_ste_arr()
Ddr_action.c642 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_actions_build_ste_arr()