From patchwork Thu Mar 1 07:33:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 130127 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp2483000edc; Wed, 28 Feb 2018 23:36:59 -0800 (PST) X-Google-Smtp-Source: AG47ELtsIwJt8RBguuUanlsos+V8TOIsqrcsI0manfX6kXXDslz2PN9+LxDRlX5mrxTGIUIqggOK X-Received: by 10.223.201.15 with SMTP id m15mr721398wrh.54.1519889819439; Wed, 28 Feb 2018 23:36:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519889819; cv=none; d=google.com; s=arc-20160816; b=rwPRGQq15hZ9UqLEVH+BTtE78x4wKJJBJNAQkeDIJja6KixETdAZNISJwNHvSLko2Y wZsWClmeDuTOd9C6+w91VsNObGFBsY4UKj7OYrmYGJKXwgqmUsEFdEIDXPwlkMVqTIXc iuZLvrL+6JJ+iPIJZ6ZUgqfOFRDUSLxByMKGQAbs/iaCQrbr1QSjBDCOpac5D+zOHUBB Hk4SwMx8voR3e/DYAlmvKbqq1mHhNsvDJYRowTf5j0U2gzBl2R6HPhMrRl5+wN+PScRW Xt8TLIzAYIFZCwoC54VmvxzhcSzRn1l+QmJZJm4cnncCN56cepx8kalGA3Gss4Cr38Ew NaLg== 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:dkim-signature:arc-authentication-results; bh=p28W44uPztUcQIz+mHw+JraH43KuzqXPpw5JzJY/2JM=; b=bf6TKRR5hKQZdhOI31RfHXVtMFodu8FQbbrWybbk9Q0HTO9hqCso95UwRc5KjCjqka nBL/650V5IDb0kpn5XoK2zKGH94CoSYZf5EPZ25VLtRlXg4/Mnm3v9/GfzayEyalzILr URJeBI4RQKumYu1oNf0IWJSCnyvBSnwljleZjb9tIg7OWwAcAEMWzriLKSyTIZsQzYbi dlHYDhK3Gl36kBGSdikH1TfeCXgjrOoRui8TxtlBQzZqxSUXYoA9Hoa5rbIGugF1hJbe 3KleX3vzfMqoPaa/hM/o8qIhaAc319a9oIB6nDAWisdidgyp5EjS4jZyEZUyGg/8vMjf mHDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=JU8lYj7t; 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 o14si2508654wra.361.2018.02.28.23.36.59; Wed, 28 Feb 2018 23:36:59 -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; dkim=fail header.i=@nxp.com header.s=selector1 header.b=JU8lYj7t; 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 EBE2A5F36; Thu, 1 Mar 2018 08:35:07 +0100 (CET) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0085.outbound.protection.outlook.com [104.47.2.85]) by dpdk.org (Postfix) with ESMTP id 203D15F18 for ; Thu, 1 Mar 2018 08:35:06 +0100 (CET) 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=p28W44uPztUcQIz+mHw+JraH43KuzqXPpw5JzJY/2JM=; b=JU8lYj7tl97jD4dXg5zBnMolwWh7d1GgdQxAEYjSfS5oZSgEDVqrr9UFc4E/w52SVqzYnUDhOdR3htPh04bheaSkf87XxLUU8H7TYXnMv8t7oqh8Clwy+z5ruwMR4FeLQTwGe3fx1+34NFd/Bh1D8NHLrUFNtpDSlt64oYjCN5c= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Thu, 1 Mar 2018 07:35:04 +0000 From: Hemant Agrawal To: dev@dpdk.org, bruce.richardson@intel.com Cc: thomas@monjalon.net Date: Thu, 1 Mar 2018 13:03:15 +0530 Message-Id: <1519889597-5805-9-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519889597-5805-1-git-send-email-hemant.agrawal@nxp.com> References: <1519752352-15442-1-git-send-email-hemant.agrawal@nxp.com> <1519889597-5805-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: PN1PR0101CA0043.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::29) To AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4238b4d7-48cf-4c1f-80b0-08d57f46f370 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:AM2PR04MB0753; X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0753; 3:79DifHLh0DFZfvwTuw4zc5JAfBqu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aXJPNByl5KTHK/PeClYdpzALJWoZER8PF+tFtIscD4Vo/c+gQk8/AzJJ+ay/xp2JY69UVqE9O5zhQq0VDBhRqTMXYJhNkLbWkLfqTNGYTFteLs0ad+5VaX7GiB2ufHMqVuEZXrVG8M6vFC+b0x3clVOCmk4K80YQ0Kw5szy2SwPm8Sf+0JrcxL0iL34D/bIlhIpd05Ey6IxDvvA9O3980F4pAnvYz2sMd9MAhTndj4C+UAInMri5iT3oN8T0hJUniFjjWxaipSDJbZP8bs1vZ/zkTvriuIDpB+IUOS75M6tVEzQJWrxOENHNjlLqwgHh; 4:+YT8j4InnVuON4ApmthsNLjl9supLNLMNLTgh4MvTTNU0lj9JrDlP+bawKB04vL/xiHIINrzOxH6HSnuacwgf3lzoMaVVmqogzfMeKvhCLpev3rqrAPanA0vaPVIRjB2rWemFzmuzVK5X7R3pok7FYQYAejWvjdpCtBNpC/kQBuxaPUPFGR83ihc/8phZe1Y0dzws1Iy8EF7X7jtD5Zdeib852IXTrVgZ2uNuxVpbbJHj/+lhgVaOJPx0kwFAuiYk8153jA9tApbyP8B3VvrI+T/mJHMcKbvi/K3oX8AdxE4FoFx16G/ns2MqU8JMtDp X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(3002001)(3231220)(944501224)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:AM2PR04MB0753; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0753; X-Forefront-PRVS: 05986C03E0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(396003)(39380400002)(366004)(346002)(39860400002)(199004)(189003)(7736002)(8676002)(26005)(16526019)(386003)(55236004)(106356001)(81166006)(50226002)(47776003)(81156014)(6506007)(66066001)(8936002)(16586007)(316002)(2906002)(4326008)(25786009)(6116002)(5660300001)(3846002)(186003)(86362001)(305945005)(6512007)(2950100002)(6666003)(97736004)(50466002)(48376002)(478600001)(5009440100003)(52116002)(36756003)(53936002)(68736007)(76176011)(51416003)(6486002)(105586002)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0753; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM2PR04MB0753; 23:ZzYYR33QSnqxu9FdEIw1VNS/MIEWTJ4DGXXm7iWtA?= 7E3LVzlCe0xYtol5m+FMcJqnIfBLbb4nOcCTAD8i5C3Lfieb05E+3N4QcyeJ1ylS8jpQstiugitgGIxY2dAUSzDO1U7BdXLdF7ZX3S10jObqJKV2i5iUw+H0RzdJba0z1EdNDnHRMb2dheclQmrxvR6GtdE6AmMCJ4vh+owvd8hzR5bfOadbVt49kKBMNij7pQXFWH1hMZddpeMt8wELBf1xNrp3F1Se6f92kE1dIfiLCJe2eZdCZ3zUGGT+UNPZHuW/XqFTyMWQmOlhirPJLFTltuF5AaKLTU6T3S/CA0qI3t/cSwi7BTjqU/i8qkiaUDKVjIWK89CLetNsdUdXfrMoELAzlBkx3LRxsGFJ6quKIyRe2B58SYA6JKivlHwXkdddJ6zXKl1WmTz6xf4cYXTMOdGTr9qrQw5VjyZWRLjbjRokZK22Hmm3ttd16vJ5MaeFlgn6u6SfZpHxR8IAgp6dmDAaZDpmWUQPXmapaYlbPfRMDiuetiU67CDvL1kMFh9WLLmy2/oVO3ysJVto0efLhU7vw0+OsXwWEQMUUdZUCfKObTq3o9TR/5LEroFxTH41uXyYC+AOHMWTn3DCDDJNs1gjKYwqqBqZVwLH6/k1WTWUG8SdKxSo2AV+spyHdhvYDOX/KDhwr1j4FP1C4+e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crsOaWf/ppm4GCC0C9xNkjJTKt5g9aRp9RYkjMcHnFbS2WK9qHYXutFEriLfOiGA0nwdfTfqD18A=; 7:ZVy+ukWlGl9YVx/+IPv1jKECyYoYUkEa7UEnqDxFsdokgUEse7E7iXmdsZ8EYMPejE+kvVAKjl2k2oxp/1As2f4vDOHd17fwpI9ICD2UzfA8sWmshi0VT4QLSEhhxCRR9JLoQioJPOXAxqTLxApS0IYUT1A2+idKZxbFooOfMuUD5/aAQHWi3VDeqR0N+aw3blQJoj29xRCYpf1XnV5KmfUZ65KyM7faiesV3GL3eUjqYfgzGq4V0bL2B6SgXubw SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2018 07:35:04.3811 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4238b4d7-48cf-4c1f-80b0-08d57f46f370 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0753 Subject: [dpdk-dev] [PATCH v2 08/10] config: add dpaaX build support in common linuxapp 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" Signed-off-by: Hemant Agrawal --- config/common_armv8a_linuxapp | 58 ------------------------------------------- config/common_linuxapp | 37 +++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 58 deletions(-) -- 2.7.4 diff --git a/config/common_armv8a_linuxapp b/config/common_armv8a_linuxapp index 507b28a..111c005 100644 --- a/config/common_armv8a_linuxapp +++ b/config/common_armv8a_linuxapp @@ -36,61 +36,3 @@ 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 diff --git a/config/common_linuxapp b/config/common_linuxapp index ff98f23..275c033 100644 --- a/config/common_linuxapp +++ b/config/common_linuxapp @@ -23,3 +23,40 @@ CONFIG_RTE_LIBRTE_NFP_PMD=y CONFIG_RTE_LIBRTE_POWER=y CONFIG_RTE_VIRTIO_USER=y CONFIG_RTE_PROC_INFO=y +# +# ARMv8 Specific driver compilation flags +# + +# Compile NXP DPAA Bus +CONFIG_RTE_LIBRTE_DPAA_BUS=y +CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n + +# Compile NXP DPAA Mempool +CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=y + +# Compile bust-oriented NXP DPAA PMD +CONFIG_RTE_LIBRTE_DPAA_PMD=y + +# Compile schedule-oriented NXP DPAA Event Dev PMD +CONFIG_RTE_LIBRTE_PMD_DPAA_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 FSL-MC Bus +CONFIG_RTE_LIBRTE_FSLMC_BUS=y + +# Compile NXP DPAA2 Mempool +CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=y + +# Compile burst-oriented NXP DPAA2 PMD driver +CONFIG_RTE_LIBRTE_DPAA2_PMD=y + +# Compile schedule-oriented NXP DPAA2 EVENTDEV driver +CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=y + +# 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