From patchwork Thu Jan 25 09:53:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 125801 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp1032558ljf; Thu, 25 Jan 2018 03:03:53 -0800 (PST) X-Google-Smtp-Source: AH8x2255doI1+rbg0LC/rTI114SiqGrIHz4NKYVOmMsO9EcaBeknPXIM6/Jfg0mfACHRWki3T1G4 X-Received: by 10.28.51.146 with SMTP id z140mr7732574wmz.78.1516878233065; Thu, 25 Jan 2018 03:03:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516878233; cv=none; d=google.com; s=arc-20160816; b=fEhdikmdwbEDD8ytIS/iOpf1JZoP9189rw3QiJbQ30rC74kdYyzUgPAPze5zTA83b6 eL5fRyz4DLvpiCpGThOelJh22P4VfkDlF5bMkX8vgqyv8ypdytbiAkeEjCPMH4eaqdGc nhEc4hRHnVpLSBqTBka9fziWb4U2ppccrWVewwWcYxqE+gGXKTwdc7mVD+Wc7QiJb2+1 3aNi1p60oTo9XXFjyGXwD9t2o7PvH0OWjdeKZ0qq/oZa3ArpkB08dPXVD7HJYjXwHYFb NCIMz3LJ9eBRT19QSxBOdP94lAPTmSX3nj8EyT1G/HjKJf262Icaily8FqTU0RxU/ZLv T2gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=P7GrQTAyBQHoRq1VLeWSm61tMVdzFlf9FnYgYrPLlu0=; b=OBA5ZX/JWk1xi8ZdNq+Wypm/zTGqoHhmZQMZXr+Pnce8NaTaOrBBejFhPpSYRi6rEu SpKg9UQx6D4+KO5vbr/O/qTMG0yqnNBC9mBfWBykqaW+HkElbwnFqZUFf1l73eFYIktc euIwsMYjnV+gTs2DaKHLnRAgMGCFuUEoaje0PTAH10SFdDtp66fNxcfuCwUDOjOq3VTy 91lchLyQk6e7ObgU5jdNCxUwc4zDtAw0TF8QotVIZ7foHyaX3ju5nexZLgJYed4QDW61 M1zmmFy4EoMbtbGCCTT6AeOt4UMPqbH/Qwih8ujEhCU152nxyW6rqkiWgOqfp2msy+5i Jdgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id 5si695090wmg.226.2018.01.25.03.03.52; Thu, 25 Jan 2018 03:03:53 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BF09B1B1AD; Thu, 25 Jan 2018 12:03:27 +0100 (CET) Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0078.outbound.protection.outlook.com [104.47.41.78]) by dpdk.org (Postfix) with ESMTP id C31D8A49F for ; Thu, 25 Jan 2018 12:03:21 +0100 (CET) Received: from CY4PR03CA0002.namprd03.prod.outlook.com (10.168.162.12) by BY2PR03MB476.namprd03.prod.outlook.com (10.141.141.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Thu, 25 Jan 2018 11:03:20 +0000 Received: from BY2FFO11FD019.protection.gbl (2a01:111:f400:7c0c::162) by CY4PR03CA0002.outlook.office365.com (2603:10b6:903:33::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Thu, 25 Jan 2018 11:03:19 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD019.mail.protection.outlook.com (10.1.14.107) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.428.12 via Frontend Transport; Thu, 25 Jan 2018 11:03:18 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w0P9sfRA022450; Thu, 25 Jan 2018 02:54:54 -0700 From: Hemant Agrawal To: CC: Date: Thu, 25 Jan 2018 15:23:31 +0530 Message-ID: <1516874011-8760-6-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> References: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131613517991751751; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(39860400002)(376002)(396003)(39380400002)(346002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(356003)(68736007)(69596002)(2351001)(2906002)(105606002)(53936002)(47776003)(106466001)(8936002)(16586007)(97736004)(26005)(2950100002)(81166006)(5660300001)(6666003)(6916009)(59450400001)(51416003)(86362001)(8676002)(48376002)(50226002)(50466002)(36756003)(81156014)(316002)(498600001)(107886003)(336011)(77096007)(104016004)(76176011)(4326008)(85426001)(305945005)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB476; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD019; 1:t0M52HBv6ONFxQwJ+ph1SrnZ2pNt7R0z5dXgI9xePwOQvl+hpEOUELy4ME7ydsGMauKVWV+yd4XTWQSNIt9hQZ5m+Wli15idMMzJueE6xBAfwmy+c0LiD2rL9RUEhBSc MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3b230a3c-b2c8-419b-a577-08d563e33ded X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:BY2PR03MB476; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB476; 3:znX34y7GXIJ/C88Zn9vmAVCtEsMu/VJTTQtHRyYv29fT5RDEzWuib22OukLLIzqfQfKaA8aPH3rt4JPa+7kresL8/5I2mmrXqNCyjGJGaTlNBJ796GuVBV9uQkvUrt3njXB3qaWmoaY0q3Fk0EGyBJ9EfqP+ELhK1ZoB+tfkpNzmREIEPdDhr5e7WrSVG6ZMMbTXklWT4IKR+DF+lKefn6XgpSOo5ugAoivCZNiTPsOygrNaXFOLc8jOH1xthA9a4L+JHj/e0EYZWGBYIobej5YT/73zOKRwjJXU0VYURvgk9B1oDfXCWzZb1RONBF/MolYZvNjR3cN5v0wZ4jL1U1ZIASdDrC7LhNBoarHbuRM=; 25:s13wSpPm9ZXcpPSoWXr2PaNLUEpeBq3cpKYmXdExRNhP5wufMiTt20xh83sIPXQYHycNbet6WsHlExhA0bJFJs3EBzep7Z9sMVZGGbi0Uw58MYbRvG3/2brz68Y50X7LTe9GF4N0CC0o24qexSP2iSwWPAmPiH1eG7cRT76xPLavo/KBCiqkSzsnfMT++QYWP088wPNAkwtm5Zw/nOcKyBenwDktHYIQZV9e+21DwKMo4zN9ig0EvIeMQDXGdNmqEEzFRC9twUWItiiw+T/o8d0optORUVC6HtVVh7yQEMtI0FZ8JEc5ns06G9mq6Yb+A5sx3+MLueyLPtS3YosZ+w0SLvACLEsxs6NLzNYB4J4= X-MS-TrafficTypeDiagnostic: BY2PR03MB476: X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB476; 31:g/grt7b6KPKE86w4HRwviE/y8I5TcyhIAO0wYBHA26NVcJtO25Hey8TlAhj9HmCodOiNI/625R9kKXMaBCCEbXPIixixZJIyoCVI7cJF4TrI585VyqwJc4NhSwgJv8NCkIyN8TptsPr9SQoGRtPbDIxf3BEBHCtqNaENc6ndWo9z6Qmw65/pGFADevaQUEoj+J6dbNAeqsgcIJpj3Ts1cLmLRlC/4FpCeqpagtJIucA=; 4:FmmtwGyKpP+Sy/mrhK2Dx/NID7MgiCtFBfXNu2RTROSTlwL5kZrIivCIF0XPsyRkTO04wrnYMlT2MHQTWhGjp/1EGxmBb0D1BdSb4WCaRjzqbJbkwrSX6mwL7VeB3UzDl3yI1XaiUXUAxWdnHIASNZ/ECS2OS6ort00zQdJRnhKxyQyhVtrZKjPZoIOj5AOn/Fz9X6irLCmKI+0YHgR9D1EQ9qVaSs1NCyzHl+wJkow51C/i7wM75pf4FR5ykTge1xK9pumI/HbJdbQSyiff7nCHpt563n4sXUELAkGDR8f9JhVzjO2YO3PjsxyoVupP X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(10201501046)(3231023)(2400081)(944501161)(3002001)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131433075)(201703131448075)(201703151042153)(20161123556025)(20161123563025)(20161123561025)(20161123565025)(20161123559100)(201708071742011); SRVR:BY2PR03MB476; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR03MB476; X-Forefront-PRVS: 0563F2E8B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB476; 23:1lkX28a/At1HPS/6AeD7rYVIVD4xxwBYdgrTZzBAqy?= 6GFZFmmSIe0oItdqcRc5eI6NXec+FuK96dFwvIponbJmJfMW2ICOc6R2RVITGhL20eiQKDM0m84QFARG3aW5IFp401ZzCmHFPXI/VY86E3+Y6Fs89HbNKLE8HC00l+9jJ9ykW6rIlbB+7ejMxP4eMw2UM8+M1EKuvomlBMsez7zHeumdR+Q1LFjfIMOXoqxS4SSIcec+mtIVcWgbnV/b9hC1dDAu2ukRIc4O6/rlSSBw+XKa1gvFZsdjfQbFE5LvPEdHJsR4M9uSK9AHtuJrgOfTVplODxQt1hyJ2/wk3RzlIH+WsEZhhYTUvWWwMgjT2CDlffO3M6piYSk5VVOMdNtzLcQ4gUj9RIx9KlCCJIC+ijABvnlchG1nMySfpwEXAhe+mXTv6N+yt9WV6wwwsYtIeJlRB77KV2WErZ6gfi+tOYb6z2eVYs8An2A/nA+XfXFlg+O5p9Xuv3TGoecvZ+AmTyjLy/tE0Baokx3MQbshRDk85q2NUXjVtBhiovWGLmMr8L+KsIZawqYoykMUyOO3nBup4epfZj1rc3ST+GUvItPMF/VnBHS92Kt4bK8ChO2G+VZef5BSKkWr2GegOIivQUASJgeQ3c5iB/tSXg7a0qp8TocIE+8DI459+HvIPtxrkKVnTHMDtDmh3x9g/wbZ5TItnpo4aIv5sSvAmJS58wlZxJRr2VnCqs39VzsoNgwQpj6S7foXD1WJKZ62lPPRZayyKPUZDulDoM5bkd2p7qOfXiSAqTCXIj5do5AoXmK6qDpSgRQqNBrsvNmUI8q0L155QOR02XhgNElis08y6ePZV+VN0PRrw3Y+Rtrq8ijW8lX/UeGfjq1ieqkCch5wf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GvPJmc4hwdL2m/eN8p94YaZwxR5dMzgKrZVhSUJZQhgbb7Act405aARBoDD9+9PvF8bOfBWZUi4FglTQvIiWCxysPXYV4oo6KdRUNaoZjIjKaz5a2d0AEMvdjOoe460bch0C4RtspysSZW6nD/xaYn8PV7UbU57h7G0HFKUnx5y3gMfQat6Co1qBbJVrjdF6/US0N5LXUXyMBxV2tuCaZ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 11:03:18.9567 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3b230a3c-b2c8-419b-a577-08d563e33ded X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB476 Subject: [dpdk-dev] [PATCH 5/5] config: enable dpaaX drivers compilation for ARMv8 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch enables the NXP DPAA & DPAA2 drivers for ARMV8 targets. They can be used with standard armv8 config with command line mempool argument or newly introduced platform mempool internal registration mechanism. Note that the dpaa(x) specific config files are still preserved to continue customer support. They also contain some of the ARM performance tuning flags. e.g the default ARM cache size of 128 is not optimal for NXP platforms. However, these configs will eventually be removed once a dynamic mechanisms are developed to detect the performance settings. Signed-off-by: Hemant Agrawal --- config/common_armv8a_linuxapp | 58 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) -- 2.7.4 diff --git a/config/common_armv8a_linuxapp b/config/common_armv8a_linuxapp index 790e716..572db11 100644 --- a/config/common_armv8a_linuxapp +++ b/config/common_armv8a_linuxapp @@ -34,3 +34,61 @@ CONFIG_RTE_LIBRTE_SFC_EFX_PMD=n CONFIG_RTE_LIBRTE_AVP_PMD=n CONFIG_RTE_SCHED_VECTOR=n + +# +# ARMv8 Specific driver compilation flags +# + +# +# Compile NXP DPAA Bus +# +CONFIG_RTE_LIBRTE_DPAA_BUS=y +CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n + +# +# Compile NXP DPAA2 FSL-MC Bus +# +CONFIG_RTE_LIBRTE_FSLMC_BUS=y + +# +# Compile NXP DPAA Mempool +# +CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=y + +# +# Compile NXP DPAA2 Mempool +# +CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=y + +# +# Compile bust-oriented NXP DPAA PMD +# +CONFIG_RTE_LIBRTE_DPAA_PMD=y + +# +# Compile burst-oriented NXP DPAA2 PMD driver +# +CONFIG_RTE_LIBRTE_DPAA2_PMD=y + +# +# Compile schedule-oriented NXP DPAA Event Dev PMD +# +CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=y + +# +# Compile schedule-oriented NXP DPAA2 EVENTDEV driver +# +CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=y + +# +# Compile NXP DPAA caam - crypto driver +# +CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=y +CONFIG_RTE_LIBRTE_DPAA_MAX_CRYPTODEV=4 +CONFIG_RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS=2048 + +# +# Compile NXP DPAA2 crypto sec driver for CAAM HW +# +CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=y +CONFIG_RTE_DPAA2_SEC_PMD_MAX_NB_SESSIONS=2048