From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0046.outbound.protection.outlook.com [104.47.36.46]) by dpdk.org (Postfix) with ESMTP id 24605FA60 for ; Wed, 18 Jan 2017 15:27:55 +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=xAoBlB7AxrdPpjMlWxP/Qroh8h1dby3aQsNZKo+vLgI=; b=eTIyun6OB69b6UjU1bddeo3+Tqs9jAsX77hUD4NuZLFZzrQQA0IGolscXC8jq3eJQIvJRpkAsparfmOCb0LinmY0hgq4OmAi/YmCsSphejOOTD8BONYp8cRxUOh4Mlb0BDRYa5CtPOoYotTq7LSGCI9mQ/ajAlOM4f2AmIGAFo0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Zbigniew.Bodek@cavium.com; Received: from localhost.localdomain (31.172.191.173) by DM2PR07MB559.namprd07.prod.outlook.com (10.141.158.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Wed, 18 Jan 2017 14:27:52 +0000 From: To: CC: , , , , , Zbigniew Bodek Date: Wed, 18 Jan 2017 15:27:26 +0100 Message-ID: <1484749650-24867-4-git-send-email-zbigniew.bodek@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484749650-24867-1-git-send-email-zbigniew.bodek@caviumnetworks.com> References: <1484668143-32522-3-git-send-email-zbigniew.bodek@caviumnetworks.com> <1484749650-24867-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: AM5PR0901CA0003.eurprd09.prod.outlook.com (10.164.186.141) To DM2PR07MB559.namprd07.prod.outlook.com (10.141.158.24) X-MS-Office365-Filtering-Correlation-Id: 59f97d9f-a501-420b-849c-08d43fae30a8 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DM2PR07MB559; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 3:1+pHlYZ+1SJRZfxnHMAaItUR8Urlm6y643GE0pZN/EI1oSZXk9k/Aa7iD3xc5SHq8m5eQ9P1zAw2ng2o2ymHOfD6vUJZ1Jgz70vnELe8guqWKpugViKFjifq0nJ5/n6d/JoCc06HjVa5Q7MM++ljvp6Kj9zKPpqzSLxvHOzylefXWPYSmV6mRPPanSnUmOg/d7H99IISHhtb6C/1MnZqjAkUOROWwN0+nvRMcln+fyTvRv9uo4fkGSPxWSikNGB9LNZBR+NPMO0WLJfu+FeTDQ== X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 25:ikiGkugaowMjyHrjbzirDNoN3Z2vETrenmxjQ9YHRLuLJXAQHfLaGLf2ZsLuY63YwsWUJUyi/Pl5vlEnnNlPhfEZN7VY5w6fHS4R8O3AisDqsRtuJLvDwncvy5Zy3BvmNBspAX5slPBvO7+n2cm08dHAd1s1kcu1mVCwB2DZ+j7GH5bIHG8mFZ8U1e/JgIU4cXkKEAhf31N2pd/vnpSO1wejPgUjdTF6WxstZzfnA7P90JKlgZlPWOYkWVEo4e2cTp1XrlqI4AhbO2IvE7vqMuoKc/ieUBivv/IAj/uuSaziQwbBvSk4UR5ekQpdsjfY1Q9rqdCt1alu1gaYWuPO1/RmK6sgfVTXeUQyDVmTXsbYObqxWLSfapCdfMlMUD5hahUw7LPSSu4f7GG1IFJJnlmMUk4zaWjxNVaJtfUfaj86p2go7MVHYKv8LRih6IhRtiUVTbAwuQlhZeWGDNN/QHNStukLDpy+Y8p95SPngnXL/1XpVIT/y2VulOzP+RA/ZAIl72Cbnz08tcDag+ZWOIOUej4HrgSmi7QIozy+UpGFnYMEbcHWL6RVOkKu9EflqQDM9VVVL3zF3Pm2aFyvzALnaNLcOKB/cxw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2vt1PoQtrS4eltEMtmAx8FmttKDXBGDIygnKiXUcwW0MPQI5eEUwZyNtflIY= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123560025)(6072148); SRVR:DM2PR07MB559; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB559; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 4:y39KClsMVBC2vyfKMarkNYmwWeGiU5eUuZvYQBvRwyhmjSN7JnY8JfeCM/9JGT51AKpa/PmdgE+cRO81LK1jvz7YAayBN4GziODvONbZAyGNDSkVNeWmMDGaf0CGfstA/5yzDtgd8ZhHVbHOkueqTAZVzRaAKKyGuG5YvZOajrsZ5eq4tk1+qoiZO6W4y9rM+HMBVbIHUtiHgkkiFIzkeH6Gn3Z3xEKKHktJ9gePMTuAmHtbknDESkKJIkOPcDootw8D78oGx/VK30pYKfu140228wQMaH1folW0r1A481oy6krvhXv8SgJVsZ8JpJFRNR0oA0EcmQRYD58o8wupNOoimfwZMJVRRlA7BZ77IHRQusOYdray6UCND3UxeAcrbCLlyHPKU00T+TJAmoJA/YZ2g7KOB30ZwIxtmAAO1C5DF4qKmFX5lEbCRQhplJJSOQXCirXXDms2FvIvvFOE89hZLFTXzk4hrIfgi6fBrR+D9zyais5XPhka2g2uCcTtA0dWKHcHxTWwQLm3h3syuicX9fbv1tNZscHzfwR1P2CcjdNrmnP9Uyh7FK/7SHV6 X-Forefront-PRVS: 01917B1794 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(189002)(199003)(575784001)(6916009)(6116002)(2950100002)(2906002)(42882006)(4326007)(110136003)(2876002)(5660300001)(50466002)(6666003)(92566002)(3846002)(47776003)(66066001)(97736004)(5003940100001)(33646002)(48376002)(6512007)(81166006)(107886002)(189998001)(305945005)(8676002)(50986999)(7736002)(105586002)(25786008)(42186005)(6486002)(53936002)(38730400001)(36756003)(50226002)(101416001)(2351001)(81156014)(86152003)(68736007)(8656002)(106356001)(54906002)(4001430100002)(76176999)(6506006); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR07MB559; 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; DM2PR07MB559; 23:px1f4+5Qf6TRNjEz2OWadE6j8LCjLp2fIH7GwXCo8e?= =?us-ascii?Q?0LJIMtfT8I4GEXQ2AJ9kJD4fvkgujGSM3p0nOUFiAqNrXwJtOEH1MAs6uzHp?= =?us-ascii?Q?SzcdxvGarCOGDiSqE362amP0Bg7JEaa7O7DwreQ6cxaDOlLrVE7PVEMA6GQy?= =?us-ascii?Q?3raai2+Sbbnt4C51wgIjFRn/2Ctskz5Y4TnSYVh/BtPClEkvdiRjgeHwHK+2?= =?us-ascii?Q?JTqtd6cwNw0fmTdfuZXaZA0hS/WDOdT0lfZa27eW8Ly8fdqeBm1UrzuqOoXS?= =?us-ascii?Q?bN2WIonexF8jJDBIIp9o5ll8b5akL5hHyhuzc4IVJi+mENQdXE6TYDo+yiqK?= =?us-ascii?Q?+t7+qY9lscrfFuC0ikbTIR9hYapliEZpqGDnahuaCXF+d10z6L1Ra/I4M5oW?= =?us-ascii?Q?2Nk4jUT4SsDYy7RcLS7jFiLENaadYV+IYaRq0Z7bXtATGkg1zvAfHhlg65xK?= =?us-ascii?Q?6ipQU9I6T5AtV66cJHrtmmcn8DBpy8weZal7TBN67ir/LJUrQ0V+xVpZZmN5?= =?us-ascii?Q?tESRWnSFr9ZEqxO3SjS04oL+DLci/F2oDBAb/LXZED/sRGyC5k5XToI2W+zZ?= =?us-ascii?Q?OzHUjMR6SI8xwp30MHOQqvq3gC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RQlQrVvMf3gOVuKkfjAm5JJcaoWs2w== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2017 14:27:52.6167 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB559 Subject: [dpdk-dev] [PATCH v5 3/7] mk: 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: Wed, 18 Jan 2017 14:27:55 -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. ARMV8_CRYPTO_LIB_PATH environment variable will point to the appropriate library directory. Signed-off-by: Zbigniew Bodek Reviewed-by: Jerin Jacob --- drivers/crypto/Makefile | 1 + mk/rte.app.mk | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile index 745c614..77b02cf 100644 --- a/drivers/crypto/Makefile +++ b/drivers/crypto/Makefile @@ -33,6 +33,7 @@ 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 +DIRS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += armv8 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..bbb5265 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -145,6 +145,8 @@ _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 +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += -lrte_pmd_armv8 +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += -L$(ARMV8_CRYPTO_LIB_PATH) -larmv8_crypto endif # CONFIG_RTE_LIBRTE_CRYPTODEV endif # !CONFIG_RTE_BUILD_SHARED_LIBS -- 1.9.1