Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dbwc.c76 struct mlx5hws_bwc_rule *bwc_rule; in hws_bwc_matcher_move_all_simple() local
93 list_for_each_entry(bwc_rule, rules_list, list_node) { in hws_bwc_matcher_move_all_simple()
95 bwc_rule->rule, in hws_bwc_matcher_move_all_simple()
482 struct mlx5hws_bwc_rule *bwc_rule; in mlx5hws_bwc_rule_alloc() local
484 bwc_rule = kzalloc_obj(*bwc_rule); in mlx5hws_bwc_rule_alloc()
485 if (unlikely(!bwc_rule)) in mlx5hws_bwc_rule_alloc()
488 bwc_rule->rule = kzalloc_obj(*bwc_rule->rule); in mlx5hws_bwc_rule_alloc()
489 if (unlikely(!bwc_rule->rule)) in mlx5hws_bwc_rule_alloc()
492 bwc_rule->bwc_matcher = bwc_matcher; in mlx5hws_bwc_rule_alloc()
493 return bwc_rule; in mlx5hws_bwc_rule_alloc()
[all …]
H A Dmlx5hws.h928 int mlx5hws_bwc_rule_destroy(struct mlx5hws_bwc_rule *bwc_rule);
938 int mlx5hws_bwc_rule_action_update(struct mlx5hws_bwc_rule *bwc_rule,
H A Dfs_hws.c1096 fte->fs_hws_rule.bwc_rule = rule; in mlx5_cmd_hws_create_fte()
1117 err = mlx5hws_bwc_rule_destroy(rule->bwc_rule); in mlx5_cmd_hws_delete_fte()
1118 rule->bwc_rule = NULL; in mlx5_cmd_hws_delete_fte()
1154 ret = mlx5hws_bwc_rule_action_update(fte->fs_hws_rule.bwc_rule, ractions); in mlx5_cmd_hws_update_fte()