[dpdk-dev] [PATCH] eal: fslmc bus need vfio enabled for non PCI case as well
Thomas Monjalon
thomas at monjalon.net
Fri Oct 6 01:41:01 CEST 2017
13/07/2017 13:48, Hemant Agrawal:
> In case no_pci is configured, fslmc bus will still need the
> the vfio to be enabled.
>
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> ---
> --- a/lib/librte_eal/linuxapp/eal/eal.c
> +++ b/lib/librte_eal/linuxapp/eal/eal.c
> +#ifdef RTE_LIBRTE_FSLMC_BUS
> + if (!vfio_enabled) {
> + if (!vfio_enable("vfio_fsl_mc"))
> + vfio_enabled = 1;
> + }
> +#endif
It seems to be a hack.
VFIO is not only PCI.
Why --no-pci is impacting VFIO?
Anatoly?
More information about the dev
mailing list