From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0051.outbound.protection.outlook.com [104.47.38.51]) by dpdk.org (Postfix) with ESMTP id 548B17D83 for ; Wed, 23 Aug 2017 16:03:10 +0200 (CEST) Received: from CY4PR03CA0007.namprd03.prod.outlook.com (10.168.162.17) by BN6PR03MB3315.namprd03.prod.outlook.com (10.174.233.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1385.9; Wed, 23 Aug 2017 14:03:08 +0000 Received: from BN1AFFO11FD011.protection.gbl (2a01:111:f400:7c10::147) by CY4PR03CA0007.outlook.office365.com (2603:10b6:903:33::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1362.18 via Frontend Transport; Wed, 23 Aug 2017 14:03:08 +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 BN1AFFO11FD011.mail.protection.outlook.com (10.58.52.71) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1341.15 via Frontend Transport; Wed, 23 Aug 2017 14:03:07 +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 v7NE2Q36004389; Wed, 23 Aug 2017 07:03:05 -0700 From: Shreyansh Jain To: CC: , Date: Wed, 23 Aug 2017 19:41:53 +0530 Message-ID: <20170823141213.25476-21-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170823141213.25476-1-shreyansh.jain@nxp.com> References: <1499179471-19145-1-git-send-email-shreyansh.jain@nxp.com> <20170823141213.25476-1-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131479705877941256; (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)(39860400002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(105606002)(97736004)(8656003)(33646002)(2351001)(106466001)(110136004)(77096006)(50226002)(36756003)(50466002)(5660300001)(53936002)(356003)(48376002)(8676002)(8936002)(305945005)(81156014)(81166006)(47776003)(54906002)(76176999)(626005)(68736007)(2906002)(86362001)(2950100002)(4326008)(5003940100001)(1076002)(6916009)(50986999)(6666003)(104016004)(85426001)(189998001)(498600001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB3315; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD011; 1:lzmKoL+HkBc8MPNJcMBchjdO/tXSOxT1Nz+WvTb4WgIBCX7PIK5khSKWcI9nqh8TvOfSiRc8Bx0ijSo0ATKxBYfmIv0eao7QiNBiRAkt+U+DMqaWK1bTPbA2l0vyZc2P MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 01fed357-e6a6-47a9-aaa9-08d4ea2fae7b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603185)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN6PR03MB3315; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB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DcK8Ca3eI0q8pFnUR/v2zt8reva/vXC8813CXU/Lw42cMbfIqd+tZdyj1Em0fYbkbzHVduCfRBT3ILNk+hqkTQ56iVTBudTS5dZLNNFQfBPQSRNwfqpU17+3fl/i7BapdUciUyAdCr2PmDc65OVut6cLPXwTK7LsHjPGgupfm2UCGdUwizVTrdeGnbCJQK9JL7Tn7l2gATEqbbY+6QD8Hpo29t2MG4/rY4yzWeMZBHiMoaG8DpilgFQiBkoezOlvkFgBjZHMZYCjVcJOwb1+y7rhTDJEaKa7IoVw== 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)(601004)(2401047)(8121501046)(13016025)(13018025)(5005006)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123563025)(20161123556025)(20161123561025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123559100)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR03MB3315; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR03MB3315; X-Forefront-PRVS: 040866B734 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB3315; 23:M9fvyUEs2u9rMPRHYEt1tIcTKE2Htc9MMLi+VTl9i?= =?us-ascii?Q?B95pfr2UX7TrbEtNgOBfkbFtSErXpHyC9NCDSdNpjS250lKTPdUbRBadgD9F?= =?us-ascii?Q?cGagcRw3vy80rRNvCvSFoQmqsDKVDlzKZWxeC08ds9EGigtK4iRX5rewploJ?= =?us-ascii?Q?dc0WmAGssEEQRHg7WbRo1RBgZZeihfM1t225ZLVuzkqrE6FSVHHlnRLkN4us?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TC) 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: BN6PR03MB3315 Subject: [dpdk-dev] [PATCH v3 20/40] 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: Wed, 23 Aug 2017 14:03:11 -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