From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 2/2] devargs: announce ABI change for device parameters Date: Wed, 10 May 2017 15:04:18 +0200 Message-ID: <1539960.YVRrzX6C2B@xps> References: <4b1edeb12ff61bdb04a0189be30395589c713dbb.1494420483.git.gaetan.rivet@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Gaetan Rivet Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id E293E234 for ; Wed, 10 May 2017 15:04:19 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 10/05/2017 14:52, Gaetan Rivet: > 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. This syntax evolution is not announced below. > 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 > --- > doc/guides/rel_notes/deprecation.rst | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst > index c2f58eb..e91fc99 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -87,3 +87,7 @@ Deprecation Notices > > - ``rte_eal_pci_detach``, replaced by using the corresponding bus generic > method ``detach``. > + > +* 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. >