Searched refs:nic_dmn (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_table.c | 27 chunk = nic_tbl->nic_dmn->type == DR_DOMAIN_NIC_TYPE_RX ? 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() 38 ret = mlx5dr_ste_htbl_init_and_postsend(dmn, nic_tbl->nic_dmn, in dr_table_set_miss_action_nic() 123 struct mlx5dr_domain_rx_tx *nic_dmn = nic_tbl->nic_dmn; in dr_table_init_nic() local 129 nic_tbl->default_icm_addr = nic_dmn->default_icm_addr; in dr_table_init_nic() 141 info.miss_icm_addr = nic_dmn->default_icm_addr; in dr_table_init_nic() 142 ret = mlx5dr_ste_htbl_init_and_postsend(dmn, nic_dmn, in dr_table_init_nic() 189 tbl->rx.nic_dmn = &tbl->dmn->info.rx; in dr_table_init() 194 tbl->tx.nic_dmn = &tbl->dmn->info.tx; in dr_table_init() 199 tbl->rx.nic_dmn = &tbl->dmn->info.rx; in dr_table_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() 407 struct mlx5dr_domain_rx_tx *nic_dmn; in dr_rule_rehash_htbl() local 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() 436 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() 689 struct mlx5dr_domain_rx_tx *nic_dmn) in dr_rule_need_enlarge_hash() argument 753 nic_matcher->nic_tbl->nic_dmn->type); in dr_rule_handle_action_stes() [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() local 418 rx = nic_dmn->type == DR_DOMAIN_NIC_TYPE_RX; in dr_matcher_set_ste_builders() 687 struct mlx5dr_domain_rx_tx *nic_dmn = nic_tbl->nic_dmn; in dr_nic_matcher_connect() local 700 ret = mlx5dr_ste_htbl_init_and_postsend(dmn, nic_dmn, in dr_nic_matcher_connect() 709 ret = mlx5dr_ste_htbl_init_and_postsend(dmn, nic_dmn, in dr_nic_matcher_connect() 723 ret = mlx5dr_ste_htbl_init_and_postsend(dmn, nic_dmn, prev_htbl, in dr_nic_matcher_connect() 1035 struct mlx5dr_domain_rx_tx *nic_dmn = nic_tbl->nic_dmn; in dr_matcher_disconnect_nic() local 1056 return mlx5dr_ste_htbl_init_and_postsend(dmn, nic_dmn, prev_anchor, in dr_matcher_disconnect_nic()
|
D | dr_action.c | 756 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_actions_build_ste_arr() local 757 bool rx_rule = nic_dmn->type == DR_DOMAIN_NIC_TYPE_RX; in mlx5dr_actions_build_ste_arr() 770 attr.final_icm_addr = nic_dmn->default_icm_addr; in mlx5dr_actions_build_ste_arr() 771 action_domain = dr_action_get_action_domain(dmn->type, nic_dmn->type); in mlx5dr_actions_build_ste_arr() 783 attr.final_icm_addr = nic_dmn->drop_icm_addr; in mlx5dr_actions_build_ste_arr() 784 attr.hit_gvmi = nic_dmn->drop_icm_addr >> 48; in mlx5dr_actions_build_ste_arr() 872 attr.final_icm_addr = nic_dmn->drop_icm_addr; in mlx5dr_actions_build_ste_arr() 873 attr.hit_gvmi = nic_dmn->drop_icm_addr >> 48; in mlx5dr_actions_build_ste_arr() 957 nic_dmn->type, in mlx5dr_actions_build_ste_arr()
|
D | dr_ste.c | 428 struct mlx5dr_domain_rx_tx *nic_dmn, in mlx5dr_ste_htbl_init_and_postsend() argument 437 nic_dmn->type, in mlx5dr_ste_htbl_init_and_postsend() 451 struct mlx5dr_domain_rx_tx *nic_dmn = nic_matcher->nic_tbl->nic_dmn; in mlx5dr_ste_create_next_htbl() local 477 if (mlx5dr_ste_htbl_init_and_postsend(dmn, nic_dmn, next_htbl, 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() local 752 bool is_rx = nic_dmn->type == DR_DOMAIN_NIC_TYPE_RX; in mlx5dr_ste_build_ste_arr()
|
D | dr_types.h | 965 struct mlx5dr_domain_rx_tx *nic_dmn; member 1190 static inline void mlx5dr_domain_nic_lock(struct mlx5dr_domain_rx_tx *nic_dmn) in mlx5dr_domain_nic_lock() argument 1192 mutex_lock(&nic_dmn->mutex); in mlx5dr_domain_nic_lock() 1195 static inline void mlx5dr_domain_nic_unlock(struct mlx5dr_domain_rx_tx *nic_dmn) in mlx5dr_domain_nic_unlock() argument 1197 mutex_unlock(&nic_dmn->mutex); in mlx5dr_domain_nic_unlock() 1397 struct mlx5dr_domain_rx_tx *nic_dmn,
|
D | dr_dbg.c | 512 if (rx->nic_dmn) { in dr_dump_table() 519 if (tx->nic_dmn) { in dr_dump_table()
|