[dpdk-dev] [PATCH v3 09/12] virtio: vfio: Enable RTE_PCI_DRV_NEED_MAPPING flag in driver
Stephen Hemminger
stephen at networkplumber.org
Thu Jan 7 19:20:58 CET 2016
On Thu, 7 Jan 2016 22:03:06 +0530
Santosh Shukla <sshukla at mvista.com> wrote:
> +#ifdef RTE_EAL_VFIO
> + .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_DETACHABLE,
> +#else
> .drv_flags = RTE_PCI_DRV_DETACHABLE,
> +#endif
Since VFIO is determined at runtime not compile time, the flags should
be updated at runtime not compile time.
More information about the dev
mailing list