Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_rule.c578 struct mlx5dr_rule_action_member *action_mem; in dr_rule_remove_action_members() local
581 list_for_each_entry_safe(action_mem, tmp, &rule->rule_actions_list, list) { in dr_rule_remove_action_members()
582 list_del(&action_mem->list); in dr_rule_remove_action_members()
583 refcount_dec(&action_mem->action->refcount); in dr_rule_remove_action_members()
584 kvfree(action_mem); in dr_rule_remove_action_members()
592 struct mlx5dr_rule_action_member *action_mem; in dr_rule_add_action_members() local
596 action_mem = kvzalloc(sizeof(*action_mem), GFP_KERNEL); in dr_rule_add_action_members()
597 if (!action_mem) in dr_rule_add_action_members()
600 action_mem->action = actions[i]; in dr_rule_add_action_members()
601 INIT_LIST_HEAD(&action_mem->list); in dr_rule_add_action_members()
[all …]
H A Ddr_dbg.c209 struct mlx5dr_rule_action_member *action_mem) in dr_dump_rule_action_mem() argument
211 struct mlx5dr_action *action = action_mem->action; in dr_dump_rule_action_mem()
547 struct mlx5dr_rule_action_member *action_mem; in dr_dump_rule() local
579 list_for_each_entry(action_mem, &rule->rule_actions_list, list) { in dr_dump_rule()
580 ret = dr_dump_rule_action_mem(file, buff, rule_id, action_mem); in dr_dump_rule()