05/12/2017 09:27, Tan, Jianfeng: > > On 12/4/2017 5:31 PM, Thomas Monjalon wrote: > > > > The hook is in bus->scan(). > > I think we should launch a bus scan when there is a new device event. > > That's what I'm trying to say. We finally need to execute a handler as > of a device event to finish the job.
Please be more specific, I am not sure to understand. > Then why not just keep the vdev plug in that handler, by calling > rte_dev_hotplug_add()? Which handler?