From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10066.outbound.protection.outlook.com [40.107.1.66]) by dpdk.org (Postfix) with ESMTP id 96B941C9ED for ; Thu, 5 Apr 2018 15:51:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=GfjhpEvbBpIF145OwbmuAK4HfAkU4st4tUBEEj/VgVs=; b=TtCYk/zUjmHnIi/ne55e4Ga+ki2GYfKsZh5/jMbC1vSUnGKX0gcpFWB9iyrhyeRRw/f52c16Nj06TOUOf9jnFxhtlxKFpD6I2YpJACEOLR6kUWXM13AQaMoPwDF4sxgiAW36zuJl6wnE440qXWw9gWAy4pVRhWRWIhN0/+F0ovM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from [10.232.14.39] (14.142.187.166) by HE1PR0402MB2780.eurprd04.prod.outlook.com (2603:10a6:3:d4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Thu, 5 Apr 2018 13:50:59 +0000 To: Anatoly Burakov , dev@dpdk.org Cc: Hemant Agrawal , Shreyansh Jain , Nipun Gupta , Santosh Shukla , Jerin Jacob , keith.wiles@intel.com, jianfeng.tan@intel.com, andras.kovacs@ericsson.com, laszlo.vadkeri@ericsson.com, benjamin.walker@intel.com, bruce.richardson@intel.com, thomas@monjalon.net, konstantin.ananyev@intel.com, kuralamudhan.ramakrishnan@intel.com, louise.m.daly@intel.com, nelio.laranjeiro@6wind.com, yskoh@mellanox.com, pepperjo@japf.ch, olivier.matz@6wind.com, gowrishankar.m@linux.vnet.ibm.com References: From: Shreyansh Jain Message-ID: <70a70e1a-9bed-1efe-0778-e775f1b651f7@nxp.com> Date: Thu, 5 Apr 2018 19:36:12 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.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-Originating-IP: [14.142.187.166] X-ClientProxiedBy: PN1PR0101CA0065.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:d::27) To HE1PR0402MB2780.eurprd04.prod.outlook.com (2603:10a6:3:d4::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ebacf32d-b423-4335-cc5f-08d59afc4593 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0402MB2780; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2780; 3:i3Kfq3MrYTyabXvPlzrNJtFWuI+Xmq+Ob/qwDv0YKxIshRftiCnQxy9WIbAI71l4OpGJrTSUAKnTMuNCdL0YOCjpb8Da6lino7zUZf9Zh6fGO2zCY4hNiB7fFMJ/cd3cBCGE/hsbrQj7lP9ijP53d03pRLgDzPWPsrxy0A7uOoNAJb1K+i7+LwNLLz2tegJhC3TuEpjR5E6yzht5fY3m9VTLYGgBm0Yl6TC7UZXo1+1IlmxMkz+uOBNaR/HsT4Tb; 25:1SPDi+0FOhKvJOrZ4/q7PxzysFBtMWvBrrqRgX0Th4Uni0QIT0cYQA0Tld7OMKNseMd4SQxZcJ2hCKY6SPUSwf7bS3QqJNXLz908MxRL5LHf2VeRTIyXhHTLqRWQaUTG1hpZ1Lpf7yjOHajGyvrcHqk5hSGTA90i9VtceVkyInIKpeV7g2WAMVEWHIJ7XEjSPzoB9TrJ6UC3tJNC5g8Eme9Z6+DQioZsiS2bdEeWEXi3UMazsY7O4szSs0ETIyGpmFTsanV59IoZsrgQxMj5ipgkc15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KqKVHTFRcfWNNCtHYRr6aYvD4FwHVNKmsSQ8sVqTTXsTHmlMLo2+jv+SZzAiHbeawocp0pfycmFUojgMuUt+Ob7itorwJMgPQxXl+75uHb4587Trp6bCpI/aQTw0dvlO9ueKRhNW2ZjOR76iRc6nRGHY0UZMILjn2t2FNnOsOgSe4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231221)(944501327)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:HE1PR0402MB2780; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0402MB2780; X-Forefront-PRVS: 06339BAE63 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(39860400002)(366004)(346002)(39380400002)(396003)(376002)(199004)(189003)(5009440100003)(2486003)(105586002)(8936002)(68736007)(81156014)(77096007)(476003)(8676002)(58126008)(186003)(53936002)(229853002)(76176011)(16526019)(54906003)(31696002)(97736004)(25786009)(26005)(3846002)(6116002)(11346002)(31686004)(67846002)(316002)(956004)(478600001)(6486002)(55236004)(2616005)(386003)(81166006)(64126003)(65806001)(86362001)(47776003)(446003)(6666003)(7736002)(65826007)(7416002)(305945005)(230700001)(2906002)(4326008)(106356001)(6246003)(50466002)(16576012)(52146003)(66066001)(52116002)(36756003)(5660300001)(23676004)(65956001)(486006)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0402MB2780; H:[10.232.14.39]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtIRTFQUjA0MDJNQjI3ODA7Mj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LvZScML3UoevFee4jPnpqI74coBiJuVddXTD7vhIArPjT4sVHaQody0/9nYm1wSFhgYjW1KK0uBzaGpxlg0k+XSt+2laj4jPosUXKKsicUKV4=; 24:Mbdad6Z9LyP+e2D8Q6iOXEsBvMm9t1Rqjw8gKN0eeMgvjoeSZWNvBFi8meNbvPZDe9O1Hc/BBvCGnPL/tlsJgO6e6ZnLl/ZcFePxTHAkpP4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2780; 7:vIIeBLj61XUpd7kD7uDHNZP0L1V6F5KPJq+754uPhAZXd7KQsz6AQY9RZ4rOXMBCkeIl7/Vl3PnH1b11mY6p3jbFlOGwA6xvCJ2R5Ec3XUVMijPzR68cQy/1UeLU1c7zCtRXkcZ6Qidu8KHGkDNk5fL873gy33U3LcaS2ngZCzbOUSICL1A4U8j7c4apv3qECPJkmnsn1ltL0p8F+N1CsnDqjD3DPoHGC3LmekZet4K1yGYWSsyCUKZovn5c+X0H X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2018 13:50:59.2542 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ebacf32d-b423-4335-cc5f-08d59afc4593 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB2780 Subject: Re: [dpdk-dev] [PATCH v3 26/68] bus/fslmc: use memseg walk instead of iteration 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: Thu, 05 Apr 2018 13:51:05 -0000 Hello Anatoly, On Wednesday 04 April 2018 04:51 AM, Anatoly Burakov wrote: > Signed-off-by: Anatoly Burakov > --- > drivers/bus/fslmc/fslmc_vfio.c | 78 ++++++++++++++++++++++-------------------- > drivers/event/dpaa2/Makefile | 3 ++ > drivers/mempool/dpaa2/Makefile | 3 ++ > drivers/net/dpaa2/Makefile | 3 ++ > drivers/net/dpaa2/meson.build | 3 ++ > drivers/net/octeontx/Makefile | 3 ++ > 6 files changed, 56 insertions(+), 37 deletions(-) > > diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c > index 1310190..ccdbeff 100644 > --- a/drivers/bus/fslmc/fslmc_vfio.c > +++ b/drivers/bus/fslmc/fslmc_vfio.c > @@ -193,17 +193,51 @@ static int vfio_map_irq_region(struct fslmc_vfio_group *group) > return -errno; [...] I will send an incremental patch, in reply to this, which fixes dpaa2 for va cases. Though, I think this patch can be completely replaced by that - if you prefer that, let me know and I will send it non-incremental (master based). > diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build > index ad1724d..8e96b5a 100644 > --- a/drivers/net/dpaa2/meson.build > +++ b/drivers/net/dpaa2/meson.build > @@ -13,3 +13,6 @@ sources = files('base/dpaa2_hw_dpni.c', > 'mc/dpni.c') > > includes += include_directories('base', 'mc') > + > +# depends on fslmc bus which uses experimental API > +allow_experimental_apis = true > diff --git a/drivers/net/octeontx/Makefile b/drivers/net/octeontx/Makefile > index 3e4a106..5f488b9 100644 > --- a/drivers/net/octeontx/Makefile > +++ b/drivers/net/octeontx/Makefile > @@ -16,6 +16,9 @@ EXPORT_MAP := rte_pmd_octeontx_version.map > > LIBABIVER := 1 > > +# depends on fslmc bus which uses experimental API I think you wanted to say "octeontx" rather than fslmc here. Also, this is not part of 'bus/fslmc' patch. > +CFLAGS += -DALLOW_EXPERIMENTAL_API > + > OBJS_BASE_DRIVER=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c))) > $(foreach obj, $(OBJS_BASE_DRIVER), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER))) > > If the Octeon part is removed from above, and incremental patch is merged here, please use my Ack: Acked-by: Shreyansh Jain