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 9AA4A2C17 for ; Thu, 12 Apr 2018 17:26:11 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Apr 2018 08:26:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,442,1517904000"; d="scan'208";a="216094458" Received: from aburakov-mobl.ger.corp.intel.com (HELO [10.237.220.128]) ([10.237.220.128]) by orsmga005.jf.intel.com with ESMTP; 12 Apr 2018 08:26:09 -0700 To: Jianfeng Tan , dev@dpdk.org Cc: bruce.richardson@intel.com, konstantin.ananyev@intel.com, thomas@monjalon.net References: <1515643654-129489-5-git-send-email-jianfeng.tan@intel.com> <1521535809-47337-1-git-send-email-jianfeng.tan@intel.com> From: "Burakov, Anatoly" Message-ID: <70b92750-2c5c-761e-3fad-bde6611d1d16@intel.com> Date: Thu, 12 Apr 2018 16:26:08 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1521535809-47337-1-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 v6] vfio: change to use generic 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: Thu, 12 Apr 2018 15:26:12 -0000 On 20-Mar-18 8:50 AM, Jianfeng Tan wrote: > Previously, vfio uses its own private channel for the secondary > process to get container fd and group fd from the primary process. > > This patch changes to use the generic mp channel. > > Test: > 1. Bind two NICs to vfio-pci. > > 2. Start the primary and secondary process. > $ (symmetric_mp) -c 2 -- -p 3 --num-procs=2 --proc-id=0 > $ (symmetric_mp) -c 4 --proc-type=auto -- -p 3 \ > --num-procs=2 --proc-id=1 > > Cc: anatoly.burakov@intel.com > > Signed-off-by: Jianfeng Tan > --- > v5->v6: (Address comments from Anatoly) > - Naming, return checking, logging. > - Move vfio action register after rte_bus_probe(). Acked-by: Anatoly Burakov -- Thanks, Anatoly