Home
last modified time | relevance | path

Searched refs:mlx5dr_domain (Results 1 – 22 of 22) 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,
55 mlx5dr_table_create(struct mlx5dr_domain *domain, u32 level, u32 flags,
86 mlx5dr_action_create_dest_table_num(struct mlx5dr_domain *dmn, u32 table_num);
92 mlx5dr_action_create_dest_flow_fw_table(struct mlx5dr_domain *domain,
96 mlx5dr_action_create_dest_vport(struct mlx5dr_domain *domain,
[all …]
Ddr_domain.c13 bool mlx5dr_domain_is_support_ptrn_arg(struct mlx5dr_domain *dmn) in mlx5dr_domain_is_support_ptrn_arg()
19 static int dr_domain_init_modify_header_resources(struct mlx5dr_domain *dmn) in dr_domain_init_modify_header_resources()
44 static void dr_domain_destroy_modify_header_resources(struct mlx5dr_domain *dmn) in dr_domain_destroy_modify_header_resources()
53 static void dr_domain_init_csum_recalc_fts(struct mlx5dr_domain *dmn) in dr_domain_init_csum_recalc_fts()
61 static void dr_domain_uninit_csum_recalc_fts(struct mlx5dr_domain *dmn) in dr_domain_uninit_csum_recalc_fts()
74 int mlx5dr_domain_get_recalc_cs_ft_addr(struct mlx5dr_domain *dmn, in mlx5dr_domain_get_recalc_cs_ft_addr()
99 static int dr_domain_init_mem_resources(struct mlx5dr_domain *dmn) in dr_domain_init_mem_resources()
154 static void dr_domain_uninit_mem_resources(struct mlx5dr_domain *dmn) in dr_domain_uninit_mem_resources()
163 static int dr_domain_init_resources(struct mlx5dr_domain *dmn) in dr_domain_init_resources()
218 static void dr_domain_uninit_resources(struct mlx5dr_domain *dmn) in dr_domain_uninit_resources()
[all …]
Ddr_types.h218 struct mlx5dr_domain *dmn;
308 struct mlx5dr_domain *dmn,
314 struct mlx5dr_domain *dmn,
383 int mlx5dr_ste_build_pre_check(struct mlx5dr_domain *dmn,
509 struct mlx5dr_domain *dmn,
937 struct mlx5dr_domain { struct
971 struct mlx5dr_domain *dmn; argument
1037 struct mlx5dr_domain *dmn;
1051 struct mlx5dr_domain *dmn;
1059 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_definer.c40 dr_definer_find_obj(struct mlx5dr_domain *dmn, u16 format_id, in dr_definer_find_obj()
57 dr_definer_create_obj(struct mlx5dr_domain *dmn, u16 format_id, in dr_definer_create_obj()
107 static void dr_definer_destroy_obj(struct mlx5dr_domain *dmn, in dr_definer_destroy_obj()
115 int mlx5dr_definer_get(struct mlx5dr_domain *dmn, u16 format_id, in mlx5dr_definer_get()
139 void mlx5dr_definer_put(struct mlx5dr_domain *dmn, u32 definer_id) in mlx5dr_definer_put()
Ddr_action.c531 static void dr_actions_apply(struct mlx5dr_domain *dmn, in dr_actions_apply()
586 static int dr_action_handle_cs_recalc(struct mlx5dr_domain *dmn, in dr_action_handle_cs_recalc()
627 static void dr_action_modify_ttl_adjust(struct mlx5dr_domain *dmn, in dr_action_modify_ttl_adjust()
658 static void dr_action_print_sequence(struct mlx5dr_domain *dmn, in dr_action_print_sequence()
676 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_action_get_dest_fw_tbl_addr()
705 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_action_get_dest_sw_tbl_addr()
758 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_actions_build_ste_arr()
1012 mlx5dr_action_create_dest_table_num(struct mlx5dr_domain *dmn, u32 table_num) in mlx5dr_action_create_dest_table_num()
1075 struct mlx5dr_domain *dmn = action->range->dmn; in dr_action_create_range_definer()
1101 mlx5dr_action_create_dest_match_range(struct mlx5dr_domain *dmn, in mlx5dr_action_create_dest_match_range()
[all …]
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.c14 static int dr_rule_append_to_miss_list(struct mlx5dr_domain *dmn, in dr_rule_append_to_miss_list()
62 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_create_collision_htbl()
120 struct mlx5dr_domain *dmn) in dr_rule_handle_one_ste_in_update_list()
147 struct mlx5dr_domain *dmn, in dr_rule_send_update_list()
198 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_handle_collision()
255 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_copy_ste()
403 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_htbl()
521 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; in dr_rule_rehash()
542 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_handle_collision()
688 struct mlx5dr_domain *dmn, in dr_rule_need_enlarge_hash()
[all …]
Ddr_send.c106 void mlx5dr_send_info_pool_destroy(struct mlx5dr_domain *dmn) in mlx5dr_send_info_pool_destroy()
132 int mlx5dr_send_info_pool_create(struct mlx5dr_domain *dmn) in mlx5dr_send_info_pool_create()
148 *mlx5dr_send_info_alloc(struct mlx5dr_domain *dmn, in mlx5dr_send_info_alloc()
537 static int dr_handle_pending_wc(struct mlx5dr_domain *dmn, in dr_handle_pending_wc()
578 static void dr_fill_write_icm_segs(struct mlx5dr_domain *dmn, in dr_fill_write_icm_segs()
616 static void dr_fill_data_segs(struct mlx5dr_domain *dmn, in dr_fill_data_segs()
626 static int dr_postsend_icm_data(struct mlx5dr_domain *dmn, in dr_postsend_icm_data()
654 static int dr_get_tbl_copy_details(struct mlx5dr_domain *dmn, in dr_get_tbl_copy_details()
696 int mlx5dr_send_postsend_ste(struct mlx5dr_domain *dmn, struct mlx5dr_ste *ste, in mlx5dr_send_postsend_ste()
712 int mlx5dr_send_postsend_htbl(struct mlx5dr_domain *dmn, in mlx5dr_send_postsend_htbl()
[all …]
Ddr_dbg.h10 void mlx5dr_dbg_init_dump(struct mlx5dr_domain *dmn);
11 void mlx5dr_dbg_uninit_dump(struct mlx5dr_domain *dmn);
Ddr_arg.c21 struct mlx5dr_domain *dmn;
27 struct mlx5dr_domain *dmn;
130 static struct dr_arg_pool *dr_arg_pool_create(struct mlx5dr_domain *dmn, in dr_arg_pool_create()
230 mlx5dr_arg_mgr_create(struct mlx5dr_domain *dmn) in mlx5dr_arg_mgr_create()
Dfs_dr.c188 static struct mlx5dr_action *create_vport_action(struct mlx5dr_domain *domain, in create_vport_action()
199 static struct mlx5dr_action *create_uplink_action(struct mlx5dr_domain *domain, in create_uplink_action()
208 static struct mlx5dr_action *create_ft_action(struct mlx5dr_domain *domain, in create_ft_action()
218 static struct mlx5dr_action *create_range_action(struct mlx5dr_domain *domain, in create_range_action()
229 static struct mlx5dr_action *create_action_push_vlan(struct mlx5dr_domain *domain, in create_action_push_vlan()
258 struct mlx5dr_domain *domain = ns->fs_dr_domain.dr_domain; in mlx5_cmd_dr_create_fte()
633 struct mlx5dr_domain *dr_domain = ns->fs_dr_domain.dr_domain; in mlx5_cmd_dr_packet_reformat_alloc()
689 struct mlx5dr_domain *dr_domain = ns->fs_dr_domain.dr_domain; in mlx5_cmd_dr_modify_header_alloc()
786 struct mlx5dr_domain *peer_domain = NULL; in mlx5_cmd_dr_set_peer()
Ddr_dbg.c73 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; in mlx5dr_dbg_rule_add()
82 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; in mlx5dr_dbg_rule_del()
631 dr_dump_domain(struct seq_file *file, struct mlx5dr_domain *dmn) in dr_dump_domain()
662 static int dr_dump_domain_all(struct seq_file *file, struct mlx5dr_domain *dmn) in dr_dump_domain_all()
692 void mlx5dr_dbg_init_dump(struct mlx5dr_domain *dmn) in mlx5dr_dbg_init_dump()
716 void mlx5dr_dbg_uninit_dump(struct mlx5dr_domain *dmn) in mlx5dr_dbg_uninit_dump()
Ddr_ste.c313 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_free()
427 int mlx5dr_ste_htbl_init_and_postsend(struct mlx5dr_domain *dmn, in mlx5dr_ste_htbl_init_and_postsend()
452 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_create_next_htbl()
552 struct mlx5dr_domain *dmn, in mlx5dr_ste_set_actions_tx()
563 struct mlx5dr_domain *dmn, in mlx5dr_ste_set_actions_rx()
640 struct mlx5dr_domain *dmn = action->rewrite->dmn; in dr_ste_alloc_modify_hdr_chunk()
676 struct mlx5dr_domain *dmn = action->rewrite->dmn; in mlx5dr_ste_alloc_modify_hdr()
686 struct mlx5dr_domain *dmn = action->rewrite->dmn; in mlx5dr_ste_free_modify_hdr()
694 static int dr_ste_build_pre_check_spec(struct mlx5dr_domain *dmn, in dr_ste_build_pre_check_spec()
713 int mlx5dr_ste_build_pre_check(struct mlx5dr_domain *dmn, in mlx5dr_ste_build_pre_check()
[all …]
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()
Ddr_ste_v1.h20 void dr_ste_v1_set_actions_tx(struct mlx5dr_domain *dmn, u8 *action_type_set,
23 void dr_ste_v1_set_actions_rx(struct mlx5dr_domain *dmn, u8 *action_type_set,
Ddr_ptrn.c16 struct mlx5dr_domain *dmn;
197 struct mlx5dr_ptrn_mgr *mlx5dr_ptrn_mgr_create(struct mlx5dr_domain *dmn) in mlx5dr_ptrn_mgr_create()
Dfs_dr.h25 struct mlx5dr_domain *dr_domain;
Ddr_ste.h163 void (*set_actions_rx)(struct mlx5dr_domain *dmn,
169 void (*set_actions_tx)(struct mlx5dr_domain *dmn,
Ddr_icm_pool.c20 struct mlx5dr_domain *dmn;
48 struct mlx5dr_domain *dmn;
505 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()
1652 struct mlx5dr_domain *dmn = sb->dmn; in dr_ste_v0_build_src_gvmi_qpn_tag()
1653 struct mlx5dr_domain *vport_dmn; in dr_ste_v0_build_src_gvmi_qpn_tag()
1655 struct mlx5dr_domain *peer; in dr_ste_v0_build_src_gvmi_qpn_tag()
Ddr_ste_v1.c623 void dr_ste_v1_set_actions_tx(struct mlx5dr_domain *dmn, in dr_ste_v1_set_actions_tx()
779 void dr_ste_v1_set_actions_rx(struct mlx5dr_domain *dmn, in dr_ste_v1_set_actions_rx()
1984 struct mlx5dr_domain *dmn = sb->dmn; in dr_ste_v1_build_src_gvmi_qpn_tag()
1985 struct mlx5dr_domain *vport_dmn; in dr_ste_v1_build_src_gvmi_qpn_tag()
1987 struct mlx5dr_domain *peer; in dr_ste_v1_build_src_gvmi_qpn_tag()