Re: [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 12:45 PM, Zhang, Qi Z wrote: -Original Message- From: Zhang, Qi Z Sent: Thursday, June 28, 2018 7:27 PM To: Burakov, Anatoly ; tho...@monjalon.net Cc: Ananyev, Konstantin ; dev@dpdk.org; Richardson, Bruce ; Yigit, Ferruh ; Shelton, Benjamin H ; Vangati, Narender Subject:

Re: [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-28 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Qi Z > Sent: Thursday, June 28, 2018 7:27 PM > To: Burakov, Anatoly ; tho...@monjalon.net > Cc: Ananyev, Konstantin ; dev@dpdk.org; > Richardson, Bruce ; Yigit, Ferruh > ; Shelton, Benjamin H > ; Vangati, Narender > > Subject: RE: [PATCH v6 06/19] ethd

Re: [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-28 Thread Zhang, Qi Z
> -Original Message- > From: Burakov, Anatoly > Sent: Thursday, June 28, 2018 5:41 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 v6 06/19] ethd

Re: [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 10:29 AM, Zhang, Qi Z wrote: -Original Message- From: Burakov, Anatoly Sent: Thursday, June 28, 2018 5:25 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: [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-28 Thread Zhang, Qi Z
> -Original Message- > From: Burakov, Anatoly > Sent: Thursday, June 28, 2018 5:25 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 v6 06/19] ethd

Re: [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 2:52 AM, Qi Zhang wrote: When attach a private device from secondary as the first one, we need to make sure rte_eth_dev_shared_data is initialized, the patch add necessary IPC for secondary to inform primary to do initialization. Signed-off-by: Qi Zhang --- Does this mean hotplug

[dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-27 Thread Qi Zhang
When attach a private device from secondary as the first one, we need to make sure rte_eth_dev_shared_data is initialized, the patch add necessary IPC for secondary to inform primary to do initialization. Signed-off-by: Qi Zhang --- lib/librte_ethdev/ethdev_mp.c | 2 ++ lib/librte_ethdev/e

[dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-27 Thread Qi Zhang
When attach a private device from secondary as the first one, we need to make sure rte_eth_dev_shared_data is initialized, the patch add necessary IPC for secondary to inform primary to do initialization. Signed-off-by: Qi Zhang --- lib/librte_ethdev/ethdev_mp.c | 2 ++ lib/librte_ethdev/e