Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_bwc.c282 struct mlx5hws_bwc_rule *bwc_rule; in mlx5hws_bwc_rule_alloc() local
284 bwc_rule = kzalloc(sizeof(*bwc_rule), GFP_KERNEL); in mlx5hws_bwc_rule_alloc()
285 if (unlikely(!bwc_rule)) in mlx5hws_bwc_rule_alloc()
288 bwc_rule->rule = kzalloc(sizeof(*bwc_rule->rule), GFP_KERNEL); in mlx5hws_bwc_rule_alloc()
289 if (unlikely(!bwc_rule->rule)) in mlx5hws_bwc_rule_alloc()
292 bwc_rule->bwc_matcher = bwc_matcher; in mlx5hws_bwc_rule_alloc()
293 return bwc_rule; in mlx5hws_bwc_rule_alloc()
296 kfree(bwc_rule); in mlx5hws_bwc_rule_alloc()
301 void mlx5hws_bwc_rule_free(struct mlx5hws_bwc_rule *bwc_rule) in mlx5hws_bwc_rule_free() argument
303 if (likely(bwc_rule->rule)) in mlx5hws_bwc_rule_free()
[all …]
Dmlx5hws_bwc_complex.c65 int mlx5hws_bwc_rule_create_complex(struct mlx5hws_bwc_rule *bwc_rule, in mlx5hws_bwc_rule_create_complex() argument
71 mlx5hws_err(bwc_rule->bwc_matcher->matcher->tbl->ctx, in mlx5hws_bwc_rule_create_complex()
76 int mlx5hws_bwc_rule_destroy_complex(struct mlx5hws_bwc_rule *bwc_rule) in mlx5hws_bwc_rule_destroy_complex() argument
Dmlx5hws_bwc.h45 void mlx5hws_bwc_rule_free(struct mlx5hws_bwc_rule *bwc_rule);
47 int mlx5hws_bwc_rule_create_simple(struct mlx5hws_bwc_rule *bwc_rule,
53 int mlx5hws_bwc_rule_destroy_simple(struct mlx5hws_bwc_rule *bwc_rule);
Dmlx5hws_bwc_complex.h21 int mlx5hws_bwc_rule_create_complex(struct mlx5hws_bwc_rule *bwc_rule,
27 int mlx5hws_bwc_rule_destroy_complex(struct mlx5hws_bwc_rule *bwc_rule);
Dmlx5hws.h913 int mlx5hws_bwc_rule_destroy(struct mlx5hws_bwc_rule *bwc_rule);
923 int mlx5hws_bwc_rule_action_update(struct mlx5hws_bwc_rule *bwc_rule,