]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/linux/mlx5_flow_os.h
net/mlx5: add C++ include guard to public header
[dpdk.git] / drivers / net / mlx5 / linux / mlx5_flow_os.h
index cee685015b42f908fd238ffd41fd581568d17755..1926d26410d07776dbb28de5d9e58a1e91509f38 100644 (file)
@@ -225,7 +225,8 @@ mlx5_flow_os_create_flow_action_modify_header(void *ctx, void *domain,
                        (struct mlx5_flow_dv_modify_hdr_resource *)resource;
 
        *action = mlx5_glue->dv_create_flow_action_modify_header
-                                       (ctx, res->ft_type, domain, res->flags,
+                                       (ctx, res->ft_type, domain, res->root ?
+                                        MLX5DV_DR_ACTION_FLAGS_ROOT_LEVEL : 0,
                                         actions_len, (uint64_t *)res->actions);
        return (*action) ? 0 : -1;
 }