From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH v6 06/19] ethdev: support attach private device as first Date: Thu, 28 Jun 2018 13:34:50 +0100 Message-ID: <55aa02dd-ce7b-4879-83a3-b6c2d10ee4b3@intel.com> References: <20180607123849.14439-1-qi.z.zhang@intel.com> <20180628015247.42232-1-qi.z.zhang@intel.com> <20180628015247.42232-7-qi.z.zhang@intel.com> <262dfd01-f580-f313-25d1-467448b7fbc1@intel.com> <039ED4275CED7440929022BC67E7061153240F65@SHSMSX103.ccr.corp.intel.com> <039ED4275CED7440929022BC67E706115324109C@SHSMSX103.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "Ananyev, Konstantin" , "dev@dpdk.org" , "Richardson, Bruce" , "Yigit, Ferruh" , "Shelton, Benjamin H" , "Vangati, Narender" To: "Zhang, Qi Z" , "thomas@monjalon.net" Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 549A22AA0 for ; Thu, 28 Jun 2018 14:34:55 +0200 (CEST) In-Reply-To: <039ED4275CED7440929022BC67E706115324109C@SHSMSX103.ccr.corp.intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 ; thomas@monjalon.net >> Cc: Ananyev, Konstantin ; dev@dpdk.org; >> Richardson, Bruce ; Yigit, Ferruh >> ; Shelton, Benjamin H >> ; Vangati, Narender >> >> Subject: RE: [PATCH v6 06/19] ethdev: support attach private device as first >> >> >> >>> -----Original Message----- >>> From: Burakov, Anatoly >>> Sent: Thursday, June 28, 2018 5:41 PM >>> To: Zhang, Qi Z ; thomas@monjalon.net >>> Cc: Ananyev, Konstantin ; dev@dpdk.org; >>> Richardson, Bruce ; Yigit, Ferruh >>> ; Shelton, Benjamin H >>> ; Vangati, Narender >>> >>> Subject: Re: [PATCH v6 06/19] ethdev: support attach private device as >>> first >>> >>> 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 ; thomas@monjalon.net >>>>> Cc: Ananyev, Konstantin ; >>>>> dev@dpdk.org; Richardson, Bruce ; >>>>> Yigit, Ferruh ; Shelton, Benjamin H >>>>> ; Vangati, Narender >>>>> >>>>> Subject: Re: [PATCH v6 06/19] ethdev: support attach private device >>>>> as first >>>>> >>>>> 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 is broken before this patch? Can it be moved >>> earlier? >>>> >>>> Basically patch 4,5,6 depends on patch 3, they have no dependency >>>> each >>> other. >>> >>> So... is that a yes? :) >> >> Yes, 3 ,6,4, 5 is better, will re-order > > Apologies, actually patch 6 depends on patch 5, which build the secondary to primary request channel, so current sequence is necessary. OK, we can leave it as is then. -- Thanks, Anatoly