From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0071.outbound.protection.outlook.com [104.47.38.71]) by dpdk.org (Postfix) with ESMTP id A5AD41B223 for ; Sat, 9 Sep 2017 13:11:13 +0200 (CEST) Received: from CY4PR03CA0011.namprd03.prod.outlook.com (10.168.162.21) by BN3PR03MB2257.namprd03.prod.outlook.com (10.166.74.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12; Sat, 9 Sep 2017 11:11:12 +0000 Received: from BL2FFO11FD054.protection.gbl (2a01:111:f400:7c09::188) by CY4PR03CA0011.outlook.office365.com (2603:10b6:903:33::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12 via Frontend Transport; Sat, 9 Sep 2017 11:11:12 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.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 BL2FFO11FD054.mail.protection.outlook.com (10.173.161.182) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1385.11 via Frontend Transport; Sat, 9 Sep 2017 11:11:10 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v89BAUhK026326; Sat, 9 Sep 2017 04:11:08 -0700 From: Shreyansh Jain To: CC: , Date: Sat, 9 Sep 2017 16:51:11 +0530 Message-ID: <20170909112132.13936-21-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170909112132.13936-1-shreyansh.jain@nxp.com> References: <20170823141213.25476-1-shreyansh.jain@nxp.com> <20170909112132.13936-1-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131494290718831243; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39380400002)(39860400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(356003)(189998001)(86362001)(81156014)(81166006)(8676002)(498600001)(5003940100001)(76176999)(104016004)(50986999)(8656003)(8936002)(305945005)(106466001)(33646002)(36756003)(105606002)(77096006)(50466002)(2351001)(2906002)(97736004)(47776003)(6666003)(68736007)(48376002)(1076002)(4326008)(2950100002)(6916009)(85426001)(5660300001)(50226002)(53936002)(110136004)(54906002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2257; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD054; 1:sK6gIdBmfo3UsRFsCjMfh7K5Hy6vDetg0DE3WOo2nmAHvxC8KVWOaZOrnszkmsa4cfL38VMHL8+LFQQ9GOBLBOWPLae1Uv7h3rYBHJnj074oL3LuEBaDVXRKjb2lbm4i MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b628c5be-1228-4f82-b28b-08d4f7737ac0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN3PR03MB2257; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2257; 3:vyWuUzV0cdQ0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CjFP9TtxxCy5gYgZPGum+tg+fZjpo6W65CzTK+E/k6+QPJ2JuyzfGY3J6UqdryoQtBcfWH4nhHwfncTraNSRC/6XP1PKDFk4+atdGzFPEWjfA5aHpGMxb8cFeEMYwWenfacSl3+B7O1u6/jzqXAVwE+3TJ2X5NFDzXQU7zbx65W+ln2LIopJrjRszdkUyryw3DWEbYoVBzLql1JZ3pNAW/7QdHcOxKHHsiDPpZUrudKT6kWBvHb81zz30TdrEb2hAT+zJcZFut4Jg== X-Exchange-Antispam-Report-Test: UriScan:(278428928389397)(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123563025)(20161123565025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123556025)(20161123561025)(20161123559100)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR03MB2257; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR03MB2257; X-Forefront-PRVS: 0425A67DEF X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB2257; 23:eSAUVpjJxSQAqV0UH0KjypHxBXaQCiPdQbXKZYBSM?= =?us-ascii?Q?jrDpCH3nvg2acmRb+1WliZNimxSVvtzyUWllhUqPTMDQvpP1QqFXzU3doRwh?= =?us-ascii?Q?3bnhHoNskG2Y418IrQrvdsorJBdVhy/ojhRLVraZ5acCfnOVO+VEfpwJKp//?= =?us-ascii?Q?F81VsrhdpiNOcuBa6Z4H799Vo3fryGXfmpapSu2BstNWe0qD9rYftuHIWUpo?= =?us-ascii?Q?YiqWBo9DRPiTiEfsCw2kNs7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xI?= =?us-ascii?Q?O9bwdTmAhm2KksDSNh9Cozl6sFK6k+q?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2257; 6:ldzVNq8EnCCrw8Iq6Ccqne57G19yhibAQJjIojZZb3u909WY/+Hg633lkPmcNCAqz9V8Op1k/pZFbqSGcwLn8ySHI6UxwdAMMPHZ9gZgkJfAeJaodRwLt+3GeUGSQBjKcEtMp9zgjSoddu3FOsCwIGMZoOIxo6bVoThJwiwO/5iSe2axjnMI2E1uprd+Z/JAv8A5+njQZnBrTeRgSqrxC7kkhqW83zY4Dl+BAamt4HRVFdootqIKSFQ+CgtQzqBvfkZUHGeJ6vsmcYdYFNY13p2V3p5adIvm9mVb+S+Zo2IK3am3oNs/gx75XqUrK+Sb/tl3O4REuMUcxc8Kxlq8EQ==; 5:z4rSc0+3++Jr3r7xnuD5qlqbe7OA/unBQWCsekBLaAVil0whyKH5FJ0SGSsGXmoaTh2+YCkVFBOZv+wFgRN99zADDWyGmWcSifFqE2iJLL2Dz0Wb5NajDGLTUdqIeqSKHZNk1JIIHKafkxBRf9mnmA==; 24:t34g4/+MQ1CHHcHKLdeJycS6kLIizW1Em1trRXgbLlxIeDlu6QDi5B/WdpbR/A064AhxtXuNN1Io7K0b3huAyy6wVgJt9rBV7FqEITXCt6Q=; 7:BSdA1/tz11BRVctRo3gn0LE03kSoJ2Q5C4+I3tuRFBS2E9/nNWB0pdWL6n6DpACYoXhzGR2nbFxcXQcWB2zJu55sBSFIg7KyTxFLV9zryRsx8a28n+HTdf9q6XNA9cBSbFYg5w8BPyDrVhsacYoW6To9VvsC1FlNA+A5XE5Nmnz8pBdVmyE5vbBYIxknI0rfBNl0VXqXF++/fYODbpSwwqCqKMcGglLm73X0pIvUyX4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2017 11:11:10.6663 (UTC) 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: BN3PR03MB2257 Subject: [dpdk-dev] [PATCH v4 20/41] drivers: enable compilation of DPAA Mempool driver 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: Sat, 09 Sep 2017 11:11:14 -0000 This patch also adds configuration necessary for compilation of DPAA Mempool driver into the DPAA specific config file. CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=dpaa is also configured to allow applications to use DPAA mempool as default. Signed-off-by: Shreyansh Jain --- config/common_base | 1 + config/defconfig_arm64-dpaa-linuxapp-gcc | 5 +++++ drivers/mempool/Makefile | 2 ++ 3 files changed, 8 insertions(+) diff --git a/config/common_base b/config/common_base index 2bb2269..e4a9d6d 100644 --- a/config/common_base +++ b/config/common_base @@ -305,6 +305,7 @@ CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS=n # NXP DPAA Bus CONFIG_RTE_LIBRTE_DPAA_BUS=n +CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=n # # Compile NXP DPAA2 FSL-MC Bus diff --git a/config/defconfig_arm64-dpaa-linuxapp-gcc b/config/defconfig_arm64-dpaa-linuxapp-gcc index 110042c..d91249f 100644 --- a/config/defconfig_arm64-dpaa-linuxapp-gcc +++ b/config/defconfig_arm64-dpaa-linuxapp-gcc @@ -43,3 +43,8 @@ CONFIG_RTE_LIBRTE_DPAA_BUS=y CONFIG_RTE_LIBRTE_DPAA_DEBUG_BUS=n CONFIG_RTE_LIBRTE_DPAA_DEBUG_INIT=n CONFIG_RTE_LIBRTE_DPAA_DEBUG_DRIVER=n + +# NXP DPAA Mempool +CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=y +CONFIG_RTE_LIBRTE_DPAA_MEMPOOL_DEBUG=n +CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="dpaa" diff --git a/drivers/mempool/Makefile b/drivers/mempool/Makefile index efd55f2..bfc5f00 100644 --- a/drivers/mempool/Makefile +++ b/drivers/mempool/Makefile @@ -32,6 +32,8 @@ include $(RTE_SDK)/mk/rte.vars.mk core-libs := librte_eal librte_mempool librte_ring +DIRS-$(CONFIG_RTE_LIBRTE_DPAA_MEMPOOL) += dpaa +DEPDIRS-dpaa = $(core-libs) DIRS-$(CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL) += dpaa2 DEPDIRS-dpaa2 = $(core-libs) DIRS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += ring -- 2.9.3