Searched refs:bwc_rule (Results 1 – 7 of 7) sorted by relevance
295 bwc_rule = kzalloc(sizeof(*bwc_rule), GFP_KERNEL); in mlx5hws_bwc_rule_alloc()296 if (unlikely(!bwc_rule)) in mlx5hws_bwc_rule_alloc()299 bwc_rule->rule = kzalloc(sizeof(*bwc_rule->rule), GFP_KERNEL); in mlx5hws_bwc_rule_alloc()304 return bwc_rule; in mlx5hws_bwc_rule_alloc()307 kfree(bwc_rule); in mlx5hws_bwc_rule_alloc()314 if (likely(bwc_rule->rule)) in mlx5hws_bwc_rule_free()315 kfree(bwc_rule->rule); in mlx5hws_bwc_rule_free()316 kfree(bwc_rule); in mlx5hws_bwc_rule_free()415 bwc_rule->rule); in hws_bwc_rule_create_async()919 if (unlikely(!bwc_rule)) in mlx5hws_bwc_rule_create()[all …]
67 int mlx5hws_bwc_rule_create_complex(struct mlx5hws_bwc_rule *bwc_rule, in mlx5hws_bwc_rule_create_complex() argument73 mlx5hws_err(bwc_rule->bwc_matcher->matcher->tbl->ctx, in mlx5hws_bwc_rule_create_complex()78 int mlx5hws_bwc_rule_destroy_complex(struct mlx5hws_bwc_rule *bwc_rule) in mlx5hws_bwc_rule_destroy_complex() argument
53 void mlx5hws_bwc_rule_free(struct mlx5hws_bwc_rule *bwc_rule);55 int mlx5hws_bwc_rule_create_simple(struct mlx5hws_bwc_rule *bwc_rule,61 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);
60 struct mlx5hws_bwc_rule *bwc_rule; member
912 int mlx5hws_bwc_rule_destroy(struct mlx5hws_bwc_rule *bwc_rule);922 int mlx5hws_bwc_rule_action_update(struct mlx5hws_bwc_rule *bwc_rule,
1108 fte->fs_hws_rule.bwc_rule = rule; in mlx5_cmd_hws_create_fte()1129 err = mlx5hws_bwc_rule_destroy(rule->bwc_rule); in mlx5_cmd_hws_delete_fte()1130 rule->bwc_rule = NULL; in mlx5_cmd_hws_delete_fte()1166 ret = mlx5hws_bwc_rule_action_update(fte->fs_hws_rule.bwc_rule, ractions); in mlx5_cmd_hws_update_fte()