From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0051.outbound.protection.outlook.com [104.47.37.51]) by dpdk.org (Postfix) with ESMTP id E6DB11B1FA for ; Thu, 28 Sep 2017 13:23:42 +0200 (CEST) Received: from CY1PR03CA0042.namprd03.prod.outlook.com (10.174.128.52) by BN3PR03MB2356.namprd03.prod.outlook.com (10.166.74.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Thu, 28 Sep 2017 11:23:41 +0000 Received: from BN1AFFO11FD028.protection.gbl (2a01:111:f400:7c10::175) by CY1PR03CA0042.outlook.office365.com (2603:10b6:600::52) 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; Thu, 28 Sep 2017 11:23:41 +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 BN1AFFO11FD028.mail.protection.outlook.com (10.58.52.88) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.56.11 via Frontend Transport; Thu, 28 Sep 2017 11:23:40 +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 v8SBMpFu016035; Thu, 28 Sep 2017 04:23:37 -0700 From: Shreyansh Jain To: CC: , Date: Thu, 28 Sep 2017 17:03:24 +0530 Message-ID: <20170928113344.12248-21-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170928113344.12248-1-shreyansh.jain@nxp.com> References: <20170909112132.13936-1-shreyansh.jain@nxp.com> <20170928113344.12248-1-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131510714205461605; (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)(346002)(376002)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(53936002)(104016004)(47776003)(189998001)(50466002)(36756003)(2906002)(50986999)(5003940100001)(48376002)(76176999)(68736007)(86362001)(2950100002)(105606002)(106466001)(50226002)(33646002)(6916009)(1076002)(8656003)(5660300001)(8936002)(6666003)(85426001)(2351001)(81156014)(81166006)(8676002)(16586007)(54906003)(77096006)(4326008)(316002)(97736004)(356003)(305945005)(498600001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2356; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD028; 1:HFpvhlP77DqDIR0CFCSdB01Ei6T0oyBj/NieWIpoh8tBL8tL4D/+ae7eb9N1kDeRzOgd/fuH1p/Xt4rtj8loZ0W+JBoYFbx9ENteKTDLXtGg9N8K9CTVO3c4BJPTESFm MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3825c277-0784-4cf8-d15d-08d506635ec3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017052603199)(201703131430075)(201703131517081); SRVR:BN3PR03MB2356; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2356; 3:W96M4C3RX8mVvSKkYIRXOJYF2xLW3rvRTXVzuUiSP+Q/1PhhZPpb8I/Np46+p29IPF/1O+NTSt/YPbBkPNWql5i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YlPoerOVYdG6gs77RFKkx+oC3LLkfj6QXEWnwjzuDEyWENJANIMQS1ZX2K+AZ4wqjd1vIf39oqT+K5FZK6gxYeobQoONAClV7R5aaKdrKItuIUciJd169fYnxLrvAtu/he1d785V6EnN/JuRfyZ7DqDyNYAowk46klPf8irZIPJOUyzau6Bo7E8j8hXubo4oyt/wW2LkN3Gyw== 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)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6055026)(6096035)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123565025)(20161123561025)(20161123559100)(20161123563025)(20161123556025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR03MB2356; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR03MB2356; X-Forefront-PRVS: 0444EB1997 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB2356; 23:JkZsrqbyGLMkQG8zhvNZmlWSr4M0LjrdTfZgBhpGl?= =?us-ascii?Q?2ecQfrspbcUqOoqQy/b3N+i8TpPZVq9Fc+EPExnRbTFuswfPQPmew0ZcLK0J?= =?us-ascii?Q?v+9hQU05DoT5DwjfD4oPcv/m+MPLT6o20rma5SOfhMPtp5tXmwUauonfeyWL?= =?us-ascii?Q?yPdUTVzjvioyVHps9vJDuCCaRPN7wnGTlDhxo18k6R5K2HbYHAkL9gagcQi5?= =?us-ascii?Q?P4+O02I/QBxHXO9zPF1/fzoyZeyqDCavbFEvYuWbDzk6qJ0wi/V3/4fHQGYV?= =?us-ascii?Q?1DKLSvGJ967AM2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2enL?= =?us-ascii?Q?e+YiJmANBnTxrk=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2356; 6:1kaiY88ZXrPZhTND1T5N9fHhd7ZHt9in4uxipwQDsUHyTFFPzdrLn0+EmvbEyyif02t6xFPukjBDJHvuzSWU89Ai+puYYz16CFuIOGfhX0r3tcxESzL7oHJ6NBJVU/otxmcw7ybZ+P2N6WLDSplQ4rCCnMy2eDLFgE5TXQxAMUbXibQ4Sw/hOvPio8IuyeEIOK4XCoTNHpxJXmi84o3wajJjQOH435mDk5a4r4mGNC1No0oMUzlHOvC8o4GlSQnpZB1o4CDVzynR/ZHxUtVA1MgzTgPk/cfHgbQVog8sN2Qv48YKw3YLgI7KR+87XaN5xsy0GjJxGGqvRfeedOwtjA==; 5:u5ED3kn+TYy97nhJY6k/+2RGO5sfrZrLmn73Mj28boZDcZj+gACHeYoqNP1PFeLTMWL5nTR3yzRhyuvwoOqlkm3fAsFfx/z44iGuwtfIuxyl3XnW4xgGzcJf+JTBYcIYtxJ0tDzJBXp6LRZygvBn1Q==; 24:R1AK1LEriqYD46stHKT7vuiyYamdbGhEo6WIDY9nJ2ef8WTQR7Z9ISB76UicuobBXDF6/cxYU8cM8cZOM+nfYQwtDbLW742AXqDB+tK1hdg=; 7:w+NPpLynIeXVxneIuHu9ioVoICkGXzXa6Yao/SWkx0CZ2gbnIhrJH28SFpjPm+rzEj7XQp8mJpZrHMpZTtXXHw1+ypMqrHl7IrN7+U2mQ3f+bSn5evPdbzTqPgUzJvUqvZRFdks6SKc8ecs3qyNupjluNNE36phI7EE3UChrwGNZKCbNC/VK90OQO3STxALm7eLdhlQpenY4bLkZaZzyVRslTaGtJM+Q/caHzsSqZaU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2017 11:23:40.2497 (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: BN3PR03MB2356 Subject: [dpdk-dev] [PATCH v5 20/40] config: 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: Thu, 28 Sep 2017 11:23:43 -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 | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/config/common_base b/config/common_base index fc1cdca..fe287b0 100644 --- a/config/common_base +++ b/config/common_base @@ -303,6 +303,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 4d6b046..3e11718 100644 --- a/config/defconfig_arm64-dpaa-linuxapp-gcc +++ b/config/defconfig_arm64-dpaa-linuxapp-gcc @@ -50,3 +50,7 @@ CONFIG_RTE_PKTMBUF_HEADROOM=128 CONFIG_RTE_LIBRTE_DPAA_BUS=y CONFIG_RTE_LIBRTE_DPAA_DEBUG_DRIVER=n CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n + +# NXP DPAA Mempool +CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=y +CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="dpaa" -- 2.9.3