Home
last modified time | relevance | path

Searched refs:matcher (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_matcher.c383 int mlx5dr_matcher_select_builders(struct mlx5dr_matcher *matcher, in mlx5dr_matcher_select_builders() argument
394 mlx5dr_dbg(matcher->tbl->dmn, in mlx5dr_matcher_select_builders()
402 static int dr_matcher_set_ste_builders(struct mlx5dr_matcher *matcher, in dr_matcher_set_ste_builders() argument
408 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_matcher_set_ste_builders()
421 if (matcher->match_criteria & DR_MATCHER_CRITERIA_OUTER) in dr_matcher_set_ste_builders()
422 mask.outer = matcher->mask.outer; in dr_matcher_set_ste_builders()
424 if (matcher->match_criteria & DR_MATCHER_CRITERIA_MISC) in dr_matcher_set_ste_builders()
425 mask.misc = matcher->mask.misc; in dr_matcher_set_ste_builders()
427 if (matcher->match_criteria & DR_MATCHER_CRITERIA_INNER) in dr_matcher_set_ste_builders()
428 mask.inner = matcher->mask.inner; in dr_matcher_set_ste_builders()
[all …]
Ddr_rule.c43 static void dr_rule_set_last_ste_miss_addr(struct mlx5dr_matcher *matcher, in dr_rule_set_last_ste_miss_addr() argument
47 struct mlx5dr_ste_ctx *ste_ctx = matcher->tbl->dmn->ste_ctx; in dr_rule_set_last_ste_miss_addr()
58 dr_rule_create_collision_htbl(struct mlx5dr_matcher *matcher, in dr_rule_create_collision_htbl() argument
62 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_create_collision_htbl()
78 dr_rule_set_last_ste_miss_addr(matcher, nic_matcher, hw_ste); in dr_rule_create_collision_htbl()
85 dr_rule_create_collision_entry(struct mlx5dr_matcher *matcher, in dr_rule_create_collision_entry() argument
92 ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_create_collision_entry()
94 mlx5dr_dbg(matcher->tbl->dmn, "Failed creating collision entry\n"); in dr_rule_create_collision_entry()
105 if (mlx5dr_ste_create_next_htbl(matcher, nic_matcher, ste, hw_ste, in dr_rule_create_collision_entry()
107 mlx5dr_dbg(matcher->tbl->dmn, "Failed allocating table\n"); in dr_rule_create_collision_entry()
[all …]
Ddr_dbg.c73 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; in mlx5dr_dbg_rule_add()
76 list_add_tail(&rule->dbg_node, &rule->matcher->dbg_rule_list); in mlx5dr_dbg_rule_add()
82 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; in mlx5dr_dbg_rule_del()
317 format_ver = rule->matcher->tbl->dmn->info.caps.sw_format_ver; in dr_dump_rule()
320 DR_DBG_PTR_TO_ID(rule->matcher)); in dr_dump_rule()
433 dr_dump_matcher(struct seq_file *file, struct mlx5dr_matcher *matcher) in dr_dump_matcher() argument
435 struct mlx5dr_matcher_rx_tx *rx = &matcher->rx; in dr_dump_matcher()
436 struct mlx5dr_matcher_rx_tx *tx = &matcher->tx; in dr_dump_matcher()
440 matcher_id = DR_DBG_PTR_TO_ID(matcher); in dr_dump_matcher()
443 matcher_id, DR_DBG_PTR_TO_ID(matcher->tbl), matcher->prio); in dr_dump_matcher()
[all …]
Dmlx5dr.h71 int mlx5dr_matcher_destroy(struct mlx5dr_matcher *matcher);
74 mlx5dr_rule_create(struct mlx5dr_matcher *matcher,
Ddr_action.c670 static int dr_action_get_dest_fw_tbl_addr(struct mlx5dr_matcher *matcher, in dr_action_get_dest_fw_tbl_addr() argument
676 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_action_get_dest_fw_tbl_addr()
700 static int dr_action_get_dest_sw_tbl_addr(struct mlx5dr_matcher *matcher, in dr_action_get_dest_sw_tbl_addr() argument
705 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_action_get_dest_sw_tbl_addr()
714 if (dest_tbl->tbl->level <= matcher->tbl->level) { in dr_action_get_dest_sw_tbl_addr()
719 matcher->tbl->level, in dr_action_get_dest_sw_tbl_addr()
730 static int dr_action_get_dest_tbl_addr(struct mlx5dr_matcher *matcher, in dr_action_get_dest_tbl_addr() argument
736 return dr_action_get_dest_fw_tbl_addr(matcher, in dr_action_get_dest_tbl_addr()
741 return dr_action_get_dest_sw_tbl_addr(matcher, in dr_action_get_dest_tbl_addr()
749 int mlx5dr_actions_build_ste_arr(struct mlx5dr_matcher *matcher, in mlx5dr_actions_build_ste_arr() argument
[all …]
Ddr_types.h353 struct mlx5dr_matcher *matcher,
356 struct mlx5dr_matcher *matcher, in mlx5dr_ste_put() argument
361 mlx5dr_ste_free(ste, matcher, nic_matcher); in mlx5dr_ste_put()
376 int mlx5dr_ste_create_next_htbl(struct mlx5dr_matcher *matcher,
387 int mlx5dr_ste_build_ste_arr(struct mlx5dr_matcher *matcher,
522 int mlx5dr_actions_build_ste_arr(struct mlx5dr_matcher *matcher,
1160 struct mlx5dr_matcher *matcher; member
1217 int mlx5dr_matcher_select_builders(struct mlx5dr_matcher *matcher,
Dfs_dr.c149 struct mlx5dr_matcher *matcher; in mlx5_cmd_dr_create_flow_group() local
165 matcher = mlx5dr_matcher_create(ft->fs_dr_table.dr_table, in mlx5_cmd_dr_create_flow_group()
169 if (!matcher) { in mlx5_cmd_dr_create_flow_group()
174 fg->fs_dr_matcher.dr_matcher = matcher; in mlx5_cmd_dr_create_flow_group()
Ddr_ste.c309 struct mlx5dr_matcher *matcher, in mlx5dr_ste_free() argument
313 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_free()
445 int mlx5dr_ste_create_next_htbl(struct mlx5dr_matcher *matcher, in mlx5dr_ste_create_next_htbl() argument
452 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_create_next_htbl()
746 int mlx5dr_ste_build_ste_arr(struct mlx5dr_matcher *matcher, in mlx5dr_ste_build_ste_arr() argument
753 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_build_ste_arr()
758 ret = mlx5dr_ste_build_pre_check(dmn, matcher->match_criteria, in mlx5dr_ste_build_ste_arr()
759 &matcher->mask, value); in mlx5dr_ste_build_ste_arr()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dsmfs.c21 mlx5_smfs_matcher_destroy(struct mlx5dr_matcher *matcher) in mlx5_smfs_matcher_destroy() argument
23 mlx5dr_matcher_destroy(matcher); in mlx5_smfs_matcher_destroy()
51 mlx5_smfs_rule_create(struct mlx5dr_matcher *matcher, struct mlx5_flow_spec *spec, in mlx5_smfs_rule_create() argument
60 return mlx5dr_rule_create(matcher, &value, num_actions, actions, flow_source); in mlx5_smfs_rule_create()
Dsmfs.h14 mlx5_smfs_matcher_destroy(struct mlx5dr_matcher *matcher);
29 mlx5_smfs_rule_create(struct mlx5dr_matcher *matcher, struct mlx5_flow_spec *spec,
/linux-6.6.21/arch/powerpc/boot/dts/
Dxcalibur1501.dts626 /* PME (pattern-matcher) */
Dxpedite5301.dts536 /* PME (pattern-matcher) */
Dxpedite5370.dts534 /* PME (pattern-matcher) */
Dxpedite5330.dts572 /* PME (pattern-matcher) */
/linux-6.6.21/Documentation/security/keys/
Dcore.rst1541 to the default matcher function (which does an exact description match