From patchwork Wed May 10 12:52:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ga=C3=ABtan_Rivet?= X-Patchwork-Id: 24198 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id DD0435592; Wed, 10 May 2017 14:52:19 +0200 (CEST) Received: from mail-wr0-f180.google.com (mail-wr0-f180.google.com [209.85.128.180]) by dpdk.org (Postfix) with ESMTP id C7D08F72 for ; Wed, 10 May 2017 14:52:17 +0200 (CEST) Received: by mail-wr0-f180.google.com with SMTP id w50so42933372wrc.0 for ; Wed, 10 May 2017 05:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references:in-reply-to :references; bh=T0hNbILyi940N5S+9pw3SNOHa4S6JuDgIry57meTHQ0=; b=k+jvOEuAm1ruTPQBLYN9FbAgRtTgOnce+kllKOhdOJw4DOCsqmO9Vo6vmYs1eT2NSQ Ya1bWyvIFjDSOX57RUGe8O5dx/bQOmSrgv/1V6u8UK8PLXq+GzbnTdHNQ2GXGQh7fwkj Al3tmTYub/uRYvDuGuUznhqgjsc5jbbjhQmPa2KUOaRtJCtByixvRnd1s2cbWW7P7XnU g3meEgAdjatKlKk/6TGJvr6SaqO4lnuxJUIcn7zYF2gNrBB6z+ccNO94r2TrMdivrglQ f+ODQ0wY+C9bLcmp+59WwvyTNCNnbSSJuUgqnjMCji1OFQwuk2pIz9sLa5UNpQG/b7f0 jMUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=T0hNbILyi940N5S+9pw3SNOHa4S6JuDgIry57meTHQ0=; b=jCEiIyqoxZYA5hIJM6AbRME4b9e3uI4+MH2xxzIQ218T3ELDnvuGDripxWPBFyHo7q ig+vJ9wde5uRo4kntuVrgc4JM+b44qkohSw4/Y7Jv7YVpWm1VM2r1vsf72JnEXauykc1 7woEWV46qlQ461VaRWlFd/gc2+blNLIx4RzX9QPbhiozt4K83l162JabrBhq0ghwu6j/ OBH5OEk31iIsoQN27dyr10PlZKlgO8EovrpWDfgLbA2VJWlbIjsw6Gk8Inr7KePPDT1k A1lUEXMqIs2eQBgtWoN4fXDjtb6SkGPRgV8jbzkn7hZdxwqumauMzNt/9r++A6bxG5v6 D+UQ== X-Gm-Message-State: AODbwcCECX0gq4yptBoaakO9kqR4RKoFFpL7iNXcp0Uy/TIBzM9FQR94 MX/jnv4ot38eQjHyY80= X-Received: by 10.28.14.205 with SMTP id 196mr996756wmo.13.1494420737155; Wed, 10 May 2017 05:52:17 -0700 (PDT) Received: from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id 4sm3319032wrv.33.2017.05.10.05.52.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 May 2017 05:52:16 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Date: Wed, 10 May 2017 14:52:05 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: <4b1edeb12ff61bdb04a0189be30395589c713dbb.1494420483.git.gaetan.rivet@6wind.com> References: <4b1edeb12ff61bdb04a0189be30395589c713dbb.1494420483.git.gaetan.rivet@6wind.com> In-Reply-To: <4b1edeb12ff61bdb04a0189be30395589c713dbb.1494420483.git.gaetan.rivet@6wind.com> References: <4b1edeb12ff61bdb04a0189be30395589c713dbb.1494420483.git.gaetan.rivet@6wind.com> Subject: [dpdk-dev] [PATCH 2/2] devargs: announce ABI change for device parameters 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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.