[dpdk-dev] [PATCH v2] vfio: add hotplug support
Alejandro Lucero
alejandro.lucero at netronome.com
Wed Mar 29 11:32:07 CEST 2017
On Wed, Mar 29, 2017 at 9:57 AM, Burakov, Anatoly <anatoly.burakov at intel.com
> wrote:
> Hi Alejandro,
>
> > From: Alejandro Lucero [mailto:alejandro.lucero at netronome.com]
> > Sent: Monday, March 27, 2017 11:56 AM
> > To: Burakov, Anatoly <anatoly.burakov at intel.com>
> > Cc: dev at dpdk.org
> > Subject: [PATCH v2] vfio: add hotplug support
> >
> > Current device hotplug is just supported by UIO managed devices.
> > This patch adds same functionality with VFIO.
> >
> > It has been validated through tests using IOMMU and also with VFIO and
> no-
> > iommu mode.
> >
> > Signed-off-by: Alejandro Lucero <alejandro.lucero at netronome.com>
> > ---
> > app/Makefile | 1 +
> > doc/guides/prog_guide/port_hotplug_framework.rst | 2 +-
> > doc/guides/rel_notes/release_17_05.rst | 4 +
> > lib/librte_eal/common/eal_common_pci.c | 2 +-
> > lib/librte_eal/linuxapp/eal/eal_pci.c | 5 +-
> > lib/librte_eal/linuxapp/eal/eal_pci_init.h | 3 +-
> > lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 85 +++++++++-
> > lib/librte_eal/linuxapp/eal/eal_vfio.c | 197
> ++++++++++++++++++-----
> > lib/librte_eal/linuxapp/eal/eal_vfio.h | 10 +-
> > lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c | 23 ++-
> > lib/librte_ether/rte_ethdev.c | 2 +-
> > 11 files changed, 276 insertions(+), 58 deletions(-)
> >
> > diff --git a/app/Makefile b/app/Makefile index 4b3a448..fe3fed1 100644
> > --- a/app/Makefile
> > +++ b/app/Makefile
> > @@ -35,5 +35,6 @@ DIRS-$(CONFIG_RTE_TEST_PMD) += test-pmd
> > DIRS-$(CONFIG_RTE_APP_CRYPTO_PERF) += test-crypto-perf
> > DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += proc_info
> > DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += pdump
> > +DIRS-y += multivf
>
> I think an unrelated change has snuck into the patch?
>
Oops.
I would fix this asap and send another patch version.
Thanks
More information about the dev
mailing list