Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_matcher.c179 int mlx5dr_matcher_select_builders(struct mlx5dr_matcher *matcher, in mlx5dr_matcher_select_builders() argument
190 mlx5dr_dbg(matcher->tbl->dmn, in mlx5dr_matcher_select_builders()
198 static int dr_matcher_set_ste_builders(struct mlx5dr_matcher *matcher, in dr_matcher_set_ste_builders() argument
204 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_matcher_set_ste_builders()
215 if (matcher->match_criteria & DR_MATCHER_CRITERIA_OUTER) in dr_matcher_set_ste_builders()
216 mask.outer = matcher->mask.outer; in dr_matcher_set_ste_builders()
218 if (matcher->match_criteria & DR_MATCHER_CRITERIA_MISC) in dr_matcher_set_ste_builders()
219 mask.misc = matcher->mask.misc; in dr_matcher_set_ste_builders()
221 if (matcher->match_criteria & DR_MATCHER_CRITERIA_INNER) in dr_matcher_set_ste_builders()
222 mask.inner = matcher->mask.inner; in dr_matcher_set_ste_builders()
[all …]
Ddr_rule.c40 dr_rule_create_collision_htbl(struct mlx5dr_matcher *matcher, in dr_rule_create_collision_htbl() argument
44 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_create_collision_htbl()
67 dr_rule_create_collision_entry(struct mlx5dr_matcher *matcher, in dr_rule_create_collision_entry() argument
74 ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_create_collision_entry()
76 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()
166 dr_rule_rehash_handle_collision(struct mlx5dr_matcher *matcher, in dr_rule_rehash_handle_collision() argument
175 new_ste = dr_rule_create_collision_htbl(matcher, nic_matcher, hw_ste); in dr_rule_rehash_handle_collision()
[all …]
Dmlx5dr.h64 int mlx5dr_matcher_destroy(struct mlx5dr_matcher *matcher);
67 mlx5dr_rule_create(struct mlx5dr_matcher *matcher,
Ddr_types.h251 struct mlx5dr_matcher *matcher,
254 struct mlx5dr_matcher *matcher, in mlx5dr_ste_put() argument
259 mlx5dr_ste_free(ste, matcher, nic_matcher); in mlx5dr_ste_put()
276 int mlx5dr_ste_create_next_htbl(struct mlx5dr_matcher *matcher,
287 int mlx5dr_ste_build_ste_arr(struct mlx5dr_matcher *matcher,
356 int mlx5dr_actions_build_ste_arr(struct mlx5dr_matcher *matcher,
797 struct mlx5dr_matcher *matcher; member
856 int mlx5dr_matcher_select_builders(struct mlx5dr_matcher *matcher,
Dfs_dr.c142 struct mlx5dr_matcher *matcher; in mlx5_cmd_dr_create_flow_group() local
158 matcher = mlx5dr_matcher_create(ft->fs_dr_table.dr_table, in mlx5_cmd_dr_create_flow_group()
162 if (!matcher) { in mlx5_cmd_dr_create_flow_group()
167 fg->fs_dr_matcher.dr_matcher = matcher; in mlx5_cmd_dr_create_flow_group()
Ddr_ste.c465 struct mlx5dr_matcher *matcher, in mlx5dr_ste_free() argument
469 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_free()
594 int mlx5dr_ste_create_next_htbl(struct mlx5dr_matcher *matcher, in mlx5dr_ste_create_next_htbl() argument
602 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_create_next_htbl()
734 int mlx5dr_ste_build_ste_arr(struct mlx5dr_matcher *matcher, in mlx5dr_ste_build_ste_arr() argument
740 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_build_ste_arr()
744 ret = mlx5dr_ste_build_pre_check(dmn, matcher->match_criteria, in mlx5dr_ste_build_ste_arr()
745 &matcher->mask, value); in mlx5dr_ste_build_ste_arr()
Ddr_action.c635 int mlx5dr_actions_build_ste_arr(struct mlx5dr_matcher *matcher, in mlx5dr_actions_build_ste_arr() argument
644 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_actions_build_ste_arr()
679 if (action->dest_tbl.tbl->level <= matcher->tbl->level) { in mlx5dr_actions_build_ste_arr()
684 matcher->tbl->level, in mlx5dr_actions_build_ste_arr()
/Linux-v5.10/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.10/Documentation/security/keys/
Dcore.rst1541 to the default matcher function (which does an exact description match