[dpdk-dev] [PATCH] bus/vdev: add custom scan hook
Thomas Monjalon
thomas at monjalon.net
Tue Dec 5 09:41:07 CET 2017
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?
More information about the dev
mailing list