Searched refs:bwc_rule (Results 1 – 5 of 5) sorted by relevance
282 struct mlx5hws_bwc_rule *bwc_rule; in mlx5hws_bwc_rule_alloc() local284 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() argument303 if (likely(bwc_rule->rule)) in mlx5hws_bwc_rule_free()[all …]
65 int mlx5hws_bwc_rule_create_complex(struct mlx5hws_bwc_rule *bwc_rule, in mlx5hws_bwc_rule_create_complex() argument71 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
45 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);
21 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);
913 int mlx5hws_bwc_rule_destroy(struct mlx5hws_bwc_rule *bwc_rule);923 int mlx5hws_bwc_rule_action_update(struct mlx5hws_bwc_rule *bwc_rule,