From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH v2] devargs: announce ABI change for device parameters Date: Wed, 10 May 2017 22:58:55 +0530 Message-ID: <20170510172854.GA5032@jerin> References: <4b1edeb12ff61bdb04a0189be30395589c713dbb.1494420483.git.gaetan.rivet@6wind.com> <1bb0b4a6403e42157ef983f0ee63320ce87a3996.1494430911.git.gaetan.rivet@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Gaetan Rivet Return-path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0076.outbound.protection.outlook.com [104.47.42.76]) by dpdk.org (Postfix) with ESMTP id C34BF1C00 for ; Wed, 10 May 2017 19:29:22 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1bb0b4a6403e42157ef983f0ee63320ce87a3996.1494430911.git.gaetan.rivet@6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -----Original Message----- > Date: Wed, 10 May 2017 17:46:10 +0200 > From: Gaetan Rivet > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2] devargs: announce ABI change for device > parameters > X-Mailer: git-send-email 2.1.4 > > 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 Looks forward to seeing vdev and PCI under driver/bus/ Acked-by: Jerin Jacob > --- > v1 -> v2 > * The first part of this series has been dropped. > After discussion with Thomas, it was decided to postpone the removal > of the relevant rte_pci_* functions. > * Add the parameters evolution in-tree additionally to the commit log. > --- > doc/guides/rel_notes/deprecation.rst | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst > index a3e7c72..8f800dc 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -81,3 +81,10 @@ Deprecation Notices > > - ``rte_crpytodev_scheduler_mode_get``, replaced by ``rte_cryptodev_scheduler_mode_get`` > - ``rte_crpytodev_scheduler_mode_set``, replaced by ``rte_cryptodev_scheduler_mode_set`` > + > +* devargs: An ABI change is planned for 17.08 for the structure ``rte_devargs``. > + The current version is dependent on bus-specific device identifier, which will > + be made generic and abstracted, in order to make the EAL bus-agnostic. > + > + Accompanying this evolution, device command line parameters will thus support > + explicit bus definition in a device declaration. > -- > 2.1.4 >