Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Dmlx5dr.h71 int mlx5dr_matcher_destroy(struct mlx5dr_matcher *matcher);
74 mlx5dr_rule_create(struct mlx5dr_matcher *matcher,
H A 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,
H A 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()
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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()
H A Dsmfs.h14 mlx5_smfs_matcher_destroy(struct mlx5dr_matcher *matcher);
29 mlx5_smfs_rule_create(struct mlx5dr_matcher *matcher, struct mlx5_flow_spec *spec,
/openbmc/openbmc-build-scripts/tools/
H A Downers136 matcher = CommitMatch(args, data)
141 for o in sorted(matcher.owners):
144 for r in sorted(matcher.reviewers):
162 for o in sorted(matcher.owners):
164 for r in sorted(matcher.reviewers):
/openbmc/openbmc/poky/scripts/lib/wic/
H A Dmisc.py192 def _parse_line(self, line, image, matcher=re.compile(r"^([a-zA-Z0-9\-_+./~]+)=(.*)")): argument
199 match = matcher.match(line)
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-pyhamcrest_2.1.0.bb1 SUMMARY = "Hamcrest framework for matcher objects"
/openbmc/docs/designs/inventory/
H A Dgpio-based-hardware-inventory.md143 PresenceDaemon ->> PresenceDaemon: create dbus matcher <br> in case our configuration is removed
178 - 'gpio-presence-sensor' creates a dbus matcher to watch for removal of it's
190 - EM detects that via dbus matcher
196 - 'gpio-presence-sensor' creates a dbus matcher to watch for removal of it's
203 - EM detects that via dbus matcher
261 entity-manager can have a dbus matcher for that, to then remove the respective
/openbmc/qemu/python/scripts/
H A Dmkvenv.py672 matcher = distlib.version.LegacyMatcher(name + constraint)
677 dist = distribution(matcher.name)
686 or not matcher.match(distlib.version.LegacyVersion(dist.version))
/openbmc/qemu/tests/migration/guestperf/
H A Dengine.py415 matcher = re.compile(regex)
418 match = matcher.match(line)
/openbmc/docs/designs/
H A Dcode-update.md87 BMCW ->> BMCW: Create Task<br> to handle matcher notifications
351 - Server doesn't have to maintain a Dbus matcher
/openbmc/linux/arch/powerpc/boot/dts/
H A Dxpedite5301.dts536 /* PME (pattern-matcher) */
H A Dxcalibur1501.dts626 /* PME (pattern-matcher) */
H A Dxpedite5370.dts534 /* PME (pattern-matcher) */
H A Dxpedite5330.dts572 /* PME (pattern-matcher) */
/openbmc/linux/Documentation/security/keys/
H A Dcore.rst1541 to the default matcher function (which does an exact description match
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Djquery-3.7.1.min.map1 …stChild","lastChild","pseudo","args","setFilters","idx","matched","not","matcher","compile","unmat…
H A Djquery-2.0.3.min.map1 …art","useCache","lastChild","pseudo","setFilters","idx","matched","not","matcher","unmatched","has…