Home
last modified time | relevance | path

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

/Linux-v6.1/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.c36 dr_rule_create_collision_htbl(struct mlx5dr_matcher *matcher, in dr_rule_create_collision_htbl() argument
40 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_create_collision_htbl()
66 dr_rule_create_collision_entry(struct mlx5dr_matcher *matcher, in dr_rule_create_collision_entry() argument
73 ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_create_collision_entry()
75 mlx5dr_dbg(matcher->tbl->dmn, "Failed creating collision entry\n"); in dr_rule_create_collision_entry()
86 if (mlx5dr_ste_create_next_htbl(matcher, nic_matcher, ste, hw_ste, in dr_rule_create_collision_entry()
88 mlx5dr_dbg(matcher->tbl->dmn, "Failed allocating table\n"); in dr_rule_create_collision_entry()
95 mlx5dr_ste_free(ste, matcher, nic_matcher); in dr_rule_create_collision_entry()
173 dr_rule_rehash_handle_collision(struct mlx5dr_matcher *matcher, in dr_rule_rehash_handle_collision() argument
179 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_handle_collision()
[all …]
Ddr_dbg.c71 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; in mlx5dr_dbg_rule_add()
74 list_add_tail(&rule->dbg_node, &rule->matcher->dbg_rule_list); in mlx5dr_dbg_rule_add()
80 struct mlx5dr_domain *dmn = rule->matcher->tbl->dmn; in mlx5dr_dbg_rule_del()
263 format_ver = rule->matcher->tbl->dmn->info.caps.sw_format_ver; in dr_dump_rule()
266 DR_DBG_PTR_TO_ID(rule->matcher)); in dr_dump_rule()
379 dr_dump_matcher(struct seq_file *file, struct mlx5dr_matcher *matcher) in dr_dump_matcher() argument
381 struct mlx5dr_matcher_rx_tx *rx = &matcher->rx; in dr_dump_matcher()
382 struct mlx5dr_matcher_rx_tx *tx = &matcher->tx; in dr_dump_matcher()
386 matcher_id = DR_DBG_PTR_TO_ID(matcher); in dr_dump_matcher()
389 matcher_id, DR_DBG_PTR_TO_ID(matcher->tbl), matcher->prio); in dr_dump_matcher()
[all …]
Dmlx5dr.h70 int mlx5dr_matcher_destroy(struct mlx5dr_matcher *matcher);
73 mlx5dr_rule_create(struct mlx5dr_matcher *matcher,
Ddr_types.h328 struct mlx5dr_matcher *matcher,
331 struct mlx5dr_matcher *matcher, in mlx5dr_ste_put() argument
336 mlx5dr_ste_free(ste, matcher, nic_matcher); in mlx5dr_ste_put()
351 int mlx5dr_ste_create_next_htbl(struct mlx5dr_matcher *matcher,
362 int mlx5dr_ste_build_ste_arr(struct mlx5dr_matcher *matcher,
497 int mlx5dr_actions_build_ste_arr(struct mlx5dr_matcher *matcher,
1091 struct mlx5dr_matcher *matcher; member
1149 int mlx5dr_matcher_select_builders(struct mlx5dr_matcher *matcher,
Dfs_dr.c148 struct mlx5dr_matcher *matcher; in mlx5_cmd_dr_create_flow_group() local
164 matcher = mlx5dr_matcher_create(ft->fs_dr_table.dr_table, in mlx5_cmd_dr_create_flow_group()
168 if (!matcher) { in mlx5_cmd_dr_create_flow_group()
173 fg->fs_dr_matcher.dr_matcher = matcher; in mlx5_cmd_dr_create_flow_group()
Ddr_ste.c298 struct mlx5dr_matcher *matcher, in mlx5dr_ste_free() argument
302 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_free()
434 int mlx5dr_ste_create_next_htbl(struct mlx5dr_matcher *matcher, in mlx5dr_ste_create_next_htbl() argument
441 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_create_next_htbl()
672 int mlx5dr_ste_build_ste_arr(struct mlx5dr_matcher *matcher, in mlx5dr_ste_build_ste_arr() argument
679 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_build_ste_arr()
684 ret = mlx5dr_ste_build_pre_check(dmn, matcher->match_criteria, in mlx5dr_ste_build_ste_arr()
685 &matcher->mask, value); in mlx5dr_ste_build_ste_arr()
Ddr_action.c639 int mlx5dr_actions_build_ste_arr(struct mlx5dr_matcher *matcher, in mlx5dr_actions_build_ste_arr() argument
648 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_actions_build_ste_arr()
686 if (dest_tbl->tbl->level <= matcher->tbl->level) { in mlx5dr_actions_build_ste_arr()
691 matcher->tbl->level, in mlx5dr_actions_build_ste_arr()
/Linux-v6.1/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-v6.1/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-v6.1/Documentation/security/keys/
Dcore.rst1541 to the default matcher function (which does an exact description match