Searched refs:post_attr (Results 1 – 2 of 2) sorted by relevance
113 struct mlx5_flow_attr *post_attr; in mlx5e_tc_post_act_add() local117 post_attr = mlx5_alloc_flow_attr(post_act->ns_type); in mlx5e_tc_post_act_add()118 if (!handle || !post_attr) { in mlx5e_tc_post_act_add()119 kfree(post_attr); in mlx5e_tc_post_act_add()124 memcpy(post_attr, attr, attr_sz); in mlx5e_tc_post_act_add()125 post_attr->chain = 0; in mlx5e_tc_post_act_add()126 post_attr->prio = 0; in mlx5e_tc_post_act_add()127 post_attr->ft = post_act->ft; in mlx5e_tc_post_act_add()128 post_attr->inner_match_level = MLX5_MATCH_NONE; in mlx5e_tc_post_act_add()129 post_attr->outer_match_level = MLX5_MATCH_NONE; in mlx5e_tc_post_act_add()[all …]
48 struct mlx5_flow_attr *post_attr; member350 struct mlx5_flow_attr *post_attr; in add_post_rule() local369 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 …]