From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0043.outbound.protection.outlook.com [104.47.41.43]) by dpdk.org (Postfix) with ESMTP id CDE9E2030 for ; Mon, 11 Dec 2017 12:40:23 +0100 (CET) Received: from BN3PR03CA0055.namprd03.prod.outlook.com (10.167.1.143) by CY1PR03MB2363.namprd03.prod.outlook.com (10.166.207.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Mon, 11 Dec 2017 11:40:22 +0000 Received: from BY2FFO11OLC015.protection.gbl (2a01:111:f400:7c0c::195) by BN3PR03CA0055.outlook.office365.com (2a01:111:e400:7a4d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.302.9 via Frontend Transport; Mon, 11 Dec 2017 11:40:22 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11OLC015.mail.protection.outlook.com (10.1.15.59) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.282.5 via Frontend Transport; Mon, 11 Dec 2017 11:40:16 +0000 Received: from [10.232.14.39] ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vBBBeJ30031017; Mon, 11 Dec 2017 04:40:19 -0700 To: Gaetan Rivet References: From: Shreyansh Jain CC: Message-ID: <427aa68d-b21b-eb78-9ecd-f796260eb6d7@nxp.com> Date: Mon, 11 Dec 2017 17:23:55 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131574660168692031; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(336005)(346002)(39380400002)(39860400002)(376002)(2980300002)(1110001)(1109001)(339900001)(24454002)(199004)(189003)(498600001)(59450400001)(356003)(305945005)(81156014)(81166006)(85426001)(8676002)(2950100002)(6916009)(104016004)(6666003)(86362001)(67846002)(23676004)(83506002)(76176011)(97736004)(65826007)(5660300001)(2906002)(31696002)(36756003)(230700001)(64126003)(6246003)(4326008)(53936002)(2486003)(68736007)(8936002)(50466002)(229853002)(77096006)(105606002)(31686004)(106466001)(316002)(65956001)(33646002)(65806001)(47776003)(58126008); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB2363; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC015; 1:xvPpRPusSBbtF7kwVbvjGlosTgN/k4BZyxn7D+opepbSVsEIP5PGmxlEEDiqyfcnCYA5APfhPlTYQeGpOpcmLnYMzJbfQb1bQgr6iB6eS+gG+f2LRqJiPDcJoSrJ4ge3 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 68e62469-c075-4774-313f-08d5408bf343 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4628075)(201703131517081)(2017052603307); SRVR:CY1PR03MB2363; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2363; 3:HfygHZBfsN+cE+puj5GaAgyfPF4IPAOl/ffWgvMb5t4c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Tsbm/6YLrX4rerC4PsKcRg8kWc/Jw8VZ75P8Cwo9Slq8gX6pKf5bX7FEls+Mt3y84iNfJ5uIYKtWjvsAh28suaLx4LI1sSL+llruoCPXeSIZDwfFhWJdlCNGS1ft0IeGWsALCzmUJ7LiBMntEzpRIX7Nw2GcGuBlKquGCWug8QB8ztcZUM1veXaFGWT1bZXRdS9oQ+vikMZ+sGYkljWHqqWbeYuNclweb7fE1142Z0BQGQa X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(131327999870524); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3231022)(3002001)(6055026)(6096035)(20161123561025)(20161123556025)(20161123565025)(20161123563025)(20161123559100)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(201708071742011); SRVR:CY1PR03MB2363; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CY1PR03MB2363; X-Forefront-PRVS: 0518EEFB48 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjAzTUIyMzYzOzIzOktYTVpUbXhac1pVeWN3ZXRQdFE5SmdZd2t2?= =?utf-8?B?eHZ1OE1GNjY0dWhZMnpqUUdaK0w2dmpZbFhHQ1pFa1NTRkwwZUF2SDBXYmgv?= =?utf-8?B?YUt3b01EMzUzR3hIdkx1NnVaVVFwNXNIakd5OFYxNGo4NUpvNERERGh2U2Vt?= =?utf-8?B?K1VOcTlYNDNyWVFObHpwcmZ3VjVteFFNSElpbThLbUd5eWRla1Q4SThYNEg1?= =?utf-8?B?UXhTNktrT09pdXpYQ1o4d0NoRlVDTFgzZlVsTWtZUmxFT3dra3FKZGtBdWVj?= =?utf-8?B?Tjk2b3FyU3FsREpKZzRNZjFZVXVOOUhVY2NKRWgwUTJuRmdSTWF3NjVvdm44?= =?utf-8?B?ZS9kTUxoYlkxNFRWQVo1aTV2SHpYT21XeFFsS3JacW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ATuNbpD7JCdyRUx1XiCYpThv8Rb9T62vjFNrcVk1SV7wlVzCDmvCDeNucywtfDROCbvXEY+vbrui4S4MI=; 24:Cl4HAnoNwReaYVH/mIVZ5xfPtCDk5ih3oGlTCRDKn4bC5RsKVjLadqZi/VSCQ1tydHVSGd/cACCUd66jxVfwlAxNraXqwdwBcwJh9dYqKmM=; 7:tPh0GLTmI+VQObwLsjjPacPCSn4Yh83otBFllwbxwMUJE8I0vES5Wgy9JWN+KqD2/hRHUEa5GpK/5AMLr5DFXd+5x9oYUnkRVmdAnmXNdyv2seJrI7/hx4dZr0kFNrBwlFF2JoNdb7KVMVOCt09CrSWB7m8FZGO6OKsyV74Sbs2NG2CPHQW6XlwKtIPEHPQ+bcTLNnApNixko7vkeo9BFhfLVPn/+8myFtaNnYPjSky9ycah3LvnllaOvJGRW51k SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2017 11:40:16.6664 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 68e62469-c075-4774-313f-08d5408bf343 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB2363 Subject: Re: [dpdk-dev] [PATCH v1 0/8] Bus control framework 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: Mon, 11 Dec 2017 11:40:24 -0000 Hello Gaetan, (I am assuming that this series is still valid for 18.02 and you will spin a new version of this.) On Thursday 12 October 2017 01:48 PM, Gaetan Rivet wrote: > Probing policy was introduced in the previous release as a configuration item. > It was thus added to the generic bus structure, breaking its ABI. > > In this release, the IOVA mode can be read from a bus to configure the > EAL. This new configuration element also broke the bus ABI when it was > added. > > As new operators had to be implemented for the probe policy item, these > patches were developed to help mitigate this issue. > > This control framework allows to expand the rte_bus API without breaking > its ABI. It is meant to be used with configuration elements that may > only be valid for a few buses, while the others would remain untouched > and unaware of the evolution. > > A central control operator is used, similarly to the working of rte_flow > API in the ether layer. Each driver thus chooses to expose a set of > operators relevant to its implementation. The caller is then free to use > those if they are available. I like the overall idea - similar to an ioctl. It would help extend the control knobs of buses (drivers?) without adding additional dependency on ABI/API. +1 > > Both Probe mode and IOVA mode operators are implemented for the PCI bus. > [...]