From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id CC3CE19F5 for ; Mon, 12 Mar 2018 04:22:14 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Mar 2018 20:22:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,459,1515484800"; d="scan'208";a="41116701" Received: from tanjianf-mobl.ccr.corp.intel.com (HELO [10.255.27.216]) ([10.255.27.216]) by orsmga002.jf.intel.com with ESMTP; 11 Mar 2018 20:22:10 -0700 To: "Burakov, Anatoly" , dev@dpdk.org References: <1520177405-59091-1-git-send-email-jianfeng.tan@intel.com> <1520177405-59091-3-git-send-email-jianfeng.tan@intel.com> Cc: bruce.richardson@intel.com, konstantin.ananyev@intel.com, thomas@monjalon.net, maxime.coquelin@redhat.com, ferruh.yigit@intel.com From: "Tan, Jianfeng" Message-ID: Date: Mon, 12 Mar 2018 11:22:09 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed 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: Mon, 12 Mar 2018 03:22:15 -0000 On 3/7/2018 10:00 PM, Burakov, Anatoly wrote: > 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. > Make sense, will change it in next version. Thanks, Jianfeng