On Wed, 27 Nov 2013 11:39:28 +0530 Prashant Upadhyaya <prashant.upadhyaya at aricent.com> wrote:
> Hi Stephen, > > The rte_eal_pci_probe is typically called at the startup. > > Now let's say a DPDK application is running with a PCI device (doing tx and > rx) and I remove that PCI device underneath (hot plugout) > So how does the application now know that the device is gone ? > > Is it that rte_eal_pci_probe should be called periodically from, let's say, > the slow control path of the DPDK application ? > > Regards > -Prashant > Like I said current code doesn't do hotplug. If you wanted to add it, you would have to refactor the PCI management layer.