From patchwork Wed May 10 15:46:10 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: 24205 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 D17092952; Wed, 10 May 2017 17:46:21 +0200 (CEST) Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) by dpdk.org (Postfix) with ESMTP id 88B251C00 for ; Wed, 10 May 2017 17:46:20 +0200 (CEST) Received: by mail-wr0-f176.google.com with SMTP id l9so48813254wre.1 for ; Wed, 10 May 2017 08:46:20 -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; bh=shg/vFd+St17djM9ZvPVNDpUAiIX9vpyskNeN0QSwcA=; b=u4OtyU/D4NiGK+2+I7Hz2aImOG1lmRRnZAOdTxxJoBgu3A9rEkXrqweLr7pD1yg2OI 8vhAHYYrGBBWpaR1Yihr9Whh0U3Apm1ewH2BVXb3kndQ1jwS+vY/ScYmKVsCcIFBGAdB U15UUmXtyyCHKs4afAOASptBdN4flTiiMvulzjmaknDbX6ugwLVK5InxuIRes+sdVDLC 7S/WR58VlxUuMUTYKKNpc1SEa0kxB16YzUdvnV8QHjh03a9kZx883y8EaFrN4OnUh/4s iU/98A6xBARmmeFig74r4TIW/BcUyAzMGVucf1seWKO+tzd03i+4ZnJaLDZWbIBcJiIe DN2g== 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; bh=shg/vFd+St17djM9ZvPVNDpUAiIX9vpyskNeN0QSwcA=; b=A2lobpiGkiUC3zVmtMdWRd3TO6fpylgOgQI5u56w09Zf/Nz1jTVEMrkP+UYdsGuszz +9ZMWK88hgF/33heAWp/dXZnidUVFlyP2hlSonLentIis0iB0FvEd16cwRE5GvPGTBWI W1dzdQTKtWIAxBB9IOplxSutRCLau1q3D439B9oIuMInmczMob57kAWNw1SFpH4uBm5z HjVGOzPNa98/s4zvIkna/wPK8mWxtaDt0wd/PGp9gTTafspJltuzhdxwoPrzkf8HhK2l 5MTojzzQ21y3bVkrZIsmZG0ijs/n3cn3OEg0+LLL0yykiz3Miq6P/zgzIpf9iCGX9kYB F0uw== X-Gm-Message-State: AODbwcDgIeEMxzDgMHj3Jp6ihRYd/NRS6LPq6y0Jk7L0OXv+2fgt0b3S TNCMu+ifsOqUPrxAuZE= X-Received: by 10.223.150.3 with SMTP id b3mr4086233wra.78.1494431179892; Wed, 10 May 2017 08:46:19 -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 v7sm3754781wrb.68.2017.05.10.08.46.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 May 2017 08:46:18 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Date: Wed, 10 May 2017 17:46:10 +0200 Message-Id: <1bb0b4a6403e42157ef983f0ee63320ce87a3996.1494430911.git.gaetan.rivet@6wind.com> 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> Subject: [dpdk-dev] [PATCH v2] 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 Acked-by: Jerin Jacob Acked-by: David Marchand Acked-by: Maxime Coquelin Acked-by: Thomas Monjalon --- 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.