From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0055.outbound.protection.outlook.com [104.47.40.55]) by dpdk.org (Postfix) with ESMTP id 52EF510DA4 for ; Thu, 22 Dec 2016 15:51:52 +0100 (CET) Received: from BN6PR03CA0042.namprd03.prod.outlook.com (10.175.124.28) by BN6PR03MB2466.namprd03.prod.outlook.com (10.168.223.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Thu, 22 Dec 2016 14:51:50 +0000 Received: from BN1BFFO11FD005.protection.gbl (2a01:111:f400:7c10::1:113) by BN6PR03CA0042.outlook.office365.com (2603:10b6:404:10c::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.789.14 via Frontend Transport; Thu, 22 Dec 2016 14:51:50 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; 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 BN1BFFO11FD005.mail.protection.outlook.com (10.58.144.68) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.789.10 via Frontend Transport; Thu, 22 Dec 2016 14:51:49 +0000 Received: from netperf2.ap.freescale.net ([10.232.133.164]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id uBMEp6TJ013482; Thu, 22 Dec 2016 07:51:46 -0700 From: Akhil Goyal To: CC: , , , , , , Akhil Goyal Date: Fri, 23 Dec 2016 01:46:56 +0530 Message-ID: <20161222201700.20020-8-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161222201700.20020-1-akhil.goyal@nxp.com> References: <20161205125540.6419-1-akhil.goyal@nxp.com> <20161222201700.20020-1-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131268919103291443; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(336005)(39860400002)(39450400003)(39840400002)(39410400002)(39380400002)(39850400002)(39400400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(104016004)(8656002)(92566002)(85426001)(105606002)(106466001)(110136003)(47776003)(86362001)(6666003)(626004)(2351001)(2950100002)(5003940100001)(69596002)(76176999)(5660300001)(50986999)(6916009)(50226002)(33646002)(356003)(97736004)(50466002)(189998001)(4326007)(2906002)(305945005)(81156014)(8676002)(81166006)(8936002)(48376002)(68736007)(1076002)(38730400001)(77096006)(36756003)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2466; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD005; 1:1wpeXQ+7X2GNGrCv9uEIihRcjIqmglvJU61Sl1k5cjZxc2mTQ/m3IN7tD97MyOvZu0ceK4LN5gy3TCx8XQjYhXpbbuAcRJgMsnqaReAj5wz+AB4mehs326baiSPLD/NAJN6PChbcBPIIGey1TayXzc1/mpYN9jhtTfAL0SWF0sceWLqyweWG67kTpbI0z+MEEQMt3luMmrMoh8OWBBTGTzDCwWksqpOkGiT1K3K5w05h2SUQOs0W8QilAF3qFZICvZFTdpMlUfjoDP3Fejjhc0hEUekrOHnaaCnLJDOVKHARqPHWFV+zv5AjSCaXM/eBmYMBzqfAOs3YL29AX9IWOs/ypfBYPRE339GkbpnNbsMwIb28FjFSQYE6pc1h9cvsHizTq4uASlsEu3B4e9rH/59RMMjFksKaz815kv4VM7qDlchH3V4gVPzsVD88NOP6P1AEdTnQGnSZbd078SlGP189bUIfeuc35Ugh3+BAIh7/vzem6zaiZvBRUjBBIbxkJXyQCDWGFBJQCHzg6m7YSQU+j8kWYmrsJd6a9rRaHQxDYsATC8Gvrd4Yk3UcctJeoSuR9JxgzE8tVRmivwjgMVQvHy0BA2STEliSPwFGSQG5/SVdDLfbpHu29gYalMp/yrUjPxPCpx0t/ibPr0+I7X0EhBnW3c5oBdK+6uWCa/lObp1n/u3mLjPjMv/R8y5DG1urd5yj3JjYQy1iRZv7b9iDjfolqSuTd9WYQBZMVu/VPz3yijHVc1sb5yYsJkZR4ULvW2NntQgqEnr/cTORNQ== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: cc9d5fee-c107-45fd-7533-08d42a7a0f97 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN6PR03MB2466; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2466; 3:59wSjxo2/jYs5oN/hoUl7yGrhL3a12xRSx0Y6Zd0D+qPjcgYEMLthdetm5gMzDhGSTwmZvi/aDh/9ViSa7rbn4w30kgqr1cIEswkaLX6JlVI7eud+ZVroQXH8BNUQe+36uX3mo9m3daA3sMVf5dP3rVqMhv2vxtcrekBDom98MK9F63XVFIk3M6+t0vWozkL2PFzg2xnQm2tcTNs6eliJKNnzcEUrBraWbnmnw3/HFz1w5s4mNjkH5tp3Kfn+JYBukkpppRDRFfJJJ8fqkBtgg1i9FkxJmEz13+YWpl+yjxvLo2c1XpsIbW2IkX42h1nUBWb2c2RwxgkA/VaA+JbwihKRTh+Fw1x8HBDEZ5WTt8=; 25:Ei7Oe9qUQFTX2E4ksCUyrNJVRSmIxLNiCGowikv0M9tpTUN4YGbmCF/SNtoaPB/KrU8lHsNwx2RO4CNbEryvwhztHuZ19c1KoRB/QmtJYollrZNXAicUKFjrr7hT6yax+UVnOt5XoovQY1RQCNPjnCj5kmBCf8YXSOBsSWVv33u/UUbxya5YImh+pZ7TndUdyPN0m5zTi5AliDlCkCNG8MHpnq/RjCM8bdRQTRaBswo9ifPE9IYa8+CWIdTdka9/K8sB3rOcztlTkdaFIv813gTydjJK+5qWGidtJct9zGUxWxMpcn2hA3Q8r9hT1bin8CYWtqrOy9kBUywJC9qvOFlKhfioLuYOfFKBo0+mRiJ8ZPcyeK+ibzpKHeebOvT0QgfPm78sLz4dHilbuAOmwmH90K8mq4CYnh8EHSggp0mjXQgO7zxA/botQLPoTqrkanaVF6wx5M5qkv/NnAtsTg== X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2466; 31:CupIcywG1pzAkE43a1BoI1EDiifThqZMgMHe9YsNm9plrL5vDg9NkpT3dzhnxXSKiVnvGOv+NQ3B/Mwa+orG6wESzLu0cowSTnF9zAEeMSA8619l+i2f0HQ1XFbAezcPJ6vliuJyJn1NECzcg5bZ646RJI/yNSmbQuketRVBO0Phv8Kl4cg68eumTUoZ7ZzkrO9xx5DRyrWDmR+8wMafcz5LP989ae7Qz7qge10en8ZjRi/t6BlspiZC7S7nGaknvo76WkIvUHJ2a4Cj3ktGlg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13023025)(13024025)(8121501046)(5005006)(13017025)(13015025)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(20161123556025)(20161123563025)(20161123559025)(20161123565025); SRVR:BN6PR03MB2466; BCL:0; PCL:0; RULEID:(400006); SRVR:BN6PR03MB2466; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2466; 4:E5WqIT8YY0bFqv7KDaXZQvD+i8NyWOZsCNivRZfA4zOOJVVmLcuVnwE+PKudorvc0lxvdhX2lKOqv+c4wIkUetyWjCBjiR3MpNjjpy8mXR7Sp5FrkZU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: 1; BN6PR03MB2466; 7:fmZe9XlMVYug6Tan8U/TxvM++bRUZH3rOnwhyvOpkhrCVl4bcSc+cmKCUeSYeAxHTdL/wYTbLGR9ANZEoLk22lOoKP7N9pUkpe/7IK3SKqW6TfXdVl9HVEgdXjIFI9yXEP1qCW6BFSR6CYt9nRWbQGwzkMn4DXJk97jQ3/uHOJ+eTo9yBMTwCb3bWbXRlzhMYnnF26Kdy2movXawG1riK6dUgDRJqUgi1deHVjAJWOFA4tm1F/3sLOV2q+s0bKavuT/ae5vCQfHWe1jiIwXnB5YKYG9Cfu+sfvdFsLW33USD1XszaGFOGRpKtyU1NtRXc1weNN1ovx556VZvD4fjLTozMBAtUSWhL2wngp37xA9cBiQmuZDdbveITfi9hV3QCE0n58Qn7/SyJ1SEx+zMkoTERraBNGOtQynm8hpfmynfZoMxCg0sMk5MSqMyUn5Dx8RSbS/57+fzJZT7bm0EYQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2016 14:51:49.8611 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2466 Subject: [dpdk-dev] [PATCH v2 07/11] crypto/dpaa2_sec: Add DPAA2_SEC PMD into build system 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, 22 Dec 2016 14:51:53 -0000 Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- drivers/crypto/Makefile | 1 + drivers/crypto/dpaa2_sec/Makefile | 74 ++++++++++++++++++++++ .../crypto/dpaa2_sec/rte_pmd_dpaa2_sec_version.map | 4 ++ mk/rte.app.mk | 7 ++ 4 files changed, 86 insertions(+) create mode 100644 drivers/crypto/dpaa2_sec/Makefile create mode 100644 drivers/crypto/dpaa2_sec/rte_pmd_dpaa2_sec_version.map diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile index 745c614..22958cb 100644 --- a/drivers/crypto/Makefile +++ b/drivers/crypto/Makefile @@ -39,5 +39,6 @@ DIRS-$(CONFIG_RTE_LIBRTE_PMD_SNOW3G) += snow3g DIRS-$(CONFIG_RTE_LIBRTE_PMD_KASUMI) += kasumi DIRS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += zuc DIRS-$(CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO) += null +DIRS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += dpaa2_sec include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/drivers/crypto/dpaa2_sec/Makefile b/drivers/crypto/dpaa2_sec/Makefile new file mode 100644 index 0000000..4882406 --- /dev/null +++ b/drivers/crypto/dpaa2_sec/Makefile @@ -0,0 +1,74 @@ +# BSD LICENSE +# +# Copyright (c) 2016 Freescale Semiconductor, Inc. All rights reserved. +# Copyright (c) 2016 NXP. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# * Neither the name of Freescale Semiconductor, Inc nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +include $(RTE_SDK)/mk/rte.vars.mk + +# +# library name +# +LIB = librte_pmd_dpaa2_sec.a + +# build flags +ifeq ($(CONFIG_RTE_LIBRTE_DPAA2_SEC_DEBUG_INIT),y) +CFLAGS += -O0 -g +CFLAGS += "-Wno-error" +else +CFLAGS += -O3 +CFLAGS += $(WERROR_FLAGS) +endif +CFLAGS += -D _GNU_SOURCE + +CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/ +CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/ +CFLAGS += -I$(RTE_SDK)/drivers/common/dpaa2/qbman/include +CFLAGS += -I$(RTE_SDK)/drivers/common/dpaa2/dpio +CFLAGS += -I$(RTE_SDK)/drivers/pool/dpaa2/ +CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal + +# versioning export map +EXPORT_MAP := rte_pmd_dpaa2_sec_version.map + +# library version +LIBABIVER := 1 + +# external library include paths +CFLAGS += -Iinclude +LDLIBS += -lcrypto + +# library source files +SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += dpaa2_sec_dpseci.c + +# library dependencies +DEPDIRS-y += lib/librte_eal +DEPDIRS-y += lib/librte_mbuf +DEPDIRS-y += lib/librte_cryptodev + +include $(RTE_SDK)/mk/rte.lib.mk diff --git a/drivers/crypto/dpaa2_sec/rte_pmd_dpaa2_sec_version.map b/drivers/crypto/dpaa2_sec/rte_pmd_dpaa2_sec_version.map new file mode 100644 index 0000000..31eca32 --- /dev/null +++ b/drivers/crypto/dpaa2_sec/rte_pmd_dpaa2_sec_version.map @@ -0,0 +1,4 @@ +DPDK_17.02 { + + local: *; +}; diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 1f1157f..348d299 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -143,6 +143,13 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_MB) += -lrte_pmd_aesni_mb _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_MB) += -L$(AESNI_MULTI_BUFFER_LIB_PATH) -lIPSec_MB _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_GCM) += -lrte_pmd_aesni_gcm -lcrypto _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_GCM) += -L$(AESNI_MULTI_BUFFER_LIB_PATH) -lIPSec_MB +ifeq ($(CONFIG_RTE_LIBRTE_DPAA2_COMMON),y) +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += -lrte_pmd_dpaa2_sec +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += -lrte_pmd_dpaa2_qbman +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += -lrte_pmd_dpaa2_dpio +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += -lrte_pmd_dpaa2_pool +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += -lrte_pmd_fslmcbus +endif _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_OPENSSL) += -lrte_pmd_openssl -lcrypto _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO) += -lrte_pmd_null_crypto _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += -lrte_pmd_qat -lcrypto -- 2.9.3