From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0077.outbound.protection.outlook.com [104.47.40.77]) by dpdk.org (Postfix) with ESMTP id 559A8FAF9 for ; Wed, 18 Jan 2017 21:02:32 +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=KvpIhdVQS3OfzMM6FRTADunfsuB1YHVJYOCEi7y0Erg=; b=SH6qJA3aOatVzo3fxINA4fU5Z07iQn/ECq0iLm807OohveHt2RRZpWKFFs/tMBOiZqiJBEib2XwoBw6lluY3Tq2vXRig2K7hfZtyMCkRok9FSIhUBuns51f5miWK5LgyVn+568dsG8nTB6AC8tJitFi2MCbpqhx7MEhYyw+9o9Y= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Zbigniew.Bodek@cavium.com; Received: from localhost.localdomain (31.172.191.173) by BY2PR07MB550.namprd07.prod.outlook.com (10.141.217.145) 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 20:02:29 +0000 From: To: CC: , , , , , Zbigniew Bodek Date: Wed, 18 Jan 2017 21:01:56 +0100 Message-ID: <1484769721-43938-4-git-send-email-zbigniew.bodek@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484769721-43938-1-git-send-email-zbigniew.bodek@caviumnetworks.com> References: <1484749650-24867-3-git-send-email-zbigniew.bodek@caviumnetworks.com> <1484769721-43938-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: DB6P191CA0018.EURP191.PROD.OUTLOOK.COM (10.175.236.156) To BY2PR07MB550.namprd07.prod.outlook.com (10.141.217.145) X-MS-Office365-Filtering-Correlation-Id: 224c6b1a-f88b-40bb-d92d-08d43fdcef88 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BY2PR07MB550; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB550; 3:pKKrpL5TxwEdTlZ3XZysV9frK88PLVIHkAgzXEPns4aEm93AJD5S62Mnwbc2/Jp9U9pjljNJBOI0kDwfxdkfZduOIwmoUIG/9jfFLbJByyRHBO4E0EcT4ouLf5OHBbrsgDCV5yc0KufWRuRM4S3BOUs6B8TdTX2AFgbyQwNudzVOnBaPOXkFckrfDZdz09BBQpDq9eYdxjOK8OX4WNYuUZsEKiwMeLOGfVXw7eyfx//W3GhHGLk0FtLQS2CFQF3d0lHwKSxuE+w//hU6Hd0enQ== X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB550; 25:RiCJP/KaO6ahbZGvyyrIZMcfY/8BBQzA7dR1r4nv2REFefPM4v7B57R0zC6x3kbhNac7zzu7YXaD+YhHqZl+yZFrXIV7ANsH6GflH+sqqhphIs0gPNwvAtnLO6YEZrbhXq5jH+zbhv++rCgdbzjE5AiA2fysWBYBESrm1Q4shL6ydtGVN/yqBkJeLArY3iKnlokgu/Xayc5RdTsC2YJBM6WhjfYcnhzaEBI6eaQdM6yOA+KY844lEPPHqAOGJs0PYlwKc3ulP8DEwqY/6eRJPXSkl+pUNer4c7FmujUBWbfVBkuNgdUSrb1ctqfYeMlTvDZ6HlemybvLWYf9EwA6amgezccM5bqO1HEYVqUP5oUTgWU72mGMiVAkjoikTleM0kSN83V1aGY98eo8lARnfRl4s9yUlPBgCy55VV5ce2pebC8O1H249n0eWRTvKkXs4HwObIKcFhwK5VQWKveE8FwbDUgD7Q9sJWF12ZK0brtjW5fqXUJpl1wK1s7NMqSOC2/wzMIchg2At8pjVGO/HKDsVjPV8oV+RKGZaIwHNoYZ05vehmtaK3Gpaeu1Lu3yjycbAz55KMu03FufsLhgu/nFNYT64CruZdRh18gWdzjPexm0xa+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+2BTMkA= 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)(20161123562025)(20161123558021)(20161123555025)(20161123560025)(20161123564025)(6072148); SRVR:BY2PR07MB550; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB550; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB550; 4:jeyeMt2OuRZQ2uB6B8hUhBxqMbPGtkUjYKRQUggwAFT8oC61rM4RTbG8HgTt3EZSLdZeM9fAvvFjBjlWqg0CVOgauFgXM7lpEyuiFWoxO9c2QXe+AmEwkeZEUlByLdlAAaIoW394/q+lImcCN3onywaR/Y9ll16t0Wu19p4F4gicg9CgXmfOvldDM3DssxXhl1+rbbIyCkqpQH69VKyN3Ism/MTi0WX538SaLYPx9nU7TLnat4IAQ50C6SmMtiFwGxOioPQ9Yv9r0JcHvrTRO7XStR9DKGSiQ/yIemz+ncXwZU63twisOjmU7+qB5qLe8gsQq6PIk73fqaNN3Mzh7j3Rdfh2PIIjg7k+DqeedKQ0VBRt8jkgcZwfHmSJ99P8VNaiEUmW88/fgG6BdepXzUJWl1buotMksknYFjMXRUiqwo9bDklBqFjcRvj0yQoe+LA+nvR6/qkDPNJwU4z728XAPysJrt/eLklttj/ULPZ9K9HSUdKsGL4ze36gknKPRNddwSfWFKqyTv1NWGFft6mSTyDitrdJNLq70pgvtZce4Tg3Mdxxay8fcLlnUEXSuA5iw0ZHc003WMluXL8Vy6YYxDzv/XEyDKFXUefRSBw= X-Forefront-PRVS: 01917B1794 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(189002)(199003)(86152003)(92566002)(33646002)(36756003)(7736002)(8656002)(48376002)(42882006)(50226002)(97736004)(107886002)(2950100002)(2876002)(6916009)(6116002)(4326007)(5003940100001)(53936002)(6506006)(4001430100002)(25786008)(47776003)(6666003)(3846002)(5660300001)(54906002)(50466002)(189998001)(66066001)(6486002)(76176999)(6512007)(101416001)(38730400001)(110136003)(68736007)(106356001)(305945005)(105586002)(2351001)(2906002)(8676002)(81156014)(42186005)(50986999)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB550; 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; BY2PR07MB550; 23:5kKh/yYQn8J6xR4gkMNq7FPA6RRmCk76YwpIgxtmDC?= =?us-ascii?Q?hbox71T938npg/jEQnCqb5AtFhfa/NhrRrciFexqYedZcS2BOvTNk7kRZx9D?= =?us-ascii?Q?xHwF9hldXVwQMT0hYGp8+WKEVRVUV+j8ryiIF+sGcTTvQtWPo1xVf9n57oIl?= =?us-ascii?Q?0lru0LvZAKr2oK4Zl7oJp4lJEk97+ZCElqPWNwNzt6iLUV3SKIXtGFtx9luc?= =?us-ascii?Q?4IkiyQEyWTVc6vbOeY0yEPZCqD2jH+d8rqFa5P7CXoPF5NfkMRwVrojylKUd?= =?us-ascii?Q?L7YmkF9wMXPwG3Q9Cfg+orO1M564ERx1zTBoayMcAt1H02yQ7O3YqSkQ1Ylv?= =?us-ascii?Q?jCylCKt6eJ+WL5oypfBlfTvO9FMVRKO2jm3+WAvrmA82yVjU73GpOiIXPAq3?= =?us-ascii?Q?ELHJ3U5nTL5w6Dbmlswv371mjWouxtueKfQWGbsa2TtkRm7uDIKm6Ism4Md2?= =?us-ascii?Q?LTFTAW8zQoqnExCR2AQHEWR747/5WSkGVg5Z0IKWMKf+wovnzqPTEmgIUwQl?= =?us-ascii?Q?8IO9rKP1Arc+YPUlYBa2RHSAp39Cb7Skq5OjiiOkudEomupo5Cv98mex9uwx?= =?us-ascii?Q?7JrL6in04qw8txANJeJjyGA6XPaPHZ4MXGlYj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bL6zDiZDghUE1yeUj0fuwT5oYyU3TMLDK6mHoyr6cBQMYU4QDoBFnJTrQLXonQbkUi2xxYlJcVas54NR4jzx+88KoWbrmVC/BB+f/2XQSLIy5bN8BElQBmDg4/1DLjbYSvth4/Pes3pToXeyon/PE+byDyk7semxOY0o31+23kawMhZA0Pmnn6YCw35eLX3QaCjcDoARiig=; 5:+uxJltAtEBNRN+LbJgYtfWe50RA97ZdZ9McIJbamTaj0SpeGDybiZfsCQHXfROjiSowhPpcQPUmm9x8j4llN1tg28u9HSJrj5zLObbLi1oLUBoWSc26KgjX6XJE3ho/9aXg3zuLzUXfq81/PxtHDyeABX9tejUV8E2P+d7aO4Vs=; 24:KXj6WrIz/ggJd3QPH4i4SFL73eg6aOuT0luJWln5RbNQEtUREwzymIQV5Ya3ZS8AJ1wKWlUgJ3rEbuxnAY5XXRXl8EL3oTrhUSNy38NFiu4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB550; 7:xI1NSMFg9hwTSWwUA6fl7Hl/98+fyLQbM1v+1IMhAHoPfD9mZC/GTaEc+hET0zciWCPN5uxSw9T7CvJtCvleaH6R37yPKHNHmCd6rkjaY9BdfgCDMwN39cMu2x4U/CfWI6JndX+PikNK2B8OapnUvXxnA9ofiWadB0oH7R8/6PxucBd6mQtWd9KX/hEImVOwD6693q3S9+r2c8FcpQvKUOZaQvGOIeThdrHW1wl89Vh01WbjwQkNtvYbUwPsYQqrPFt/3uu1KyyLocu8XU6lYuYG8kjHLSrpLWa1lRK6QBUufANQNZTnUq2Rb7hfA39YGWDSV5Weejdy80AFDhGEYgJ4KBCDQ/YuM5eQfdeq07i4xvLi16e+f7hPBD8i2ZmD/aTR1uvDekCk7RAwt66rS0hFvq3CN/Ragn3YwNkOPqUlfg6GIhesxBvp6Xm7e8ZBcUbz1Iz2YBRgc6sc/vmrmg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2017 20:02:29.3487 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB550 Subject: [dpdk-dev] [PATCH v6 3/8] 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 20:02:32 -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 9f4d057..b607014 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -146,6 +146,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