Home
last modified time | relevance | path

Searched refs:mlx5dr_domain (Results 1 – 16 of 16) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dmlx5dr.h7 struct mlx5dr_domain;
43 struct mlx5dr_domain *
46 int mlx5dr_domain_destroy(struct mlx5dr_domain *domain);
48 int mlx5dr_domain_sync(struct mlx5dr_domain *domain, u32 flags);
50 void mlx5dr_domain_set_peer(struct mlx5dr_domain *dmn,
51 struct mlx5dr_domain *peer_dmn);
54 mlx5dr_table_create(struct mlx5dr_domain *domain, u32 level, u32 flags);
81 mlx5dr_action_create_dest_table_num(struct mlx5dr_domain *dmn, u32 table_num);
87 mlx5dr_action_create_dest_flow_fw_table(struct mlx5dr_domain *domain,
91 mlx5dr_action_create_dest_vport(struct mlx5dr_domain *domain,
[all …]
Ddr_domain.c13 static int dr_domain_init_cache(struct mlx5dr_domain *dmn) in dr_domain_init_cache()
27 static void dr_domain_uninit_cache(struct mlx5dr_domain *dmn) in dr_domain_uninit_cache()
41 int mlx5dr_domain_cache_get_recalc_cs_ft_addr(struct mlx5dr_domain *dmn, in mlx5dr_domain_cache_get_recalc_cs_ft_addr()
62 static int dr_domain_init_resources(struct mlx5dr_domain *dmn) in dr_domain_init_resources()
119 static void dr_domain_uninit_resources(struct mlx5dr_domain *dmn) in dr_domain_uninit_resources()
128 static int dr_domain_query_vport(struct mlx5dr_domain *dmn, in dr_domain_query_vport()
158 static int dr_domain_query_vports(struct mlx5dr_domain *dmn) in dr_domain_query_vports()
184 struct mlx5dr_domain *dmn) in dr_domain_query_fdb_caps()
223 struct mlx5dr_domain *dmn) in dr_domain_caps_init()
292 static void dr_domain_caps_uninit(struct mlx5dr_domain *dmn) in dr_domain_caps_uninit()
[all …]
Ddr_types.h211 struct mlx5dr_domain *dmn;
282 struct mlx5dr_domain *dmn,
288 struct mlx5dr_domain *dmn,
355 int mlx5dr_ste_build_pre_check(struct mlx5dr_domain *dmn,
472 struct mlx5dr_domain *dmn,
842 struct mlx5dr_domain { struct
843 struct mlx5dr_domain *peer_dmn; argument
864 struct mlx5dr_domain *dmn; argument
910 struct mlx5dr_domain *dmn;
921 struct mlx5dr_domain *dmn;
[all …]
Ddr_matcher.c112 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_vxlan_gpe()
140 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_geneve()
157 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu()
169 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_dw_0()
181 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_teid()
193 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_dw_2()
205 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_first_ext()
212 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_flex_parser_0()
227 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_flex_parser_1()
242 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_any()
[all …]
Ddr_action.c436 static void dr_actions_apply(struct mlx5dr_domain *dmn, in dr_actions_apply()
491 static int dr_action_handle_cs_recalc(struct mlx5dr_domain *dmn, in dr_action_handle_cs_recalc()
532 static void dr_action_print_sequence(struct mlx5dr_domain *dmn, in dr_action_print_sequence()
555 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_actions_build_ste_arr()
809 mlx5dr_action_create_dest_table_num(struct mlx5dr_domain *dmn, u32 table_num) in mlx5dr_action_create_dest_table_num()
847 mlx5dr_action_create_mult_dest_tbl(struct mlx5dr_domain *dmn, in mlx5dr_action_create_mult_dest_tbl()
949 mlx5dr_action_create_dest_flow_fw_table(struct mlx5dr_domain *dmn, in mlx5dr_action_create_dest_flow_fw_table()
996 mlx5dr_action_create_flow_sampler(struct mlx5dr_domain *dmn, u32 sampler_id) in mlx5dr_action_create_flow_sampler()
1022 struct mlx5dr_domain *dmn, in dr_action_verify_reformat_params()
1074 dr_action_create_reformat_action(struct mlx5dr_domain *dmn, in dr_action_create_reformat_action()
[all …]
Ddr_fw.c8 mlx5dr_fw_create_recalc_cs_ft(struct mlx5dr_domain *dmn, u32 vport_num) in mlx5dr_fw_create_recalc_cs_ft()
83 void mlx5dr_fw_destroy_recalc_cs_ft(struct mlx5dr_domain *dmn, in mlx5dr_fw_destroy_recalc_cs_ft()
101 int mlx5dr_fw_create_md_tbl(struct mlx5dr_domain *dmn, in mlx5dr_fw_create_md_tbl()
162 void mlx5dr_fw_destroy_md_tbl(struct mlx5dr_domain *dmn, in mlx5dr_fw_destroy_md_tbl()
Ddr_rule.c45 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_create_collision_htbl()
105 struct mlx5dr_domain *dmn) in dr_rule_handle_one_ste_in_update_list()
130 struct mlx5dr_domain *dmn, in dr_rule_send_update_list()
181 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_handle_collision()
238 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_copy_ste()
377 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_htbl()
494 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; in dr_rule_rehash()
515 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_handle_collision()
661 struct mlx5dr_domain *dmn, in dr_rule_need_enlarge_hash()
695 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_handle_action_stes()
[all …]
Dfs_dr.c185 static struct mlx5dr_action *create_vport_action(struct mlx5dr_domain *domain, in create_vport_action()
196 static struct mlx5dr_action *create_ft_action(struct mlx5dr_domain *domain, in create_ft_action()
206 static struct mlx5dr_action *create_action_push_vlan(struct mlx5dr_domain *domain, in create_action_push_vlan()
230 struct mlx5dr_domain *domain = ns->fs_dr_domain.dr_domain; in mlx5_cmd_dr_create_fte()
549 struct mlx5dr_domain *dr_domain = ns->fs_dr_domain.dr_domain; in mlx5_cmd_dr_packet_reformat_alloc()
604 struct mlx5dr_domain *dr_domain = ns->fs_dr_domain.dr_domain; in mlx5_cmd_dr_modify_header_alloc()
686 struct mlx5dr_domain *peer_domain = NULL; in mlx5_cmd_dr_set_peer()
Ddr_send.c312 static int dr_handle_pending_wc(struct mlx5dr_domain *dmn, in dr_handle_pending_wc()
361 static int dr_postsend_icm_data(struct mlx5dr_domain *dmn, in dr_postsend_icm_data()
403 static int dr_get_tbl_copy_details(struct mlx5dr_domain *dmn, in dr_get_tbl_copy_details()
445 int mlx5dr_send_postsend_ste(struct mlx5dr_domain *dmn, struct mlx5dr_ste *ste, in mlx5dr_send_postsend_ste()
461 int mlx5dr_send_postsend_htbl(struct mlx5dr_domain *dmn, in mlx5dr_send_postsend_htbl()
528 int mlx5dr_send_postsend_formatted_htbl(struct mlx5dr_domain *dmn, in mlx5dr_send_postsend_formatted_htbl()
584 int mlx5dr_send_postsend_action(struct mlx5dr_domain *dmn, in mlx5dr_send_postsend_action()
691 static int dr_prepare_qp_to_rts(struct mlx5dr_domain *dmn) in dr_prepare_qp_to_rts()
917 int mlx5dr_send_ring_alloc(struct mlx5dr_domain *dmn) in mlx5dr_send_ring_alloc()
1013 void mlx5dr_send_ring_free(struct mlx5dr_domain *dmn, in mlx5dr_send_ring_free()
[all …]
Ddr_ste.c295 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_free()
400 int mlx5dr_ste_htbl_init_and_postsend(struct mlx5dr_domain *dmn, in mlx5dr_ste_htbl_init_and_postsend()
425 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_create_next_htbl()
521 struct mlx5dr_domain *dmn, in mlx5dr_ste_set_actions_tx()
532 struct mlx5dr_domain *dmn, in mlx5dr_ste_set_actions_rx()
606 static int dr_ste_build_pre_check_spec(struct mlx5dr_domain *dmn, in dr_ste_build_pre_check_spec()
625 int mlx5dr_ste_build_pre_check(struct mlx5dr_domain *dmn, in mlx5dr_ste_build_pre_check()
665 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_build_ste_arr()
1255 struct mlx5dr_domain *dmn, in mlx5dr_ste_build_src_gvmi_qpn()
Dfs_dr.h29 struct mlx5dr_domain *dr_domain;
Ddr_ste.h160 void (*set_actions_rx)(struct mlx5dr_domain *dmn,
165 void (*set_actions_tx)(struct mlx5dr_domain *dmn,
Ddr_icm_pool.c11 struct mlx5dr_domain *dmn;
28 struct mlx5dr_domain *dmn;
460 struct mlx5dr_icm_pool *mlx5dr_icm_pool_create(struct mlx5dr_domain *dmn, in mlx5dr_icm_pool_create()
Ddr_table.c121 static int dr_table_init_nic(struct mlx5dr_domain *dmn, in dr_table_init_nic()
248 struct mlx5dr_table *mlx5dr_table_create(struct mlx5dr_domain *dmn, u32 level, u32 flags) in mlx5dr_table_create()
Ddr_ste_v0.c408 dr_ste_v0_set_actions_tx(struct mlx5dr_domain *dmn, in dr_ste_v0_set_actions_tx()
477 dr_ste_v0_set_actions_rx(struct mlx5dr_domain *dmn, in dr_ste_v0_set_actions_rx()
1647 struct mlx5dr_domain *dmn = sb->dmn; in dr_ste_v0_build_src_gvmi_qpn_tag()
Ddr_ste_v1.c513 static void dr_ste_v1_set_actions_tx(struct mlx5dr_domain *dmn, in dr_ste_v1_set_actions_tx()
631 static void dr_ste_v1_set_actions_rx(struct mlx5dr_domain *dmn, in dr_ste_v1_set_actions_rx()
1778 struct mlx5dr_domain *dmn = sb->dmn; in dr_ste_v1_build_src_gvmi_qpn_tag()