[dpdk-dev] [PATCH 11/15] vfio: move global vfio_cfg to eal_vfio.c

2016-05-13 Thread Jan Viktorin
Self review: * missing #ifdef VFIO_PRESENT ... #endif in eal_vfio.c leads to fail when VFIO build is disabled Jan On Fri, 29 Apr 2016 15:44:12 +0200 Jan Viktorin wrote: > The vfio_cfg is a module-global variable and so together with this > variable, it is necessary to move functions: > > *

[dpdk-dev] [PATCH 11/15] vfio: move global vfio_cfg to eal_vfio.c

2016-05-10 Thread Jan Viktorin
On Tue, 10 May 2016 11:56:36 + "Burakov, Anatoly" wrote: > Hi Jan, > > > --- a/lib/librte_eal/linuxapp/eal/eal_vfio.c > > +++ b/lib/librte_eal/linuxapp/eal/eal_vfio.c > > @@ -39,10 +39,282 @@ > > #include > > #include > > #include > > +#include > > > > #include "eal_filesystem.h" >

[dpdk-dev] [PATCH 11/15] vfio: move global vfio_cfg to eal_vfio.c

2016-05-10 Thread Burakov, Anatoly
Hi Jan, > --- a/lib/librte_eal/linuxapp/eal/eal_vfio.c > +++ b/lib/librte_eal/linuxapp/eal/eal_vfio.c > @@ -39,10 +39,282 @@ > #include > #include > #include > +#include > > #include "eal_filesystem.h" > #include "eal_vfio.h" I believe the eal_private.h should be local include (in quote

[dpdk-dev] [PATCH 11/15] vfio: move global vfio_cfg to eal_vfio.c

2016-04-29 Thread Jan Viktorin
The vfio_cfg is a module-global variable and so together with this variable, it is necessary to move functions: * pci_vfio_get_group_fd - renamed to vfio_get_group_fd - pci_* version removed (no other call in EAL) * pci_vfio_setup_device - renamed as vfio_setup_device * pci_vfio_enable -