Re: [dpdk-dev] [PATCH v8 00/25] Move PCI away from the EAL

2017-10-29 Thread Gaƫtan Rivet
Hi Andrew, You're right, sorry for the instability. A fix has been proposed[1]. It needs to be discussed. My opinion was that VFIO_PRESENT should stay internal to the EAL. There should be no need to another library to depend on it. I will discuss this in the other thread. Regards, [1]: http://d

Re: [dpdk-dev] [PATCH v8 00/25] Move PCI away from the EAL

2017-10-29 Thread Andrew Rybchenko
As I understand as the result of these changes VFIO_PRESENT is always undefined when bus/pci sources are build (because eal_vfio.h is not included). So, many things do not work if vfio-pci is used. In my case rte_pci_map_device() fails with -1. Andrew.

Re: [dpdk-dev] [PATCH v8 00/25] Move PCI away from the EAL

2017-10-26 Thread Thomas Monjalon
26/10/2017 12:05, Gaetan Rivet: > Here is a new version of the PCI bus move out of the EAL. > > The EAL PCI implementation is divided in two parts: > > - librte_pci: library offering helpers to handle PCI objects > - librte_bus_pci: bus driver for PCI devices Applied with few fixes, thanks f

[dpdk-dev] [PATCH v8 00/25] Move PCI away from the EAL

2017-10-26 Thread Gaetan Rivet
Hi all, Here is a new version of the PCI bus move out of the EAL. The EAL PCI implementation is divided in two parts: - librte_pci: library offering helpers to handle PCI objects - librte_bus_pci: bus driver for PCI devices This allows other libraries / tools to use PCI elements (location,