Displaying 1 result from an estimated 1 matches for "ft_attr".
Did you mean:
fn_attr
2020 Jul 16
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...+static void destroy_tir(struct mlx5_vdpa_net *ndev)
> +{
> + mlx5_vdpa_destroy_tir(&ndev->mvdev, ndev->res.tirn);
> +}
> +
> +static int add_fwd_to_tir(struct mlx5_vdpa_net *ndev)
> +{
> + struct mlx5_flow_destination dest[2] = {};
> + struct mlx5_flow_table_attr ft_attr = {};
> + struct mlx5_flow_act flow_act = {};
> + struct mlx5_flow_namespace *ns;
> + int err;
> +
> + /* for now, one entry, match all, forward to tir */
> + ft_attr.max_fte = 1;
> + ft_attr.autogroup.max_num_groups = 1;
> +
> + ns = mlx5_get_flow_namespace(ndev->mvde...