[dpdk-dev] [PATCH] bus/vdev: add custom scan hook

Tan, Jianfeng jianfeng.tan at intel.com
Tue Dec 5 09:27:59 CET 2017



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.

Then why not just keep the vdev plug in that handler, by calling 
rte_dev_hotplug_add()?

Thanks,
Jianfeng



More information about the dev mailing list