Hi Jan,

> -----Original Message-----
> From: jblu...@gmail.com [mailto:jblu...@gmail.com] On Behalf Of Jan
> Blunck
> Sent: Thursday, October 5, 2017 9:05 PM
> To: Tan, Jianfeng
> Cc: dev; Richardson, Bruce; Ananyev, Konstantin; De Lara Guarch, Pablo;
> Thomas Monjalon; y...@fridaylinux.org; Maxime Coquelin; Tetsuya Mukawa;
> Yigit, Ferruh
> Subject: Re: [dpdk-dev] [PATCH v2 08/12] bus/vdev: scan and probe vdev in
> secondary processes
> 
> On Thu, Sep 28, 2017 at 3:55 PM, Jianfeng Tan <jianfeng....@intel.com>
> wrote:
> > Base on primary/secondary communication channel, we add vdev action
> > to scan virtual devices in secondary processes.
> >
> 
> This doesn't need to be in vdev. You application could just hotplug
> the drivers with exactly the same parameters as the primary process.
> The driver need to be aware of the primary/secondary process split
> though.
> 

This patch can make sure the virtual devices can be discovered and attached 
automatically by the secondary process. Of course, we can also add parameter to 
indicate if a vdev expects to be discovered and initialized automatically.
How do you think?

Thanks,
Jianfeng

Reply via email to