Home
last modified time | relevance | path

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

/linux-6.1.9/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,
85 mlx5dr_action_create_dest_table_num(struct mlx5dr_domain *dmn, u32 table_num);
91 mlx5dr_action_create_dest_flow_fw_table(struct mlx5dr_domain *domain,
95 mlx5dr_action_create_dest_vport(struct mlx5dr_domain *domain,
[all …]
Ddr_domain.c13 static void dr_domain_init_csum_recalc_fts(struct mlx5dr_domain *dmn) in dr_domain_init_csum_recalc_fts()
21 static void dr_domain_uninit_csum_recalc_fts(struct mlx5dr_domain *dmn) in dr_domain_uninit_csum_recalc_fts()
34 int mlx5dr_domain_get_recalc_cs_ft_addr(struct mlx5dr_domain *dmn, in mlx5dr_domain_get_recalc_cs_ft_addr()
59 static int dr_domain_init_resources(struct mlx5dr_domain *dmn) in dr_domain_init_resources()
116 static void dr_domain_uninit_resources(struct mlx5dr_domain *dmn) in dr_domain_uninit_resources()
125 static void dr_domain_fill_uplink_caps(struct mlx5dr_domain *dmn, in dr_domain_fill_uplink_caps()
137 static int dr_domain_query_vport(struct mlx5dr_domain *dmn, in dr_domain_query_vport()
165 static int dr_domain_query_esw_mngr(struct mlx5dr_domain *dmn) in dr_domain_query_esw_mngr()
171 static void dr_domain_query_uplink(struct mlx5dr_domain *dmn) in dr_domain_query_uplink()
177 dr_domain_add_vport_cap(struct mlx5dr_domain *dmn, u16 vport) in dr_domain_add_vport_cap()
[all …]
Ddr_types.h207 struct mlx5dr_domain *dmn;
285 struct mlx5dr_domain *dmn,
291 struct mlx5dr_domain *dmn,
358 int mlx5dr_ste_build_pre_check(struct mlx5dr_domain *dmn,
484 struct mlx5dr_domain *dmn,
906 struct mlx5dr_domain { struct
907 struct mlx5dr_domain *peer_dmn; argument
931 struct mlx5dr_domain *dmn; argument
981 struct mlx5dr_domain *dmn;
992 struct mlx5dr_domain *dmn;
[all …]
Ddr_matcher.c117 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_vxlan_gpe()
143 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_geneve_tlv_opt_exist_set()
158 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_geneve()
175 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu()
187 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_dw_0()
199 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_teid()
211 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_dw_2()
223 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_first_ext()
230 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_flex_parser_0()
245 struct mlx5dr_domain *dmn) in dr_mask_is_tnl_gtpu_flex_parser_1()
[all …]
Ddr_action.c498 static void dr_actions_apply(struct mlx5dr_domain *dmn, in dr_actions_apply()
553 static int dr_action_handle_cs_recalc(struct mlx5dr_domain *dmn, in dr_action_handle_cs_recalc()
594 static void dr_action_modify_ttl_adjust(struct mlx5dr_domain *dmn, in dr_action_modify_ttl_adjust()
625 static void dr_action_print_sequence(struct mlx5dr_domain *dmn, in dr_action_print_sequence()
648 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_actions_build_ste_arr()
899 mlx5dr_action_create_dest_table_num(struct mlx5dr_domain *dmn, u32 table_num) in mlx5dr_action_create_dest_table_num()
937 mlx5dr_action_create_mult_dest_tbl(struct mlx5dr_domain *dmn, in mlx5dr_action_create_mult_dest_tbl()
1043 mlx5dr_action_create_dest_flow_fw_table(struct mlx5dr_domain *dmn, in mlx5dr_action_create_dest_flow_fw_table()
1090 mlx5dr_action_create_flow_sampler(struct mlx5dr_domain *dmn, u32 sampler_id) in mlx5dr_action_create_flow_sampler()
1116 struct mlx5dr_domain *dmn, in dr_action_verify_reformat_params()
[all …]
Ddr_dbg.h10 void mlx5dr_dbg_init_dump(struct mlx5dr_domain *dmn);
11 void mlx5dr_dbg_uninit_dump(struct mlx5dr_domain *dmn);
Ddr_fw.c8 mlx5dr_fw_create_recalc_cs_ft(struct mlx5dr_domain *dmn, u16 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.c40 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_create_collision_htbl()
101 struct mlx5dr_domain *dmn) in dr_rule_handle_one_ste_in_update_list()
128 struct mlx5dr_domain *dmn, in dr_rule_send_update_list()
179 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_handle_collision()
236 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_copy_ste()
376 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_htbl()
493 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; in dr_rule_rehash()
514 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_handle_collision()
660 struct mlx5dr_domain *dmn, in dr_rule_need_enlarge_hash()
694 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_handle_action_stes()
[all …]
Dfs_dr.c187 static struct mlx5dr_action *create_vport_action(struct mlx5dr_domain *domain, in create_vport_action()
198 static struct mlx5dr_action *create_uplink_action(struct mlx5dr_domain *domain, in create_uplink_action()
207 static struct mlx5dr_action *create_ft_action(struct mlx5dr_domain *domain, in create_ft_action()
217 static struct mlx5dr_action *create_action_push_vlan(struct mlx5dr_domain *domain, in create_action_push_vlan()
246 struct mlx5dr_domain *domain = ns->fs_dr_domain.dr_domain; in mlx5_cmd_dr_create_fte()
604 struct mlx5dr_domain *dr_domain = ns->fs_dr_domain.dr_domain; in mlx5_cmd_dr_packet_reformat_alloc()
659 struct mlx5dr_domain *dr_domain = ns->fs_dr_domain.dr_domain; in mlx5_cmd_dr_modify_header_alloc()
754 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()
529 int mlx5dr_send_postsend_formatted_htbl(struct mlx5dr_domain *dmn, in mlx5dr_send_postsend_formatted_htbl()
585 int mlx5dr_send_postsend_action(struct mlx5dr_domain *dmn, in mlx5dr_send_postsend_action()
693 static int dr_prepare_qp_to_rts(struct mlx5dr_domain *dmn) in dr_prepare_qp_to_rts()
918 int mlx5dr_send_ring_alloc(struct mlx5dr_domain *dmn) in mlx5dr_send_ring_alloc()
1014 void mlx5dr_send_ring_free(struct mlx5dr_domain *dmn, in mlx5dr_send_ring_free()
[all …]
Ddr_dbg.c71 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; in mlx5dr_dbg_rule_add()
80 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; in mlx5dr_dbg_rule_del()
577 dr_dump_domain(struct seq_file *file, struct mlx5dr_domain *dmn) in dr_dump_domain()
599 static int dr_dump_domain_all(struct seq_file *file, struct mlx5dr_domain *dmn) in dr_dump_domain_all()
629 void mlx5dr_dbg_init_dump(struct mlx5dr_domain *dmn) in mlx5dr_dbg_init_dump()
653 void mlx5dr_dbg_uninit_dump(struct mlx5dr_domain *dmn) in mlx5dr_dbg_uninit_dump()
Ddr_ste_v1.h19 void dr_ste_v1_set_actions_tx(struct mlx5dr_domain *dmn, u8 *action_type_set,
22 void dr_ste_v1_set_actions_rx(struct mlx5dr_domain *dmn, u8 *action_type_set,
Ddr_table.c6 static int dr_table_set_miss_action_nic(struct mlx5dr_domain *dmn, in dr_table_set_miss_action_nic()
120 static int dr_table_init_nic(struct mlx5dr_domain *dmn, in dr_table_init_nic()
250 struct mlx5dr_table *mlx5dr_table_create(struct mlx5dr_domain *dmn, u32 level, in mlx5dr_table_create()
Dfs_dr.h25 struct mlx5dr_domain *dr_domain;
Ddr_ste.h162 void (*set_actions_rx)(struct mlx5dr_domain *dmn,
168 void (*set_actions_tx)(struct mlx5dr_domain *dmn,
Ddr_ste.c302 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_free()
416 int mlx5dr_ste_htbl_init_and_postsend(struct mlx5dr_domain *dmn, in mlx5dr_ste_htbl_init_and_postsend()
441 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_create_next_htbl()
535 struct mlx5dr_domain *dmn, in mlx5dr_ste_set_actions_tx()
546 struct mlx5dr_domain *dmn, in mlx5dr_ste_set_actions_rx()
620 static int dr_ste_build_pre_check_spec(struct mlx5dr_domain *dmn, in dr_ste_build_pre_check_spec()
639 int mlx5dr_ste_build_pre_check(struct mlx5dr_domain *dmn, in mlx5dr_ste_build_pre_check()
679 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_build_ste_arr()
1337 struct mlx5dr_domain *dmn, in mlx5dr_ste_build_src_gvmi_qpn()
Ddr_icm_pool.c11 struct mlx5dr_domain *dmn;
28 struct mlx5dr_domain *dmn;
485 struct mlx5dr_icm_pool *mlx5dr_icm_pool_create(struct mlx5dr_domain *dmn, in mlx5dr_icm_pool_create()
Ddr_ste_v0.c409 dr_ste_v0_set_actions_tx(struct mlx5dr_domain *dmn, in dr_ste_v0_set_actions_tx()
479 dr_ste_v0_set_actions_rx(struct mlx5dr_domain *dmn, in dr_ste_v0_set_actions_rx()
1651 struct mlx5dr_domain *dmn = sb->dmn; in dr_ste_v0_build_src_gvmi_qpn_tag()
1652 struct mlx5dr_domain *vport_dmn; in dr_ste_v0_build_src_gvmi_qpn_tag()
Ddr_ste_v1.c538 void dr_ste_v1_set_actions_tx(struct mlx5dr_domain *dmn, in dr_ste_v1_set_actions_tx()
677 void dr_ste_v1_set_actions_rx(struct mlx5dr_domain *dmn, in dr_ste_v1_set_actions_rx()
1863 struct mlx5dr_domain *dmn = sb->dmn; in dr_ste_v1_build_src_gvmi_qpn_tag()
1864 struct mlx5dr_domain *vport_dmn; in dr_ste_v1_build_src_gvmi_qpn_tag()