From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 370AB325F for ; Wed, 7 Mar 2018 15:00:21 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2018 06:00:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,436,1515484800"; d="scan'208";a="22732942" Received: from aburakov-mobl.ger.corp.intel.com (HELO [10.252.5.25]) ([10.252.5.25]) by orsmga007.jf.intel.com with ESMTP; 07 Mar 2018 06:00:17 -0800 To: Jianfeng Tan , dev@dpdk.org Cc: bruce.richardson@intel.com, konstantin.ananyev@intel.com, thomas@monjalon.net, maxime.coquelin@redhat.com, ferruh.yigit@intel.com References: <1520177405-59091-1-git-send-email-jianfeng.tan@intel.com> <1520177405-59091-3-git-send-email-jianfeng.tan@intel.com> From: "Burakov, Anatoly" Message-ID: Date: Wed, 7 Mar 2018 14:00:15 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1520177405-59091-3-git-send-email-jianfeng.tan@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 2/4] bus/vdev: bus scan by multi-process channel X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2018 14:00:22 -0000 On 04-Mar-18 3:30 PM, Jianfeng Tan wrote: > To scan the vdevs in primary, we send request to primary process > to obtain the names for vdevs. > > Only the name is shared from the primary. In probe(), the device > driver is supposed to locate (or request more) the detail > information from the primary. > > Signed-off-by: Jianfeng Tan > --- General note - you probably want to syncrhonize access to the tailq. Multiple secondaries may initialize, a vdev hotplug event may be in process, etc. -- Thanks, Anatoly