Home
last modified time | relevance | path

Searched refs:ptrn (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_dbg.c145 struct mlx5dr_ptrn_obj *ptrn = action->rewrite->ptrn; in dr_dump_rule_action_mem() local
151 ptrn_arg = !action->rewrite->single_action_opt && ptrn && arg; in dr_dump_rule_action_mem()
158 ptrn_arg ? ptrn->index : 0, in dr_dump_rule_action_mem()
185 (action->rewrite->ptrn && action->rewrite->arg) ? in dr_dump_rule_action_mem()
Ddr_action.c823 if (action->rewrite->ptrn && action->rewrite->arg) { in mlx5dr_actions_build_ste_arr()
825 attr.decap_actions = action->rewrite->ptrn->num_of_actions; in mlx5dr_actions_build_ste_arr()
826 attr.decap_pat_idx = action->rewrite->ptrn->index; in mlx5dr_actions_build_ste_arr()
840 if (action->rewrite->ptrn && action->rewrite->arg) { in mlx5dr_actions_build_ste_arr()
843 attr.modify_actions = action->rewrite->ptrn->num_of_actions; in mlx5dr_actions_build_ste_arr()
844 attr.modify_pat_idx = action->rewrite->ptrn->index; in mlx5dr_actions_build_ste_arr()
Ddr_ste_v1.c2249 action->rewrite->ptrn = in dr_ste_v1_alloc_modify_hdr_ptrn_arg()
2253 if (!action->rewrite->ptrn) { in dr_ste_v1_alloc_modify_hdr_ptrn_arg()
2270 action->rewrite->ptrn); in dr_ste_v1_free_modify_hdr_ptrn_arg()
Ddr_types.h1046 struct mlx5dr_ptrn_obj *ptrn; member