Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_matcher.c371 int mlx5dr_matcher_select_builders(struct mlx5dr_matcher *matcher, in mlx5dr_matcher_select_builders() argument
382 mlx5dr_dbg(matcher->tbl->dmn, in mlx5dr_matcher_select_builders()
390 static int dr_matcher_set_ste_builders(struct mlx5dr_matcher *matcher, in dr_matcher_set_ste_builders() argument
396 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_matcher_set_ste_builders()
409 if (matcher->match_criteria & DR_MATCHER_CRITERIA_OUTER) in dr_matcher_set_ste_builders()
410 mask.outer = matcher->mask.outer; in dr_matcher_set_ste_builders()
412 if (matcher->match_criteria & DR_MATCHER_CRITERIA_MISC) in dr_matcher_set_ste_builders()
413 mask.misc = matcher->mask.misc; in dr_matcher_set_ste_builders()
415 if (matcher->match_criteria & DR_MATCHER_CRITERIA_INNER) in dr_matcher_set_ste_builders()
416 mask.inner = matcher->mask.inner; in dr_matcher_set_ste_builders()
[all …]
Ddr_rule.c41 dr_rule_create_collision_htbl(struct mlx5dr_matcher *matcher, in dr_rule_create_collision_htbl() argument
45 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_create_collision_htbl()
70 dr_rule_create_collision_entry(struct mlx5dr_matcher *matcher, in dr_rule_create_collision_entry() argument
77 ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_create_collision_entry()
79 mlx5dr_dbg(matcher->tbl->dmn, "Failed creating collision entry\n"); in dr_rule_create_collision_entry()
90 if (mlx5dr_ste_create_next_htbl(matcher, nic_matcher, ste, hw_ste, in dr_rule_create_collision_entry()
92 mlx5dr_dbg(matcher->tbl->dmn, "Failed allocating table\n"); in dr_rule_create_collision_entry()
99 mlx5dr_ste_free(ste, matcher, nic_matcher); in dr_rule_create_collision_entry()
175 dr_rule_rehash_handle_collision(struct mlx5dr_matcher *matcher, in dr_rule_rehash_handle_collision() argument
181 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_handle_collision()
[all …]
Dmlx5dr.h66 int mlx5dr_matcher_destroy(struct mlx5dr_matcher *matcher);
69 mlx5dr_rule_create(struct mlx5dr_matcher *matcher,
Ddr_types.h326 struct mlx5dr_matcher *matcher,
329 struct mlx5dr_matcher *matcher, in mlx5dr_ste_put() argument
334 mlx5dr_ste_free(ste, matcher, nic_matcher); in mlx5dr_ste_put()
349 int mlx5dr_ste_create_next_htbl(struct mlx5dr_matcher *matcher,
360 int mlx5dr_ste_build_ste_arr(struct mlx5dr_matcher *matcher,
486 int mlx5dr_actions_build_ste_arr(struct mlx5dr_matcher *matcher,
997 struct mlx5dr_matcher *matcher; member
1053 int mlx5dr_matcher_select_builders(struct mlx5dr_matcher *matcher,
Dfs_dr.c147 struct mlx5dr_matcher *matcher; in mlx5_cmd_dr_create_flow_group() local
163 matcher = mlx5dr_matcher_create(ft->fs_dr_table.dr_table, in mlx5_cmd_dr_create_flow_group()
167 if (!matcher) { in mlx5_cmd_dr_create_flow_group()
172 fg->fs_dr_matcher.dr_matcher = matcher; in mlx5_cmd_dr_create_flow_group()
Ddr_ste.c290 struct mlx5dr_matcher *matcher, in mlx5dr_ste_free() argument
294 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_free()
417 int mlx5dr_ste_create_next_htbl(struct mlx5dr_matcher *matcher, in mlx5dr_ste_create_next_htbl() argument
424 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_create_next_htbl()
627 int mlx5dr_ste_build_ste_arr(struct mlx5dr_matcher *matcher, in mlx5dr_ste_build_ste_arr() argument
634 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_build_ste_arr()
639 ret = mlx5dr_ste_build_pre_check(dmn, matcher->match_criteria, in mlx5dr_ste_build_ste_arr()
640 &matcher->mask, value); in mlx5dr_ste_build_ste_arr()
Ddr_action.c546 int mlx5dr_actions_build_ste_arr(struct mlx5dr_matcher *matcher, in mlx5dr_actions_build_ste_arr() argument
555 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_actions_build_ste_arr()
592 if (dest_tbl->tbl->level <= matcher->tbl->level) { in mlx5dr_actions_build_ste_arr()
597 matcher->tbl->level, in mlx5dr_actions_build_ste_arr()
/Linux-v5.15/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-v5.15/Documentation/security/keys/
Dcore.rst1541 to the default matcher function (which does an exact description match