Re: [dpdk-dev] [PATCH v4 01/24] eal: introduce one device scan

2018-06-27 Thread Zhang, Qi Z
t; ; Shelton, Benjamin H > ; Vangati, Narender > > Subject: Re: [dpdk-dev] [PATCH v4 01/24] eal: introduce one device scan > > On Tue, Jun 26, 2018 at 12:26:05PM +, Zhang, Qi Z wrote: > > > > > > > -Original Message- > > > From: Burakov, Anatoly &

Re: [dpdk-dev] [PATCH v4 01/24] eal: introduce one device scan

2018-06-26 Thread Gaƫtan Rivet
On Tue, Jun 26, 2018 at 12:26:05PM +, Zhang, Qi Z wrote: > > > > -Original Message- > > From: Burakov, Anatoly > > Sent: Tuesday, June 26, 2018 7:48 PM > > To: Zhang, Qi Z ; tho...@monjalon.net > > Cc: Ananyev, Konstantin ; dev@dpdk.org; > > Richardson, Bruce ; Yigit, Ferruh > > ; She

Re: [dpdk-dev] [PATCH v4 01/24] eal: introduce one device scan

2018-06-26 Thread Zhang, Qi Z
> -Original Message- > From: Burakov, Anatoly > Sent: Tuesday, June 26, 2018 7:48 PM > To: Zhang, Qi Z ; tho...@monjalon.net > Cc: Ananyev, Konstantin ; dev@dpdk.org; > Richardson, Bruce ; Yigit, Ferruh > ; Shelton, Benjamin H > ; Vangati, Narender > > Subject: Re: [PATCH v4 01/24] eal:

Re: [dpdk-dev] [PATCH v4 01/24] eal: introduce one device scan

2018-06-26 Thread Burakov, Anatoly
On 26-Jun-18 8:08 AM, Qi Zhang wrote: When hot plug a new device, it is not necessary to scan everything on the bus since the devname and devargs are already there. So new rte_bus ops "scan_one" is introduced, bus driver can implement this function to simplify the hotplug process. Signed-off-by:

Re: [dpdk-dev] [PATCH v4 01/24] eal: introduce one device scan

2018-06-26 Thread Remy Horton
On 26/06/2018 08:08, Qi Zhang wrote: [..] Signed-off-by: Qi Zhang --- lib/librte_eal/common/eal_common_dev.c | 17 + lib/librte_eal/common/include/rte_bus.h | 16 Acked-by: Remy Horton