Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dpost_act.c112 mlx5e_tc_post_act_add(struct mlx5e_post_act *post_act, struct mlx5_flow_attr *post_attr) in mlx5e_tc_post_act_add() argument
124 post_attr->chain = 0; in mlx5e_tc_post_act_add()
125 post_attr->prio = 0; in mlx5e_tc_post_act_add()
126 post_attr->ft = post_act->ft; in mlx5e_tc_post_act_add()
127 post_attr->inner_match_level = MLX5_MATCH_NONE; in mlx5e_tc_post_act_add()
128 post_attr->outer_match_level = MLX5_MATCH_NONE; in mlx5e_tc_post_act_add()
129 post_attr->action &= ~MLX5_FLOW_CONTEXT_ACTION_DECAP; in mlx5e_tc_post_act_add()
130 post_attr->flags |= MLX5_ATTR_FLAG_NO_IN_PORT; in mlx5e_tc_post_act_add()
135 post_attr->esw_attr->split_count = 0; in mlx5e_tc_post_act_add()
137 err = xa_alloc(&post_act->ids, &handle->id, post_attr, in mlx5e_tc_post_act_add()
[all …]
Dsample.c48 struct mlx5_flow_attr *post_attr; member
350 struct mlx5_flow_attr *post_attr; in add_post_rule() local
369 post_attr = mlx5_alloc_flow_attr(MLX5_FLOW_NAMESPACE_FDB); in add_post_rule()
370 if (!post_attr) { in add_post_rule()
374 sample_flow->post_attr = post_attr; in add_post_rule()
375 memcpy(post_attr, attr, attr_sz); in add_post_rule()
379 post_attr->chain = 0; in add_post_rule()
380 post_attr->prio = 0; in add_post_rule()
381 post_attr->ft = default_tbl; in add_post_rule()
382 post_attr->flags = MLX5_ATTR_FLAG_NO_IN_PORT; in add_post_rule()
[all …]
Dpost_act.h22 mlx5e_tc_post_act_add(struct mlx5e_post_act *post_act, struct mlx5_flow_attr *post_attr);