From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH v2] devargs: announce ABI change for device parameters Date: Wed, 10 May 2017 21:54:38 +0200 Message-ID: <9584d5a8-3a45-b1bb-7eae-e7a74c6f2e4b@redhat.com> References: <4b1edeb12ff61bdb04a0189be30395589c713dbb.1494420483.git.gaetan.rivet@6wind.com> <1bb0b4a6403e42157ef983f0ee63320ce87a3996.1494430911.git.gaetan.rivet@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Gaetan Rivet , dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 47B70282 for ; Wed, 10 May 2017 21:54:42 +0200 (CEST) In-Reply-To: <1bb0b4a6403e42157ef983f0ee63320ce87a3996.1494430911.git.gaetan.rivet@6wind.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 05/10/2017 05:46 PM, Gaetan Rivet wrote: > The PCI and virtual bus are planned to be moved to the generic > drivers/bus directory in v17.08. For this change to be possible, the EAL > must be made completely independent. > > The rte_devargs structure currently holds device representation internal > to those two busses. It must be made generic before this work can be > completed. > > Instead of using either a driver name for a vdev or a PCI address for a > PCI device, a devargs structure will have to be able to describe any > possible device on all busses, without introducing dependencies on > any bus-specific device representation. This will break the ABI for this > structure. > > Additionally, an evolution will occur regarding the device parsing > from the command-line. A user must be able to set which bus will handle > which device, and this setting is integral to the definition of a > device. > > The format has not yet been formally defined, but a proposition will > follow soon for a new command line parameter format for all devices. > > Signed-off-by: Gaetan Rivet I understand the change is necessary, so: Acked-by: Maxime Coquelin Looking forward for the proposal, I guess you already have some ideas that you could share? Thanks, Maxime