From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0082.outbound.protection.outlook.com [104.47.37.82]) by dpdk.org (Postfix) with ESMTP id 0AF1E2B83 for ; Tue, 17 Jan 2017 16:49:34 +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=A64UounNVDP4YCrrydtG1sGJEUJjPAGaNj22W2YEKpc36D5SgjUNF84HWXW4lpEGafSBORjg3TCk7DYKCid3f1pn9M8b0znnz6+CE91GQ4SqsFwTRRzO8dCAEpET91dVxI+KYAWpsBfZNMV1xJparSJxEN49w9SboAIQj409KUA= 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; Tue, 17 Jan 2017 15:49:30 +0000 From: To: CC: , , , , , Zbigniew Bodek Date: Tue, 17 Jan 2017 16:48:59 +0100 Message-ID: <1484668143-32522-4-git-send-email-zbigniew.bodek@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484668143-32522-1-git-send-email-zbigniew.bodek@caviumnetworks.com> References: <1483551207-18236-4-git-send-email-zbigniew.bodek@caviumnetworks.com> <1484668143-32522-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: HE1PR09CA0087.eurprd09.prod.outlook.com (10.174.50.159) To DM2PR07MB559.namprd07.prod.outlook.com (10.141.158.24) X-MS-Office365-Filtering-Correlation-Id: 262e0d32-d2fd-4933-c5cb-08d43ef06dfd X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DM2PR07MB559; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 3:JBIxjq92wzZi1s5d9AhqQbjrR4uDco7fcyVwUPR1SlwLccDVrx3lRon9Or6CPoNnRNCdLWB0Hi3xx7ywn2WVGoJzf3rd1ygv1np29uX6apqGlG+dnLY20pSX/joPKT+AEEAjmRfMSTgXez5aTRoBLfV3CcN7iKC/ly2mi79efHNtyBr9c5mNXgJjshnUplN//KhTTa0YSJ36kXw/9rGV7mL6PgXSHRsQPG9ygDK02DoywMJxy+GEq0feOw9JE6HPhqgcXWkN4ywv2wk3nJDoag==; 25:0/poGH0uN86n5dMlhHstq2OiSyDoeatYHljoKgNyfTNWIAt6+obrWe3ZCn4V30XDAz2BKjCG3DGbCYA3jSv3GN9Ku+F5jj2m6xk9zK0nFyNIftVGKEZ6yhukYtL020BfhyHu+2rx2Zv6iFPv2OPiahCuI3qii6O2wqIXbjpjS2ORhO6kPuU0sbTphzJpnAPvIwKP48dFSU2NfNPzGJz+HhZhbnYgFZTxMl4kkp95qpDLfag0KzwZcFnbrHuaP1A6dryOy/8M0yq3Ejc3nrsaBJ0SOLPIM24gxl09yP5z133gOfdD39MoOSRfXqBJPdBJ33769zq+ymLZudr9jLn/A7ygWCCrADRY43EEHmscIHsr/vPZVjA0UnF9zBmHjG8wOiKYfa9y75mgx1HzgCeYEpKuJ/pQFGA8xJzICEM3/ZcZMBbNn+y4UXANlrxHK8GaGTDu+cWnUXTK1XdH0cgF6Q== X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 31:5l6B61RDHcgZSECxj0NFMGjlRl2dREWBlzgFKrSpNxQci4nIkhTadTwZJd3Qwadq1q8SnlDnZc4KnZG7zo/PxXZUhMKpckIGI3XUhf6V08zBdFBLStYPe3wP3izeMPfPcyIuYgvW8/Hpp/4YM6TGj+rAYcp7L5dn5dPk2YGdZfRwsjjrtgaCIjEuIicOwVA2nYu7BTv+m5630ECsNIyFaaqCoi2T7h96YNhwoXJ2Dv9+4ZcnYq0qbnv+9C0ROl/JYFl17yrWIwbOPgf2ywbLKQ==; 20:FPPt3KWmT3tlSRwWMAk8eZgzNzM2yPdjRACwza5aqNw6Yd1iPJt3MKGNEkeOlRT5Hp/8mIyqL7oFJ6g4Zx76Ke3gozxRgVs/r3gKQNlVy8gRdQgK0kiR9slvk1d6iOALjcEh6n2jXUzI7TZiGyeYdxef21bI7SF3Yw7pv/Gyfcyyu5ep9tbH3KZESdp4IOS1oheWXr9XHGWhnbE+6TBnYpv+a18nbCD4jPYzd8BIWtFjmmJ8k/XYEFmBefGs4Q0R8336xxqEYI91Qh3g8kVjBDUDxtYtvrkruavpClKcvHdYSSHfkTtXsKBo4ZMmQVTr5FKCjtTxDSShZjnarq4++E5qCP8nMRnm/uIzEj5ByRx4bR/BfJUB4TZbI754gUNRgFEUCjGMZLk3hfkzkuH9OhZXhr5JuRnY3kneOGSLB9Fu5+JyDEPRPJBOcTLDAzkldg2AW0lPnHXMk26JY7ou8VGhCdyxs77NBFi0ZJRmF6+bNpML7mu1TCMsAX2tWAxyVHbxI7yKpupzU8/bUHtMyUpBHHRassSdQmSewlBBrGw9O0ML5wUcJi7Od35hWgrekPZ2nrkd1j16pkgCe5Z1tlLUNVjnbC+tWn2+6KNaMZU= 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)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(6072148); SRVR:DM2PR07MB559; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB559; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 4:YTa/azPZecXpjDWvQUUYFG07tqGaV6k0ZsEJ6ufXIVbds4mbnkx3RDZ8/ibTu0HB5mWNG9WgHGgLOiQtrO/TT7Syp7n3pYg/dmOLAAQcm0D4+13L+rmpu35Yc3MnLf9u/gfOK46ikmp7c4b4bCDaWS8WwvYoz6ZCUpdfiSebzVmXWI0JuTsqYD/TBkpG4Vnhi06Evws7skvb9c7seQAde3Tbs0vUyola5nMnxIiGKcytgeG5bQBZnhdG4B4hlnhflgsaJkN9RX9OUexnJnpHg+XwgL248TO+XzFvJgQpSk6XmjMCyPkCV6UoXWmBro5wwTo6OtH1N/DMxF0DUj1KJ7TrWfFWGFyqsDD1rkw2wfVBZP4IbHljd+ixMMqoGgYkeCL5xUQHfhlOWajAteqWb3/3XducI3sWDXkO6ZK/GvNV/166Fa+zF1dwKthLp5vy407iJTnWToYRlQ8RSiYBjK9tC+8HdibrMiU5eF47/ADa+fU34MRnn44GbywpLeht9kutRDcZdO8SD3DcX2SCwR2h95v/FDvhKB4MMG5RW/0akQNIVyZVCxY3O5hI84ygbI9bMn0qXr/tT6MozO9dxQ== X-Forefront-PRVS: 01901B3451 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39450400003)(199003)(189002)(105586002)(7736002)(50986999)(25786008)(305945005)(42186005)(107886002)(81166006)(6512007)(189998001)(8676002)(6486002)(36756003)(2351001)(101416001)(81156014)(106356001)(8656002)(54906002)(4001430100002)(6506006)(68736007)(76176999)(50226002)(38730400001)(86152003)(110136003)(2876002)(6916009)(6116002)(2906002)(2950100002)(4326007)(575784001)(42882006)(47776003)(5660300001)(97736004)(6666003)(92566002)(66066001)(33646002)(5003940100001)(50466002)(30001)(3846002)(48376002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR07MB559; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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:MYuxR5Ue+fXPzJ5gy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Eki7WIrwwNW8QDEm2FwYjx1C4hyNn4tmau/zBueOMt/xmNICCo65DJSMez8SgjpE1iWt0/Vf5IHScxf0U=; 24:D9D6EOzSg/UtpgKiv2zaJ4xTeeVLPgrFeqZbMpG+eZGILnggw97M4er8EoLN1Jdb1RVzhIQZRZeTtdLRVc3zoTEETvQ3li8yPRsATaietoY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB559; 7:aoIosLr/AHqB2TBj4GPjS54bFg1jLKFhmmiZhkBtUVtx+mThqKq6o6IVAEScua9WF3LQE3ifQ7Id+CGvPiaLjqi/QYlwHyPDfhz8MiOi5U6597Yn4QvZVm1Pa40BvFOc69Us/vGDNpiQCQS4X37LrsFn3tQKzM07I0IkOYClL4zWvyTiy39i8a9ljTDP5ws1j7bM95hb1UMm82YCr3hV7NoAKFbWAKuDJjrA3+Zyk9KNNMcAsF/qx5U41PeHP33u7/VRhKR0JMk7M0QoxffapDZQFW4U4SvHvPCVhBR7YSeoEhg8pvgJVjT8u88kLirY0nfg5Rbw2IVT51GRi0mX99OLx9v2HE9VRg189w3fn9ba9P5GN9X/k/wbTvLoDwXA8AC9BRTaVMh9CdcLnWq9+AFDpwNYue9OJVhB7EVMFiOOjPBY7sTRqCcCKByYIEue+x6P7Sig+BUmDQ7wueVRlA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2017 15:49:30.7784 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB559 Subject: [dpdk-dev] [PATCH v4 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: Tue, 17 Jan 2017 15:49:34 -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