Searched refs:matcher (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_matcher.c | 359 int mlx5dr_matcher_select_builders(struct mlx5dr_matcher *matcher, in mlx5dr_matcher_select_builders() argument 370 mlx5dr_dbg(matcher->tbl->dmn, in mlx5dr_matcher_select_builders() 378 static int dr_matcher_set_ste_builders(struct mlx5dr_matcher *matcher, in dr_matcher_set_ste_builders() argument 384 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_matcher_set_ste_builders() 397 if (matcher->match_criteria & DR_MATCHER_CRITERIA_OUTER) in dr_matcher_set_ste_builders() 398 mask.outer = matcher->mask.outer; in dr_matcher_set_ste_builders() 400 if (matcher->match_criteria & DR_MATCHER_CRITERIA_MISC) in dr_matcher_set_ste_builders() 401 mask.misc = matcher->mask.misc; in dr_matcher_set_ste_builders() 403 if (matcher->match_criteria & DR_MATCHER_CRITERIA_INNER) in dr_matcher_set_ste_builders() 404 mask.inner = matcher->mask.inner; in dr_matcher_set_ste_builders() [all …]
|
D | dr_rule.c | 41 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 …]
|
D | mlx5dr.h | 66 int mlx5dr_matcher_destroy(struct mlx5dr_matcher *matcher); 69 mlx5dr_rule_create(struct mlx5dr_matcher *matcher,
|
D | dr_types.h | 325 struct mlx5dr_matcher *matcher, 328 struct mlx5dr_matcher *matcher, in mlx5dr_ste_put() argument 333 mlx5dr_ste_free(ste, matcher, nic_matcher); in mlx5dr_ste_put() 348 int mlx5dr_ste_create_next_htbl(struct mlx5dr_matcher *matcher, 359 int mlx5dr_ste_build_ste_arr(struct mlx5dr_matcher *matcher, 485 int mlx5dr_actions_build_ste_arr(struct mlx5dr_matcher *matcher, 1006 struct mlx5dr_matcher *matcher; member 1062 int mlx5dr_matcher_select_builders(struct mlx5dr_matcher *matcher,
|
D | dr_ste.c | 291 struct mlx5dr_matcher *matcher, in mlx5dr_ste_free() argument 295 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_free() 418 int mlx5dr_ste_create_next_htbl(struct mlx5dr_matcher *matcher, in mlx5dr_ste_create_next_htbl() argument 425 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_create_next_htbl() 658 int mlx5dr_ste_build_ste_arr(struct mlx5dr_matcher *matcher, in mlx5dr_ste_build_ste_arr() argument 665 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in mlx5dr_ste_build_ste_arr() 670 ret = mlx5dr_ste_build_pre_check(dmn, matcher->match_criteria, in mlx5dr_ste_build_ste_arr() 671 &matcher->mask, value); in mlx5dr_ste_build_ste_arr()
|
D | fs_dr.c | 146 struct mlx5dr_matcher *matcher; in mlx5_cmd_dr_create_flow_group() local 162 matcher = mlx5dr_matcher_create(ft->fs_dr_table.dr_table, in mlx5_cmd_dr_create_flow_group() 166 if (!matcher) { in mlx5_cmd_dr_create_flow_group() 171 fg->fs_dr_matcher.dr_matcher = matcher; in mlx5_cmd_dr_create_flow_group()
|
D | dr_action.c | 546 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() 593 if (dest_tbl->tbl->level <= matcher->tbl->level) { in mlx5dr_actions_build_ste_arr() 598 matcher->tbl->level, in mlx5dr_actions_build_ste_arr()
|