From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0059.outbound.protection.outlook.com [104.47.38.59]) by dpdk.org (Postfix) with ESMTP id EA4DF4CC5 for ; Wed, 4 Jan 2017 18:33:51 +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=8cbK5PdDp9sk8kVCjWlVmH2rr79pkV2X9LgcR/tLbok=; b=hzmKvKOgZki2dvzbVhkct8piMTJtRJAaXyV2ZPwH2Np00UgRqw/VdJkGNd+fGl/D8XQ5uqr2c6OKl5sHnqPEAAHMPfNk+gXBmU92xAnTD3rqYSTiU6VrFwBUjSJPx2nHKePd0z8HtGRDg4j/tXat2CNJ/UQTq+qi5e+llOktEyg= 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.817.10; Wed, 4 Jan 2017 17:33:48 +0000 From: To: CC: , , , Zbigniew Bodek Date: Wed, 4 Jan 2017 18:33:23 +0100 Message-ID: <1483551207-18236-5-git-send-email-zbigniew.bodek@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1483551207-18236-1-git-send-email-zbigniew.bodek@caviumnetworks.com> References: <1481077985-4224-2-git-send-email-zbigniew.bodek@caviumnetworks.com> <1483551207-18236-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: AM4PR0501CA0020.eurprd05.prod.outlook.com (10.167.83.158) To DM2PR07MB559.namprd07.prod.outlook.com (10.141.158.24) X-MS-Office365-Filtering-Correlation-Id: 47fd699a-4fb8-4efa-b646-08d434c7d85e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DM2PR07MB559; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 3:2OH6WHWCyXKXyYyWF01RPYPTqokQmVHvBllXs70ykgd/yjFB+alnzzNBNIiP+eC/Tgze3WK2x+V5A/LD6QhLH2BmlgRtdJfz7VbgQloF8x9u+KP1F/v58/u9vl7mcevrEKamnc0B7uRb0x8rOpULttlZJi0F8tFYs+LN0TY74KlptlD8I1FhJ/ID4R3Ae6g6eJkDYppWTcB9xaynlozoFi5HZ8qjZO9NJIIi0fI/gg9CzHxmkdNq6vUM/CxL+mxPc0aDLq7vh8v+HnLAANXU+A== X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 25:4l7kSLZePOBUoe3MrhjowsvmHhQ4+h2qXQayDAUuuXlyfG9UUn4/Nysbg2CcjVGeu5CiQdzkLjz2KRoNrBz7z90DC7NxwyIWxVX0/h/eNq0S+s9/DxCw5bwCLBCy+U3gXK/CFkB8mcJtMx0uxOmxye4dVufXewGUhqiqn/s6AwgdukvYZ8GFj81SYsfEE27BAYMyGCEVRLwPdEAlbfTszBEnHJLGKRQQkflqvWVpRRhJOdwdyrM45kCgqRBm6Lljb5L6FziBDVt32AFDZ05iBFe8EKNYuTcNu/pvrgGtwd0IbiwbWLPc+i7pSc3HVRpt28Qzv9qTmddmwbqUOkLtFMufJoyoB9NSWRpSB1AdyYa92II/4drCFtEQ1lhNAw9LUUT7Ww8UtHmHzU8gtYVHyrYKgRUo659IVSJGNMclvnNnuIPmw0r7zw9/JmjaCc8Vr/74wLFAoT8SA61HkVJy99MfaWwTUfEijQLNWfBGypxl4n9FwwsVwsnM+ukekt3+BIBrayswUZmOgrOqbgk2i8ev2GoS4RHldKLAnnoPzsmNvLND8JL4tSiSfPixaSNRsSjF6KTH9UxG6VTE7/GflaqNh5d+v2PAPBqhW4O/89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2SKH6iHrA7A= 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)(3002001)(10201501046)(6041248)(20161123564025)(20161123562025)(20161123560025)(20161123555025)(6072148); SRVR:DM2PR07MB559; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB559; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 4:W1u3dhTeXIqxyxWxc64djfunOfxrObcnrhAFI4RLsThXe0088g3w9lxv7Ub7gxVhdstSV91Uf0t9smKXs1tnAN2St8x0JHqJtdxtm7rR3OiZ3I/qaKvFSWd6Xg8CII3jdIXp0JFPy7tx7h+B++UMYuCa7cUL7LufSUloyP1P5z3n0R3uTsBAJM72lE6W+V6AwHzO773g3JeeiiSUMNAmjTfB4mtL6krfPwy4SLTGh6aPIGLC6GJWIytIlFWcIStQ8CzzzeJ/3Aj1NHwHWgr5nJATSFsUDI3uQGEttFdJe1K+IW9UUrdAF5t0Ga7BdK14d7w+Bv4tbkOfN17cVzFglt7u8rANfVE3nNevoWbWTtMe133J+sxxQeGgdwo+xhF5z4YhSroixJ165Ov91G2wX/0hc09Podfn3F4VHCJQM0TbINq4rKaCWExkJTXd6vG817rn8r2vNxWN/bSQbrNCWpmbgUvSzxKh0hkhH8qAhppOQQYUBN9aBSKSygmGfW1pwm23vD40XROUF8dSvuy6cwpUmGp2MsqzpIwC6V7Exgx9dzKTx7SnAyj0QqkoEn2u X-Forefront-PRVS: 0177904E6B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39450400003)(189002)(199003)(105586002)(7736002)(92566002)(101416001)(68736007)(5660300001)(38730400001)(47776003)(66066001)(81156014)(50466002)(33646002)(110136003)(189998001)(6916009)(81166006)(42882006)(575784001)(4001430100002)(8676002)(42186005)(97736004)(107886002)(25786008)(5003940100001)(2906002)(50986999)(6512006)(76176999)(6506006)(6116002)(54906002)(2950100002)(4326007)(86152003)(6666003)(305945005)(36756003)(2876002)(6486002)(106356001)(48376002)(3846002)(2351001)(50226002); 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:5GTlO5TonsmW10mLBGGV3zIlAaYA6r/cC3ofwtJJMK?= =?us-ascii?Q?d7ADEMh0UTDh9R6nvQHT5kqr5lUk1z/VfwKCB5r1URHsM1Ec8gc8DUtvz3e5?= =?us-ascii?Q?ZOlLsR1gIv5lY3ddSKCxnksZatVgMzVvdkQUX/4FMbYAF0xosNh4S9Bj0gJl?= =?us-ascii?Q?uHdpomNxJyhftUDRtt+ps6QPvYPJpyfPEoUSrwTDis7wTVyHQx2W9VJXaMtv?= =?us-ascii?Q?VoxUdW67ewQW6nMEapAruNKzl57ugnCheOH5cfl+pBaJNjqPyizlGQq/VL0m?= =?us-ascii?Q?SiD7nkKZycsZ9PKn1nHP9kx4fWB5P+e7uFrBmsO1R3LsEyFa5hUTEB0iWoI4?= =?us-ascii?Q?KtDt2emyXawlOLJlqxkH+caofF2dHMuGVYZYsKRiOhuw8gcTZ4ji5vuK7XTj?= =?us-ascii?Q?wqJziRdFRcGcEho8b+d3tMNyZg0v8JmH9BjW36t5+kTKFFP6YrGNHadhyhuY?= =?us-ascii?Q?YCkTiDU35iJSHeN4hSIua4RRNjCSTGvtQ7FsvUArtIiahcfI0rjnyNKiuZ2i?= =?us-ascii?Q?C0McH9Yr3Bf68DJPdFgbjIkKbhVeHOZIoEeBA0WKQZlAwKmehwhsEAaCLmT/?= =?us-ascii?Q?AJVN5eE3ioh7zzm7XifLzYdvmfqDKOcACkAj10/TyEPle7WkoPTWTVb+i0Cr?= =?us-ascii?Q?8Ey6OEckr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9uXlXra2lMXaVROT/QBva7Fii923nsSd3XSmotmp7Sp0ZMyXSDK31mHB2Ix4J7TWxZkCZYyIE4AJz8f47m2Sl89ONDLl/pvbvf+bnvGISDH4lp6ac1NvVFhefCY3Pcadz7rAmZGxs=; 5:5XZH1zq0v7KikyQtn6pDp/KgzI659Vy/6BoYkjBLY+fNdWAPlvl3YEVzP8v1LGtNyCOhUST/vFk/CGV8ISoRYOEa6CFdinmFpWPvXTYC9Ot/mBbVifXuXhLnLicT0DUX1XTaGHUqMVIYEVNzwIoQgg==; 24:dWGVTTqN7yEk5XJgim2Nc26JK75di+GFnQ5qpqSnTE/eJdPKmDgbmGF1Y34wUa69PcwZVu6Tng2ycAXOrrI/msd2GNz3mrqNesKUiL/dqPw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 7:OfcNzL5MfrvaPL6sLm6GIoE5G0pIuHnUDv7RW7ffpa/uAK6TXmT3J3tNkxxN2aeCiRBn+uQk8Ymf146tZ5ShPzVPpqjEinHE9vCXcMg89bbgb12Acfoq/+Uhu9IjsR3PximKdDMleKSKyzYmTMbVGMJtoTRJ+c6Tbcz8/US/g6RrIjP8e0UkXsTHWdTNaeW3AKRa4G8e1XV1w3XpC0A8Z6RfNr4DHB2sasg6SYArufeuJIMtPAWN3AXwyKOT3zTbISG1FyAgWUwVCmdv0o75k5i1PvxG16A6ZD9eYssSSqpBC9MDsqVYGC621vxsxsF+YaV0rkHB/dyKcuRPchF2lLh0wp043WDQOhOqBD2EkWvuWnBOPijVY3diQvc4DAVOFDt+8QnhM+29mqDcqPM3E96TxtoVlTDQbFC7VOiBXug7OuXXZJztTbie280zF3NNqpuZOpHlTwnitxIyRFOS4Q== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2017 17:33:48.9276 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB559 Subject: [dpdk-dev] [PATCH v3 4/8] 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: Wed, 04 Jan 2017 17:33:52 -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 --- 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