Re: [dpdk-dev] [PATCH v10 05/19] eal: enable hotplug on multi-process

2018-07-11 Thread Burakov, Anatoly
On 11-Jul-18 3:11 AM, Zhang, Qi Z wrote: +/* Max length for a bus name */ +#define RTE_BUS_NAME_MAX_LEN 32 Is this enforced anywhere in the bus codebase? Can we guarantee that bus name will never be bigger than this? I think 32 should be enough for a bus name even in future. Sorry, I missed

Re: [dpdk-dev] [PATCH v10 05/19] eal: enable hotplug on multi-process

2018-07-10 Thread Zhang, Qi Z
enjamin H > ; Vangati, Narender > > Subject: Re: [dpdk-dev] [PATCH v10 05/19] eal: enable hotplug on > multi-process > > > > > -Original Message- > > From: Burakov, Anatoly > > Sent: Tuesday, July 10, 2018 10:01 PM > > To: Zhang, Qi

Re: [dpdk-dev] [PATCH v10 05/19] eal: enable hotplug on multi-process

2018-07-10 Thread Zhang, Qi Z
> -Original Message- > From: Burakov, Anatoly > Sent: Tuesday, July 10, 2018 10:01 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 v10 05/19] eal

Re: [dpdk-dev] [PATCH v10 05/19] eal: enable hotplug on multi-process

2018-07-10 Thread Burakov, Anatoly
On 09-Jul-18 4:36 AM, Qi Zhang wrote: We are going to introduce the solution to handle hotplug in multi-process, it includes the below scenario: 1. Attach a device from the primary 2. Detach a device from the primary 3. Attach a device from a secondary 4. Detach a device from a secondary In the

[dpdk-dev] [PATCH v10 05/19] eal: enable hotplug on multi-process

2018-07-08 Thread Qi Zhang
We are going to introduce the solution to handle hotplug in multi-process, it includes the below scenario: 1. Attach a device from the primary 2. Detach a device from the primary 3. Attach a device from a secondary 4. Detach a device from a secondary In the primary-secondary process model, we ass