From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0083.outbound.protection.outlook.com [104.47.41.83]) by dpdk.org (Postfix) with ESMTP id DD48958CB for ; Tue, 6 Dec 2016 18:35:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=LKf7rcO8PDCeGlsbk4oY8lDgnxKaJdsYNNnGe0VIi/0=; b=X+Qg4JsOJSl2llLb2BAJC/zXQvU0d2uYykTUx68fO+cjD0xRzuB7D3p6upjxfRR+YsZ5ht/ZIXiEVGkMDUq9kiWEvvfeQ234SumEgOFmOSLyF37k34XqbvIuD3U7lT86p9/ENjtm/7kd22ikmMdiz2IMZA7OhIiQv+pLxwlnSCI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Zbigniew.Bodek@cavium.com; Received: from localhost.localdomain (31.172.191.173) by BLUPR07MB547.namprd07.prod.outlook.com (10.141.205.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Tue, 6 Dec 2016 17:35:34 +0000 From: To: , CC: , Zbigniew Bodek Date: Tue, 6 Dec 2016 18:33:01 -0800 Message-ID: <1481077985-4224-9-git-send-email-zbigniew.bodek@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1481077985-4224-1-git-send-email-zbigniew.bodek@caviumnetworks.com> References: <1480851219-45071-1-git-send-email-zbigniew.bodek@caviumnetworks.com> <1481077985-4224-1-git-send-email-zbigniew.bodek@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [31.172.191.173] X-ClientProxiedBy: VI1PR01CA0023.eurprd01.prod.exchangelabs.com (10.162.116.33) To BLUPR07MB547.namprd07.prod.outlook.com (10.141.205.17) X-MS-Office365-Filtering-Correlation-Id: f232ccf1-da57-4616-5a9f-08d41dfe48d7 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BLUPR07MB547; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB547; 3:urbudCvBezeWkTU/KUalPd3GnUkdUmC6AzxQRnPzGTgY4/LSI7b5tm8UPWLQWvdVlR8pj7qVUwoxlwZEgz0VTvXeGkp2BtQ9joa1TcB8EnHxGzRbUfveM5hEGd4MoC/fQnxq15x4pGWqQviNyBn1pTRy9GNQK6GCtLXBRyPtTnjAbxtaNJ49I8gUQndz1qNEsoPKQwueZ36lUfZF8HN3CDu2UReIyUn+zHoWAkYCA3dNYiq28/mN2pvF/+J+mBdMkVySyLs99DxLetII9RaEkQ==; 25:7KcrlBCgV4YQnMh/8dKZXlMWThNOMLruVuJRov5iCh87uZxGWm3HRObr/2Y0UcwvqRqJDDagySNyauWc5TxFnIES5UtBI0DiRfd1Rgmx5ru26Ya8S3q050IEtvfihy25fBi4GhFu+CA5PguKi7qZuiV/99LIIPKHbrfKRryDYxubV20EFJfRY2br2AZoxh8a5gjayr85o3KciUQ8UBXuQvgG+dOzfwXCa3WxzKlPwsdrS6ClhKBLm1Zwy7vcqBT2V7EQuUN8sYfyAbnztvEDxBGGeRwpisgyi09IUbWqfRYZrm9QYiTRydet8gg2UHJfqChOIZljpyJtPiIqA4o0xSXH3Jr9u3u5140bkcQpcAwOgzC5B/krzM5xvVHe1cjO/v+jgiVgTNEtqx1zhaahcuiQTIRTTPs9TVoToK5+Evqy/T5nYOY7bRi20uWiuq5Wk9R2r5tzBdmr+AGBSdkXww== X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB547; 31:RLWc3W1SlTxo+dZIs015JaDeKZEnZSP/KSh30OG3dZnvJRt9IRxFOMvJvFGQwkti+Fu4bdUOibq0hQwPpkRDLNJ1aaJR51mB2te+19vavlbGTazBqTN1N4+Hn2DSXGOMBtUiojc/iMhNZ/lG+VpsQXvP6cpu9CIAHBWiALLNpTAE+TBOTzqx4ZU455NQloUHirsW8YzmWesQt98GA0jQzT+l1FCoJ/Gzmb2BuyTEiAxfRV60nevN7wV8JudRFNaiPvP0dCGhaaul3D0QhL+72g==; 20:NShWNVdbvti+tSZEod1d309gRJqK86pImfuXYCzR+2E28CCB0OMhc4dyRD4LOh+akgXjs9vEDK6utDtTdUMwlfFAnD1rzGx4h9n2KuUY46l+ozUkrKfJcZX1m7Ai0R3PiqvVwXKphnMm9YejqtdxTBVCLCrnduYh6LvL22nc4TUbtRhypGSkZCLBTmMyGiexyWHNL0tlULWWXe6DKfrZ0Lptjinw/VNy0gVW0xDK4CLqMyGHwNE89d6ld4tl7im8YEUz7yS5L2Hjnndg8nWVJUhhoJBIa3jKBywOXI4PrwGH1rRrDIzrlda2zG1L10KEExCjcMsKEe+Y3A2N5ap9rcVu6TAzQLxoZF+8p/LIHAThc0mWPjxaHmNjlMPG5on3r4cppxTWejW/OQzN+OTQP0k6VPuVI+bpkIry8yj0WW7UdtLR23TKNwKhR89430WS6cDKPK085fDk02phNEiO4M2kv92k2M6sm4m1whUc6ES4kLsAfdiq1MCYFk5nTTIoOwYAmunbJdV7G5ZhO/mkOvMg7nu0oggkBIAByyqsbqr3ORXKGAMyTKXpXRzKrm1idfJv60OH2KR8p84uLzoUONmkdunmVoE6PAi0KeXnu9Y= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123560025)(20161123562025)(20161123564025)(20161123555025)(6072148); SRVR:BLUPR07MB547; BCL:0; PCL:0; RULEID:; SRVR:BLUPR07MB547; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB547; 4:o5X+jnJ41+qMgkKtqqLSge4NrB+55qaWMrxiWvyDWbk7/ALXPB6Bb9qOrOxI27R7B+AI0iOSk5lrVArP3UXvsbLfR9D1+HHrYMiQWbJKMB81vsN7dulfHXtUecZjnIY6cSVnlaJGGbi9d0Kc1C9pZpfqkrSY8nanWWQ/RKJ9fCrblX81dsSdchIUYYkhAQM/bZjpwEGVEC5Xt1g2VXckVkWWxreZ3upETtqoZMnjKVliFKRbj8VMNLdpX7iNY2kzY9KTOXBUVH0H3i3WuhzJ+tAQ9tB+QBbhsTz3y8ypLk4RLn1yuAno23Q0xJXaJevYpRbbVYURZMmPAuqhTuUmNJj9+ejCw9S6yGjvdJqr6yCiHIZ5a2FZeB+Yo3QMAP8nExNI0CKMOiqvMS3rruFVp11QjwPiPHHmRy0HICY1ClWDQSmJCe8KKKcTWi/lHjbITq7Pt7HBTAVGplOpQ9roIMTkHHzfyHVnqcDTOupPqjEnc1qQ1fgEHXObyTmSn/ImfdxrJPkCwCjFCWd5Dv+OZ4Nfjj3QtexKcUvnjbwAHDgetVQ4gD4qJwRhln0oTLXX X-Forefront-PRVS: 01480965DA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(979002)(6009001)(6069001)(7916002)(189002)(199003)(86152002)(33646002)(97736004)(5001770100001)(39450400002)(107886002)(575784001)(4326007)(6506006)(6636002)(50466002)(6862003)(50226002)(6512006)(6486002)(4001430100002)(189998001)(39840400001)(39850400001)(2906002)(2950100002)(2876002)(6666003)(39410400001)(42882006)(5660300001)(733004)(68736007)(8676002)(81156014)(50986999)(3846002)(7736002)(76176999)(106356001)(81166006)(7846002)(92566002)(101416001)(105586002)(48376002)(36756003)(38730400001)(5003940100001)(47776003)(6116002)(42186005)(305945005)(66066001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR07MB547; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR07MB547; 23:6PJbmkGZzLfdzIk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3s8f2RzPrVv/yanTSjG0eyJ/LmTugPJrNH+8ZCp9er4bsN+H2Y0an4NEovC2RC/4woFuG9yBCC9/OtOE9aMuc=; 5:KMsa4ZBxj68nfrv47mqQPVX666Lqznq111ruxwGXmfV/UOb2CDOhfbFEOnB43L6Niq4dHb74xR7kNZE8OcdSZIcF0nzH9vyw1Y9Qq+SBw5V4yn8nWvjLfbfSU1P0WChUYP0JD9+HwgP0VbFgmfY9Qg==; 24:buj4zDHocsVbPWUE8UYtwzgMQdnq7iMLFc4I6ir9q80GSFQcrqd5va8y6x3Xce09RbBRZg9DHgufnu8wDFsi3dSf3Nb3HX1CKZLTVVp12+A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB547; 7:bPRZC0wwFHutfyVKTFPiFSgl3257zMTXXajMlk5wt29qOZmsAY7tEqrmo2aJOKL3AGSeBccs7XIf7hSOvggEPeA3jL+gYWkrQsDuN+9HOOlfI6w8h8RYz0pTKysXh97pPjU9Kp8VarjUDARmc0lIr5y3fsZHk8SSAr0my5/Yt8pD4F3l97eh7XqvBzPoqf56yiWFKgCAfNLairQ6VdvLLSocOtxb9vVyCbKvYuIGz0g/fPOEzrqrVXN1wGCYygFLjjIMlcVq0JSCB71KszaQEJ//uaDmyFntQqVE1GoeVC2uUgjFWf2OXXsERXEwbTXhKnIW94eLEVN8qa5motF/83fhlH76G48orM90ntNKJfOc11VYeuTaph1eulnYg4uQTK8lvKdgGING/NWsZ21jVhtMgukJ77CeT8YOoF36vTA5+tmExBKF+JvGU2rotQIC8iHwWhRoSkd3XAgVm0SW+w== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2016 17:35:34.0468 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB547 Subject: [dpdk-dev] [PATCH v2 08/12] mk/crypto/armv8: add PMD to the 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: Tue, 06 Dec 2016 17:35:36 -0000 From: Zbigniew Bodek Build ARMv8 crypto PMD if compiling for ARM64 and CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO option is enable in the configuration file. Signed-off-by: Zbigniew Bodek --- drivers/crypto/Makefile | 3 +++ mk/rte.app.mk | 3 +++ 2 files changed, 6 insertions(+) diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile index 745c614..a5de944 100644 --- a/drivers/crypto/Makefile +++ b/drivers/crypto/Makefile @@ -33,6 +33,9 @@ include $(RTE_SDK)/mk/rte.vars.mk DIRS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_GCM) += aesni_gcm DIRS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_MB) += aesni_mb +ifeq ($(CONFIG_RTE_ARCH_ARM64),y) +DIRS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += armv8 +endif DIRS-$(CONFIG_RTE_LIBRTE_PMD_OPENSSL) += openssl DIRS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += qat DIRS-$(CONFIG_RTE_LIBRTE_PMD_SNOW3G) += snow3g diff --git a/mk/rte.app.mk b/mk/rte.app.mk index f75f0e2..a1d332d 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -145,6 +145,9 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_KASUMI) += -lrte_pmd_kasumi _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_KASUMI) += -L$(LIBSSO_KASUMI_PATH)/build -lsso_kasumi _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += -lrte_pmd_zuc _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += -L$(LIBSSO_ZUC_PATH)/build -lsso_zuc +ifeq ($(CONFIG_RTE_ARCH_ARM64),y) +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += -lrte_pmd_armv8 +endif endif # CONFIG_RTE_LIBRTE_CRYPTODEV endif # !CONFIG_RTE_BUILD_SHARED_LIBS -- 1.9.1