Home
last modified time | relevance | path

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

/openbmc/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
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()
602 list_add_tail(&action_mem->list, &rule->rule_actions_list); in dr_rule_add_action_members()
[all …]
H A Ddr_dbg.c108 struct mlx5dr_rule_action_member *action_mem) in dr_dump_rule_action_mem() argument
110 struct mlx5dr_action *action = action_mem->action; in dr_dump_rule_action_mem()
310 struct mlx5dr_rule_action_member *action_mem; in dr_dump_rule() local
334 list_for_each_entry(action_mem, &rule->rule_actions_list, list) { in dr_dump_rule()
335 ret = dr_dump_rule_action_mem(file, rule_id, action_mem); in dr_dump_rule()