Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_table.c33 tbl->rx.nic_dmn->default_icm_addr; in mlx5dr_table_set_miss_action()
39 tbl->rx.nic_dmn, in mlx5dr_table_set_miss_action()
57 tbl->tx.nic_dmn->default_icm_addr; in mlx5dr_table_set_miss_action()
63 tbl->tx.nic_dmn, in mlx5dr_table_set_miss_action()
124 struct mlx5dr_domain_rx_tx *nic_dmn = nic_tbl->nic_dmn; in dr_table_init_nic() local
128 nic_tbl->default_icm_addr = nic_dmn->default_icm_addr; in dr_table_init_nic()
140 info.miss_icm_addr = nic_dmn->default_icm_addr; in dr_table_init_nic()
141 ret = mlx5dr_ste_htbl_init_and_postsend(dmn, nic_dmn, in dr_table_init_nic()
188 tbl->rx.nic_dmn = &tbl->dmn->info.rx; in dr_table_init()
193 tbl->tx.nic_dmn = &tbl->dmn->info.tx; in dr_table_init()
[all …]
Ddr_rule.c368 struct mlx5dr_domain_rx_tx *nic_dmn; in dr_rule_rehash_htbl() local
376 nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_rule_rehash_htbl()
395 nic_dmn, in dr_rule_rehash_htbl()
611 struct mlx5dr_domain_rx_tx *nic_dmn) in dr_rule_need_enlarge_hash() argument
778 struct mlx5dr_domain_rx_tx *nic_dmn; in dr_rule_handle_ste_branch() local
787 nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_rule_handle_ste_branch()
814 if (!skip_rehash && dr_rule_need_enlarge_hash(cur_htbl, dmn, 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()
1024 struct mlx5dr_domain_rx_tx *nic_dmn; in dr_rule_create_rule_nic() local
[all …]
Ddr_matcher.c203 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in dr_matcher_set_ste_builders() local
212 rx = nic_dmn->ste_type == MLX5DR_STE_TYPE_RX; in dr_matcher_set_ste_builders()
407 struct mlx5dr_domain_rx_tx *nic_dmn = nic_tbl->nic_dmn; in dr_matcher_connect() local
420 ret = mlx5dr_ste_htbl_init_and_postsend(dmn, nic_dmn, in dr_matcher_connect()
429 ret = mlx5dr_ste_htbl_init_and_postsend(dmn, nic_dmn, in dr_matcher_connect()
443 ret = mlx5dr_ste_htbl_init_and_postsend(dmn, nic_dmn, prev_htbl, in dr_matcher_connect()
713 struct mlx5dr_domain_rx_tx *nic_dmn = nic_tbl->nic_dmn; in dr_matcher_disconnect() local
734 return mlx5dr_ste_htbl_init_and_postsend(dmn, nic_dmn, prev_anchor, in dr_matcher_disconnect()
Ddr_types.h681 struct mlx5dr_domain_rx_tx *nic_dmn; member
826 static inline void mlx5dr_domain_nic_lock(struct mlx5dr_domain_rx_tx *nic_dmn) in mlx5dr_domain_nic_lock() argument
828 mutex_lock(&nic_dmn->mutex); in mlx5dr_domain_nic_lock()
831 static inline void mlx5dr_domain_nic_unlock(struct mlx5dr_domain_rx_tx *nic_dmn) in mlx5dr_domain_nic_unlock() argument
833 mutex_unlock(&nic_dmn->mutex); in mlx5dr_domain_nic_unlock()
1005 struct mlx5dr_domain_rx_tx *nic_dmn,
1010 struct mlx5dr_domain_rx_tx *nic_dmn,
Ddr_action.c642 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_actions_build_ste_arr() local
643 bool rx_rule = nic_dmn->ste_type == MLX5DR_STE_TYPE_RX; in mlx5dr_actions_build_ste_arr()
656 attr.final_icm_addr = nic_dmn->default_icm_addr; in mlx5dr_actions_build_ste_arr()
657 action_domain = dr_action_get_action_domain(dmn->type, nic_dmn->ste_type); in mlx5dr_actions_build_ste_arr()
669 attr.final_icm_addr = nic_dmn->drop_icm_addr; in mlx5dr_actions_build_ste_arr()
670 attr.hit_gvmi = nic_dmn->drop_icm_addr >> 48; in mlx5dr_actions_build_ste_arr()
809 nic_dmn->ste_type, in mlx5dr_actions_build_ste_arr()
Ddr_ste.c562 struct mlx5dr_domain_rx_tx *nic_dmn, in mlx5dr_ste_set_formatted_ste() argument
569 mlx5dr_ste_init(formatted_ste, htbl->lu_type, nic_dmn->ste_type, gvmi); in mlx5dr_ste_set_formatted_ste()
579 struct mlx5dr_domain_rx_tx *nic_dmn, in mlx5dr_ste_htbl_init_and_postsend() argument
587 nic_dmn, in mlx5dr_ste_htbl_init_and_postsend()
602 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_ste_create_next_htbl() local
626 if (mlx5dr_ste_htbl_init_and_postsend(dmn, nic_dmn, next_htbl, 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() local
754 nic_dmn->ste_type, in mlx5dr_ste_build_ste_arr()