From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=SBME0qMXckgmW++lDAdXtq38ZTSNEDoU7jfPkOedzbw=; b=nbswqRUkef4xUtia8hvNkdnoyZ3mEal/3gxVu4hKFDS707NBaOHGjEmYFyEQ5ll3ATBf1j+Q5npS4z05bnzuZOc04wHKkjWlvR+klA7ASVM3/9ht3YAjyEJyA1m1q436UYGY47CsnIXSGEpahgB66noOTCwEpY0c3lQJF+wiGw4= Authentication-Results: 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (171.76.125.152) by CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16; Wed, 10 May 2017 17:29:19 +0000 Date: Wed, 10 May 2017 22:58:55 +0530 From: Jerin Jacob To: Gaetan Rivet Cc: dev@dpdk.org 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 Content-Disposition: inline In-Reply-To: <1bb0b4a6403e42157ef983f0ee63320ce87a3996.1494430911.git.gaetan.rivet@6wind.com> User-Agent: Mutt/1.8.2 (2017-04-18) X-Originating-IP: [171.76.125.152] X-ClientProxiedBy: BM1PR01CA0067.INDPRD01.PROD.OUTLOOK.COM (10.163.199.39) To CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 09d01f8c-7ddd-4329-45bc-08d497ca1849 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 3:S4VhJfTXHjUiEtMX7BLdrqAjTReE3x88LW2n/vvItDCCgBih7+hMkIObaoWEPhRY/0O6AMtX6/spmEI0TWHOFwPpmMyiIbBwGRN2sVm6KHE8I+V8cMGI4z3pVo5e94ZjoU4tbrVGlslcDcNxIjtvhCqPjGRAc7kU08h8QFHxmIVMMVymVgJSyM8P9aaibNld/YnVJDoyiT3oB7yVYV+Z3uM8cyACo5wDIFyuznFmyrs/icfamjyaduNeQ7XA9HXMCDD2rUHfaYcpdXweih9pZCZmc1uggxfqTtfBJffCiIBUr1V2gTm3c6/b2sS5dYvxGWitWnqL2O0sM1Xy3CU03w==; 25:+8OKAR9B8KKfAReBdPoZgPe5vbrqkidAYVHA2N+n0o2/pVXwdakwoBvKYljhL3MWCKEbaPPyVY7werZxaqbR3rZ5+xUtXDEWkgQD8OAY71eL58LmMY7HIig6Tio5b5q8BzoGOgkkitMq6VisqC0D6JA2aV33CtG0rUqjBhMIBbv3+WgKd69b1gKtSexZvzgUzmlTFcdeFcIpfvPhGL2iZ6tdzner25IHRMD2yq8I0lRVtjAImJjSskYr1rqujrSurLFj0jDyycIJCiSI6qchWZhdS6Kkk3hcRB7M1pNb/P0nXPK1N9AaQEwjOuiuaIIwVowR9TnRf0owO592Lrc3ec6uDNfTXMEPcWx/UHjvIF+qCA2INqfFIFbGo1rxJ8FG9PgYsihXwwj1s/dLpQMv3r43xquzSTD8XVM4BQS2S5hxv8dBAEQ7o2xcxFi8B6Bdwj+di4RnNSaX+CMOVW/ToUayZTvulP8+GX4rtqlDY8s= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 31:ScMJGn4kUZFhKVmPcIWMpTmJvDcmiY61acqfM9SG8WNVksB85M8RESV3S2RCKiD1akpr4vTBEgoYxwdlGnm5CHWbvTjRjea1CUssd4G+Fsmvp3j5iT3y1+pzCpFWydFCStziavgOkry6QUWXHPDglbu1Zp9ctT4uJQfKqz3jsKHoeXSxRrtQ1ZAla1hZllNTbt6LV/VOaFaCzapt6C0qw5EiyOSAvIN+R4NTz0j/mgcVw5dcy0/729jAjQ7wwOd2IUH2tVhX4FJp+/5ehbUjdV/lUAZQ2Dhk93kQe04rXmY=; 20:ns2tY9zhOVUj5VvWqRUYVKAvEb3KiG+VBm+NNgEI7IMs8hZsl/xPU5tqFEtM0Nl4kWQTr9qRFXXfIgxuZi1F7OfojtbC1BaGemwOmcPqpmzH/C1adZvNEi/YAnPzvUxrSJa2q46MHD/ZFzVlbwLahoKYqarT5XPwdbk/xecjzpW8/ntsyrW0QvCd4zSnpoOKvx+6kPpW2ovNXNVaXHBf6KLIpKMMf7yxyki0cjS0PLM44VEVIWOj98uS8BdYIaytRxzQXVBHJCL3gikln3Dx41a5Fpaum891eHhW7MmYWVMKvjWV1ufxWgQih173XNx7sl7ogihL6PP/QK7LsTNj7bb1QmccXGlNNPaNzzoba2JUEDVnUaoIsAQ2gw3ZahwWtJtKgXlrbVcHt3iL6XQUHCmFLlGWWatLbtpjcr6zWvAEheWjmZJhLPpujXdTxgT7YvKMwADXqDdexbtu2XbW4FzmtgVb/SHgInD5ZTTUbwz2Fhhe2KtgUHEsON4BSJZq2j7SY5PlBxcD/aJ9Xk/CM71pp2XU3T7LtdF3DCRZkHj/zzQgatcFpZEwjV8X4GOSPB8tGYqEame9Xai83CKf/jtCtK5fhft9w/rk4gr49fU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(3002001)(10201501046)(6041248)(20161123560025)(20161123555025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148); SRVR:CY1PR0701MB1727; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 4:3wkWnmGaJ11TtYeruEGmblUdDDgf8dbxz+T/ifAxYdeYU5WU9dNxMYbnQ/j8Z+zZQPJYUfLqEi8oHqC5MggOHx9Dzpo38Kef8rNVSjT/qpM58c03/3zRgfa7080Dp+8CbhS7QRjU2L5Ywb8/M0TgpCzi6WoP549e6vhzowM5G6H28cXpDuTgMHQZ0LV09rK0q5Q8Im9P1yYg0BCI06I3KGZehGXLOsluXOvBVrGa/+2pj3kxBz0IhzYnhFykcJgYEpAYSiMPEGyVPAQmvOUB41xokCPn/PYFqfCI8wLfhHzWsQ9xL0ZcADsW4lvh76sWwzfznNZjGGeRajMOLQGU4jaPiLIfCnxfG3cBsVPmU7t0+yKi9PBc+pYW7EFGIxucv9Te+aJgOAchQ0PfIl+qYylsxnq8DqdxFAFu7c4VurCFoFbVRdzzGxbZcCAJT1p8WPnti938Y1BhrvKqxqGv91uIuoyILuKELz2lTmx3GOieGYg7Gjk2kvCtFIgC58fF3FZMA5e8ieK0rOTrjUbHVL4spnKa4Slf/M1OQMZqS8c5dIJDHEXcE7FiBRQp2gOnwK+iWqwxVDf8SbRAWEfi1q7cv1LEIeMDW+2zcOs8cGwL4OomdvyCRVzokzwIn4LSS8uj/ihu+sTOwtTkgxaMYpoQ96sB3UtaufUMgaDDOOXCO6fw0Q6EvLQkjD2nZ4YuOUhtKf+CG68LNdtkY3nPN6o1/3JIUPCV5olr/molPiyqyIFU/mss/JwHlU6330NSAKUt8Qb5DSX+k0iZKmJwVQ== X-Forefront-PRVS: 03030B9493 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39400400002)(39410400002)(39840400002)(39450400003)(13464003)(2950100002)(6116002)(6916009)(6666003)(42882006)(66066001)(3846002)(76176999)(50986999)(54356999)(5660300001)(53546009)(33656002)(42186005)(7736002)(33716001)(25786009)(1076002)(229853002)(23726003)(4326008)(55016002)(4001350100001)(305945005)(83506001)(478600001)(53936002)(81166006)(8676002)(38730400002)(50466002)(47776003)(189998001)(6496005)(72206003)(2906002)(9686003)(110136004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1727; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1727; 23:4dBEQSHzgqEtX5PkZShkEPpVK3hNr2X/Mjxh9VM?= =?us-ascii?Q?zU9KNzNNkwhFYy+FASAs/nR9w65tfTcaPuwOw502Pbro2YDzYDu2bNE2YTWL?= =?us-ascii?Q?OEswHd9pL+y1NWg3oEaH+Mv5K4jtpp05qLeZ82glayXhyqs8CNf5Z48ZDWXc?= =?us-ascii?Q?JtbHaOJw/7GVdTeyknhWxZ3tuFrh0f92AU3OI+NajdK60aK4e0DWI1iJhJ3X?= =?us-ascii?Q?M7rCf+UABeM4Sn97SboUXQfVCPJdkiMCOFXvg+rCACza09op4svUdaHaCd9s?= =?us-ascii?Q?R8m71IhBVza91FQHRSs06Sk/T9V5qeomTzReufjs3rNkCFmHZxwnJtdY0jMp?= =?us-ascii?Q?oYTieSQxqaqD3OMY789mPVZ9hKMPW8mEWJgnpySZb3+seK05EiujfwmNbxYc?= =?us-ascii?Q?EiOXiqZzmSAe8B0aKnqvXn9H/G/aBE5Z52V+6cC+Nf0oACjAe/XFp3ZvEl1A?= =?us-ascii?Q?usbIBcqeWnDXr0R3LMzB6oMakQZBi4bCA2SQ9OX8YQ5KUBAwwF8MWfRuvozu?= =?us-ascii?Q?yCSsss9HVx455XZqBFC8IP+X2naVnJ7KuQSJ9+16UasFdqX7WH9NL/BZLhKP?= =?us-ascii?Q?WTLu4EmfZ6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ZVDPc6Ue5NKuA+K/bQ+UmVm+RixYB/S2MuV2FpRpk7dd7fw6VgPF5Dg0ZlPMUnfxL9Cse2evzg/ebpII/04dzvYR8oCZE4bXJfE9kM1aKUkBjbgjEqwCsosownuNBhv+8k+JkVkqBeJoGK5eno2i9b/Y1XEvN0INf/bGY57La3ytEECIGIrsXyN0TiuXyQN60hdw/Ch187BOjaEkHUWO67Qeb74iPtmPoMBzgqES8Hj0sScTKCwDA==; 5:GIBY2Iua1FEzmyqxve9qK0FC/hoSqUfpLhPwsAzJnVdP9J1RHCsEuSffO88ALpTNkzVh0r84TAa4ynbtPNj3XSbp1QagB6MN+4Hi3bRO/FczE8TLRNpk1meyH39B49PrRluZg5PRxcPXgOiuxUaa/w==; 24:1Mn1yFL64Ui0day0Ffy6M4BY6ccMFzTs7kQ0FYLw8eyIXdeWYhKJ/smN68dj4bX5lRJXOSqGr6f2ziWTwTVePCbvWE0lRSMAE4E4/+gFBek= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 7:XOxw9pw8GW1dJcJSe8Tbove2MoRfMdKDQBrukxb05GI+ooxXPUQVkhfw9CJlHZQ21l6a6mx2/v63plouUWo2FtfxBYshCehM2fdL5x0C2kESAUfgDz/pwpwSUMh2Ddi72IUMZGC7cFp5a+9rb43l5LKZO0aDftrxoaAvarnfzDCaKuxYsrnOK4jbS+W0Ol+76f1gNw8z1j9SZMLLxxEyWWPqf+gCRyFjKaykwQkeVfBS5KCdU/bA0ntNDwFIwaMHEAiRxsa8Azqnta+bZIXKFGw/qPqTmC5WKQb195vn5fCSg6Sv1ckk45FXlJie4tCeSesIRGfGPWtxwo2np9hDdw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2017 17:29:19.4599 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1727 Subject: Re: [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: , X-List-Received-Date: Wed, 10 May 2017 17:29:23 -0000 -----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 >