Home
last modified time | relevance | path

Searched refs:src_matcher (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmatcher.c1207 static int hws_matcher_resize_precheck(struct mlx5hws_matcher *src_matcher, in hws_matcher_resize_precheck() argument
1210 struct mlx5hws_context *ctx = src_matcher->tbl->ctx; in hws_matcher_resize_precheck()
1213 if (src_matcher->tbl->type != dst_matcher->tbl->type) { in hws_matcher_resize_precheck()
1218 if (!mlx5hws_matcher_is_resizable(src_matcher) || in hws_matcher_resize_precheck()
1224 if (mlx5hws_matcher_is_insert_by_idx(src_matcher) != in hws_matcher_resize_precheck()
1230 if (mlx5hws_matcher_is_in_resize(src_matcher) || in hws_matcher_resize_precheck()
1237 if (src_matcher->num_of_mt != dst_matcher->num_of_mt) { in hws_matcher_resize_precheck()
1242 if (src_matcher->num_of_action_stes > dst_matcher->num_of_action_stes) { in hws_matcher_resize_precheck()
1247 for (i = 0; i < src_matcher->num_of_mt; i++) { in hws_matcher_resize_precheck()
1248 if (mlx5hws_definer_compare(src_matcher->mt[i].definer, in hws_matcher_resize_precheck()
[all …]
H A Dmlx5hws.h440 int mlx5hws_matcher_resize_set_target(struct mlx5hws_matcher *src_matcher,
455 int mlx5hws_matcher_resize_rule_move(struct mlx5hws_matcher *src_matcher,