Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_matcher.c147 int mlx5dr_matcher_select_builders(struct mlx5dr_matcher *matcher, in mlx5dr_matcher_select_builders() argument
160 mlx5dr_dbg(matcher->tbl->dmn, in mlx5dr_matcher_select_builders()
168 static int dr_matcher_set_ste_builders(struct mlx5dr_matcher *matcher, in dr_matcher_set_ste_builders() argument
173 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_matcher_set_ste_builders()
193 if (matcher->match_criteria & DR_MATCHER_CRITERIA_OUTER) in dr_matcher_set_ste_builders()
194 mask.outer = matcher->mask.outer; in dr_matcher_set_ste_builders()
196 if (matcher->match_criteria & DR_MATCHER_CRITERIA_MISC) in dr_matcher_set_ste_builders()
197 mask.misc = matcher->mask.misc; in dr_matcher_set_ste_builders()
199 if (matcher->match_criteria & DR_MATCHER_CRITERIA_INNER) in dr_matcher_set_ste_builders()
200 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.h61 int mlx5dr_matcher_destroy(struct mlx5dr_matcher *matcher);
64 mlx5dr_rule_create(struct mlx5dr_matcher *matcher,
149 mlx5dr_matcher_destroy(struct mlx5dr_matcher *matcher) { return 0; } in mlx5dr_matcher_destroy() argument
152 mlx5dr_rule_create(struct mlx5dr_matcher *matcher, in mlx5dr_rule_create() argument
Ddr_types.h245 struct mlx5dr_matcher *matcher,
248 struct mlx5dr_matcher *matcher, in mlx5dr_ste_put() argument
252 mlx5dr_ste_free(ste, matcher, nic_matcher); in mlx5dr_ste_put()
264 int mlx5dr_ste_create_next_htbl(struct mlx5dr_matcher *matcher,
275 int mlx5dr_ste_build_ste_arr(struct mlx5dr_matcher *matcher,
341 int mlx5dr_actions_build_ste_arr(struct mlx5dr_matcher *matcher,
777 struct mlx5dr_matcher *matcher; member
813 int mlx5dr_matcher_select_builders(struct mlx5dr_matcher *matcher,
Dfs_dr.c137 struct mlx5dr_matcher *matcher; in mlx5_cmd_dr_create_flow_group() local
153 matcher = mlx5dr_matcher_create(ft->fs_dr_table.dr_table, in mlx5_cmd_dr_create_flow_group()
157 if (!matcher) { in mlx5_cmd_dr_create_flow_group()
162 fg->fs_dr_matcher.dr_matcher = matcher; in mlx5_cmd_dr_create_flow_group()
Ddr_ste.c450 struct mlx5dr_matcher *matcher, in mlx5dr_ste_free() argument
454 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_free()
598 int mlx5dr_ste_create_next_htbl(struct mlx5dr_matcher *matcher, in mlx5dr_ste_create_next_htbl() argument
606 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_create_next_htbl()
731 int mlx5dr_ste_build_ste_arr(struct mlx5dr_matcher *matcher, in mlx5dr_ste_build_ste_arr() argument
737 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_build_ste_arr()
741 ret = mlx5dr_ste_build_pre_check(dmn, matcher->match_criteria, in mlx5dr_ste_build_ste_arr()
742 &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()
/Linux-v5.4/arch/powerpc/boot/dts/
Dxpedite5370.dts534 /* PME (pattern-matcher) */
Dxcalibur1501.dts626 /* PME (pattern-matcher) */
Dxpedite5301.dts536 /* PME (pattern-matcher) */
Dxpedite5330.dts572 /* PME (pattern-matcher) */
/Linux-v5.4/Documentation/security/keys/
Dcore.rst1480 to the default matcher function (which does an exact description match