Home
last modified time | relevance | path

Searched refs:bwc_matcher (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_bwc.c66 int mlx5hws_bwc_matcher_create_simple(struct mlx5hws_bwc_matcher *bwc_matcher, in mlx5hws_bwc_matcher_create_simple() argument
79 bwc_matcher->rules = kcalloc(bwc_queues, sizeof(*bwc_matcher->rules), GFP_KERNEL); in mlx5hws_bwc_matcher_create_simple()
80 if (!bwc_matcher->rules) in mlx5hws_bwc_matcher_create_simple()
84 INIT_LIST_HEAD(&bwc_matcher->rules[i]); in mlx5hws_bwc_matcher_create_simple()
90 bwc_matcher->priority = priority; in mlx5hws_bwc_matcher_create_simple()
91 bwc_matcher->size_log = MLX5HWS_BWC_MATCHER_INIT_SIZE_LOG; in mlx5hws_bwc_matcher_create_simple()
94 bwc_matcher->at[0] = in mlx5hws_bwc_matcher_create_simple()
97 if (!bwc_matcher->at[0]) { in mlx5hws_bwc_matcher_create_simple()
102 bwc_matcher->num_of_at = 1; in mlx5hws_bwc_matcher_create_simple()
104 bwc_matcher->mt = mlx5hws_match_template_create(ctx, in mlx5hws_bwc_matcher_create_simple()
[all …]
H A Dmlx5hws_bwc_complex.c49 int mlx5hws_bwc_matcher_create_complex(struct mlx5hws_bwc_matcher *bwc_matcher, in mlx5hws_bwc_matcher_create_complex() argument
60 mlx5hws_bwc_matcher_destroy_complex(struct mlx5hws_bwc_matcher *bwc_matcher) in mlx5hws_bwc_matcher_destroy_complex() argument
71 mlx5hws_err(bwc_rule->bwc_matcher->matcher->tbl->ctx, in mlx5hws_bwc_rule_create_complex()
81 int mlx5hws_bwc_matcher_move_all_complex(struct mlx5hws_bwc_matcher *bwc_matcher) in mlx5hws_bwc_matcher_move_all_complex() argument
83 mlx5hws_err(bwc_matcher->matcher->tbl->ctx, in mlx5hws_bwc_matcher_move_all_complex()
H A Dmlx5hws_bwc.h27 struct mlx5hws_bwc_matcher *bwc_matcher; member
34 mlx5hws_bwc_matcher_create_simple(struct mlx5hws_bwc_matcher *bwc_matcher,
41 int mlx5hws_bwc_matcher_destroy_simple(struct mlx5hws_bwc_matcher *bwc_matcher);
43 struct mlx5hws_bwc_rule *mlx5hws_bwc_rule_alloc(struct mlx5hws_bwc_matcher *bwc_matcher);
55 void mlx5hws_bwc_rule_fill_attr(struct mlx5hws_bwc_matcher *bwc_matcher,
H A Dmlx5hws_bwc_complex.h11 int mlx5hws_bwc_matcher_create_complex(struct mlx5hws_bwc_matcher *bwc_matcher,
17 void mlx5hws_bwc_matcher_destroy_complex(struct mlx5hws_bwc_matcher *bwc_matcher);
19 int mlx5hws_bwc_matcher_move_all_complex(struct mlx5hws_bwc_matcher *bwc_matcher);
H A Dmlx5hws.h872 int mlx5hws_bwc_matcher_destroy(struct mlx5hws_bwc_matcher *bwc_matcher);
901 mlx5hws_bwc_rule_create(struct mlx5hws_bwc_matcher *bwc_matcher,