From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0056.outbound.protection.outlook.com [104.47.40.56]) by dpdk.org (Postfix) with ESMTP id CE431374F for ; Tue, 4 Jul 2017 11:24:18 +0200 (CEST) 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=tMf0H1WVxLaW6wsJ+g1wAXwXkm3XY2EbntbYQEsvLe8=; b=k0lsGlDmShJVB8XsgDQTxfWhzzfeRxhknIMBWGA5/y8YPJ6RrJ9Kr0ADwIojsS8nGVJxGPu+QjJp4bQddg1yfUth3kkcYQZxuhLku3Vf8u0lTHZ2QLirQa9ZEzDoX1GudlrJ4SuAlXf+YSW/oQREv0ltUDW6jqvLk/N9Ak+al44= Authentication-Results: caviumnetworks.com; dkim=none (message not signed) header.d=none;caviumnetworks.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from 1scrb-1.caveonetworks.com (50.233.148.156) by MWHPR07MB3069.namprd07.prod.outlook.com (10.172.97.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 09:24:17 +0000 From: Ashwin Sekhar T K To: jerin.jacob@caviumnetworks.com, viktorin@rehivetech.com, jianbo.liu@linaro.org, jasvinder.singh@intel.com, thomas@monjalon.net Cc: dev@dpdk.org, Ashwin Sekhar T K Date: Tue, 4 Jul 2017 02:24:05 -0700 Message-Id: <20170704092408.30878-2-ashwin.sekhar@caviumnetworks.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170704092408.30878-1-ashwin.sekhar@caviumnetworks.com> References: <20170427140618.35897-1-ashwin.sekhar@caviumnetworks.com> <20170704092408.30878-1-ashwin.sekhar@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: MWHPR15CA0049.namprd15.prod.outlook.com (10.174.254.11) To MWHPR07MB3069.namprd07.prod.outlook.com (10.172.97.11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a9d36f82-f748-4237-f5eb-08d4c2be71b1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHPR07MB3069; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3069; 3:TCiBrj0dIVfKHr+gIRKJUxGFIVIyzFdaYsavrdMc5650vrMn17tcKaXxL85P5uc49q1LRjlzToAZAxXzmNi9075z7FTpl3cEYZFH3c4UXTbkJ1ggWKYECxGA+t+Hgkib3bTeDe3dpUn74xf4g9ARIp+B5iMZbbsTwc7kzmLkeAbFwLdTV4Q6wxPdxZR58VQMMMoI4105udm6upU+mjX2In5meIbEksKvOi4DaH0ao/ZxlmvKQF6ydTetnPHfMy24HpZc2UGMnmU61RqyhGyqIkp9+RkFXNpoaOfa3pcI3UEQNz2e0GHDe6P1IAadn3F4kSqRo/tU4s7BCMK7JY0DS8rPRMbKZ5PGYn8a5Zn99qJQypNuKHw+FsUzUfPJGdFNoC4KnNVRLQgWPfNmuOlkGaYckU/OtmmY1cQn3woE/MDqaizCrOGskxnZJSPXkegYGsK7KGWGMSpIAJNnk60svQHnxG6bENlUs+9oMVl0aaDG0Vt8Z8GfvTBru5sDYussKCkSdaCy67oxijWlQRin8GqFImKRMPrGlwHDUTwc1bXB9VFdwL7Pl5rbkJi3DOSeFSvjv54Tz1tcbuNG3Oj0MbXlABXTyqfxt+BwZ4gul5hpjslkJV0nqOqGTP4DrdFjHf4XU4mEiB4tmBGrXorS7RUjiB5Ka85kaPVawcQXzepRNiScicQ4cGcoftJzCYI8B+766BD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rxGrWKP9wV3fWyn4nwhFA01uTzt5qQRZW5EX9oXwzZEZ+Lgzl5N/5cXAMY9Edb9gZQy4ba71q9TeX9tIMHf8jrhPgwOuFBco23ShQ5gNUvjRQkR0qrzFymDXa6vwKK0AlQVcClksL2VVZIEilUPAdfaEeox6nqkijEnh+VCLOMk1uEScstXlTYN3UE/iwdj+0QRX0GaTi4cMMSobzozuMWuFqea7CIZfmXWPO5zf3pd60A66piztEqYaJM0RD+AzxPDpJEfp2uzs9zZrARTFjrZFQDZD8A= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(20161123562025)(20161123560025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR07MB3069; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR07MB3069; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3069; 4:IDFY9jjNzvjz1b6QxQORNiZtsqC6wBszPtmbnWDq4Y?= =?us-ascii?Q?iMaz+PkVP5MlU9JgBBjnbLj0xi2NzA+WhDG+ET6ZXCUnnijhiNTPt/J73U3W?= =?us-ascii?Q?AsQU5v8dUUyufIPmdYTZjYL+f1BuG9GTYFsvtGxaSswRn4cMvg4aYBuHfCR5?= =?us-ascii?Q?saTcuq7W1Rw/nqOIwloYAylw4w08ZMdtoi7DHwBYBhqdyILPaS7XT8CA+r8P?= =?us-ascii?Q?abVEYoMF9c0CVbH66si9fEIssFW4dnKDJGZJA/h4bgCg4p1tBq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YfOF3J6e4fLk1PmFuiTJlcpd+eZkmjM8TbZtJr9P5g=3D=3D?= X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39410400002)(39840400002)(39400400002)(39850400002)(33646002)(1076002)(50226002)(2906002)(53936002)(8676002)(6506006)(5660300001)(81166006)(76176999)(50986999)(3846002)(50466002)(189998001)(6512007)(107886003)(38730400002)(7736002)(110136004)(5003940100001)(6116002)(53416004)(47776003)(305945005)(4326008)(6486002)(42186005)(36756003)(25786009)(66066001)(72206003)(2950100002)(478600001)(6666003)(42882006)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3069; H:1scrb-1.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3069; 23:ybOk54+LmkwoDhpaqRJXY5/PDPnB7ekfyQEA/96TF?= =?us-ascii?Q?ZusNj02YqHSsbiJPyLfhPfEwGcRelf4pzH4KkzwtVml4luYcYp4RT+x9l0o8?= =?us-ascii?Q?GGWJVADAriqw2zGsfQkPvmlZgAotJgnNLfG1Aa3VaN/A46NlMkjH46qLx0o+?= =?us-ascii?Q?G9pD26/ztDZ8KLwZ4NFWZD05PK7N7vq+i4nNMDWjY/+a6HG/2vhVySOEpAqB?= =?us-ascii?Q?opkAqgPeBuDnuW4xZuJgaNSaGC2I49HQlD0IvWX7EweeE2lEP9pHx/GNZTmg?= =?us-ascii?Q?aVSKfgCHFBkX29ytx9cAcZ00edevprLxSUYOuiz6N8uO6cbQh9eJjO6CTTcu?= =?us-ascii?Q?J7iKYqxj60h5jNyo/mPNuzlyUSEGvAv6LaSwymwDUFaIByK3ZZj6CMV42mtt?= =?us-ascii?Q?Zan8qVNRQ1DDfiIw6QAeB2JpfaFCz7u2Yk0HF37fXuAYj/HfVcqu0Tp5to9Z?= =?us-ascii?Q?SHouG6F8wfYsYQercWIuNfJ9CBrKJHZe5jj58neld/lx4HGAsQolX0jJq7O1?= =?us-ascii?Q?fr3q+CRUWDeo3qdWykAZTVMAowPB+uXVU6m7t+5g5mxTkkAl37VkOvVL7TUL?= =?us-ascii?Q?YRmAH7iCg96cinrZc7VADmtWJ6E8Y74kxWyVFgsIqR1DNqS2C/y8KbS35gkb?= =?us-ascii?Q?cgMN3RZf7y0i54dBLgDlmxYa7xSD14axp2JHgzCDcuSNa0g50qTsuxhRvRan?= =?us-ascii?Q?vU2PCEDzeV3ps9ZzsdsD/xCIoG394Od6s78aT5OGtA20KiYloVqKpbZYTTyP?= =?us-ascii?Q?GslWr0ZUeYgVlDQJOfyQ8xce1yOTa1Tu3uTJG67WlYcp3ZHIYq1e+spkkhzd?= =?us-ascii?Q?b6PheLZE7XkXR9PPxnCXKOVS46cIFtGMWXDh4MM0HO0RadCR/XAaf67R3hb3?= =?us-ascii?Q?dvpj7JLow0Zu7OulWpeCoHTyJe/Fpx7eIzp22TAYYHQKPqCwsu6hfNKMANgC?= =?us-ascii?Q?+3Rnwq+YqXj+hCYuG/XbJOZ0IPWVr1TtA/1dXtSPGIILa/ErIW2TeUMl3fch?= =?us-ascii?Q?0jmALyEVkTl/5X3t5UmY/7NgnDnxJNLgxHMV7LkfRxW8j9EP7a7qHflkzZws?= =?us-ascii?Q?bx7qc0/1CX19ERFgRuJxNZz0dkDmF+DzZzIXbmgYIPO3C9ZGg=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3069; 6:SymJpZEHApqlAmO/wGMtB+5J1gQxPoYQN236iXp/Kj?= =?us-ascii?Q?aWWFZeOC096Du8jjeT7I+PFXhQwlKoBp0xgq0eO22IOCfu93Qkqn0Amk0I9D?= =?us-ascii?Q?7odBVlyqmrHsxawKw8gjxHNBlFgreyFeodLt4Yxwtf9zGFhsEvPLMkYTdHWy?= =?us-ascii?Q?0bGSXswceCS0YQrwdmxGioUH9piuVh3aqabN4bHWm64sn2NuXhOBo5SRThvh?= =?us-ascii?Q?HxNFNKr7nWG0ZtSgSujLqlFwZPdNvn1wKjX/Evb6DoQxbpiK584DhS9JJTwP?= =?us-ascii?Q?KvFMavwKXkpbGKGgjhoTEuCrd3fu8gNdp16UILO8X6boxJS1DcNx+1BGpXXs?= =?us-ascii?Q?ThmGGzWmy7bzpwrvJOSjcNejoBHG7+pnSaBKOn5i02jYOvUcdX77a6gY3GZh?= =?us-ascii?Q?Vce5BwpzHT1fb/WQ92GV2LZKfauncOuGHfCposDjHZ2ulSpdd1rgKP33TnFL?= =?us-ascii?Q?PZVZdH352rmmWbmWTo3CpcUfFhSubTR4YG7ogXSvYdIumJ26bPbw3kZ5drt3?= =?us-ascii?Q?WPf/QzNKnb8juePPPMq0wJhgJ1Nqgb0wT8bCZVcImByElzn2sUTrxdQ8wZR0?= =?us-ascii?Q?NWIdwALA4usHhcbX1gYW2EzCoRukEQ6eqgj7Kjoy8C9mEpQA81NJH8/Uy91R?= =?us-ascii?Q?3Hof7AjvPcThieb/TJJWnfDFpBMJk8Mu42eY9kH18oHV8TA4bkKhr4GRNTTP?= =?us-ascii?Q?+/9UkOQGmN3hoNc9Gl21f8qJrXOW9PTJmFIYRhLVf2RR4LQyzDtPENTqSzSW?= =?us-ascii?Q?kf/bJaKq5AZQuW+MEnuZ2J2S8YM9d8wefELQ/EqN7K0D+p+5hi+T9iSE5fYa?= =?us-ascii?Q?15xGQzcNX9WiLp5BMm5N4bk+8CVMEbCQzj70FpWHuYX2FwkW9GfMSctnRnS1?= =?us-ascii?Q?dxr5IgAhpu2GyuzO9D+XueDtUVsoxwXith/kwdFlIaweXH242WrlOIc6DFPu?= =?us-ascii?Q?NbaLubXkggqxjGVyVgBtyuFETbdGpzJ6+TW4y8uUuasct795suUeSzIV8/Vn?= =?us-ascii?Q?A=3D?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3069; 5:CPh9iB3cZRtofhFV8vfW7q9S25ejahknrUI4wpsuapciGJCBjRSF6l/le+JL3e+DY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PINSdNsLEdMFYoFLbYy77Vhtgdl7GoYiU3aTeknU/y6nbN2Fw1WNbZredgAmn8Rv8KPc9bpWgNo/UznP8Iu3OHKNfuPszs1b8vNaafhaCvDNYuMiT0Deh7buc4w/xL/Sc1oiPPUG7Bt/rQTy3VDwgm3c6IKiwU+Ldm21ogIF5wN4yGAi4XhFFTxJBBK2OdXsBZwGtXz+XI65k7n/2Ec9FJV6dYlEB2gDaC2B20ZDEDHgbU6W6OA7GMM09RUxs3/FenFSKthoU0avySqNLsIbSYr8aYLGpLAQFcNFlySNp5nmTS0m+9FBBZtIXa4lTlzb2UA3eOzU4NoHkHgafAGb6MnSZ4BDZfG9AR0R4PUqowfBk00= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 09:24:17.0801 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3069 Subject: [dpdk-dev] [PATCH v6 1/4] mk: add crypto capability for generic armv8a and thunderx 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, 04 Jul 2017 09:24:19 -0000 armv8-a has optional CRYPTO extension which adds the AES, PMULL, SHA1 and SHA2 capabilities. -march=armv8-a+crypto enables code generation for the ARMv8-A architecture together with the optional CRYPTO extensions. Added the following flags to detect the corresponding capability at compile time. * RTE_MACHINE_CPUFLAG_AES * RTE_MACHINE_CPUFLAG_PMULL * RTE_MACHINE_CPUFLAG_SHA1 * RTE_MACHINE_CPUFLAG_SHA2 At run-time, the following flags can be used to detect the capabilities. * RTE_CPUFLAG_AES * RTE_CPUFLAG_PMULL * RTE_CPUFLAG_SHA1 * RTE_CPUFLAG_SHA2 Signed-off-by: Ashwin Sekhar T K Reviewed-by: Jan Viktorin --- mk/machine/armv8a/rte.vars.mk | 2 +- mk/machine/thunderx/rte.vars.mk | 2 +- mk/rte.cpuflags.mk | 6 ++++++ mk/toolchain/gcc/rte.toolchain-compat.mk | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/mk/machine/armv8a/rte.vars.mk b/mk/machine/armv8a/rte.vars.mk index d5049e1f1..51966a5b6 100644 --- a/mk/machine/armv8a/rte.vars.mk +++ b/mk/machine/armv8a/rte.vars.mk @@ -55,4 +55,4 @@ # CPU_LDFLAGS = # CPU_ASFLAGS = -MACHINE_CFLAGS += -march=armv8-a+crc +MACHINE_CFLAGS += -march=armv8-a+crc+crypto diff --git a/mk/machine/thunderx/rte.vars.mk b/mk/machine/thunderx/rte.vars.mk index ad5a379b0..678410581 100644 --- a/mk/machine/thunderx/rte.vars.mk +++ b/mk/machine/thunderx/rte.vars.mk @@ -55,4 +55,4 @@ # CPU_LDFLAGS = # CPU_ASFLAGS = -MACHINE_CFLAGS += -march=armv8-a+crc -mcpu=thunderx +MACHINE_CFLAGS += -march=armv8-a+crc+crypto -mcpu=thunderx diff --git a/mk/rte.cpuflags.mk b/mk/rte.cpuflags.mk index 4288c1470..a813c91f4 100644 --- a/mk/rte.cpuflags.mk +++ b/mk/rte.cpuflags.mk @@ -125,6 +125,12 @@ ifneq ($(filter $(AUTO_CPUFLAGS),__ARM_FEATURE_CRC32),) CPUFLAGS += CRC32 endif +ifneq ($(filter $(AUTO_CPUFLAGS),__ARM_FEATURE_CRYPTO),) +CPUFLAGS += AES +CPUFLAGS += PMULL +CPUFLAGS += SHA1 +CPUFLAGS += SHA2 +endif MACHINE_CFLAGS += $(addprefix -DRTE_MACHINE_CPUFLAG_,$(CPUFLAGS)) diff --git a/mk/toolchain/gcc/rte.toolchain-compat.mk b/mk/toolchain/gcc/rte.toolchain-compat.mk index 280dde2a6..01ac7e232 100644 --- a/mk/toolchain/gcc/rte.toolchain-compat.mk +++ b/mk/toolchain/gcc/rte.toolchain-compat.mk @@ -60,6 +60,7 @@ else # ifeq ($(shell test $(GCC_VERSION) -le 49 && echo 1), 1) MACHINE_CFLAGS := $(patsubst -march=armv8-a+crc,-march=armv8-a+crc -D__ARM_FEATURE_CRC32=1,$(MACHINE_CFLAGS)) + MACHINE_CFLAGS := $(patsubst -march=armv8-a+crc+crypto,-march=armv8-a+crc+crypto -D__ARM_FEATURE_CRC32=1,$(MACHINE_CFLAGS)) endif ifeq ($(shell test $(GCC_VERSION) -le 47 && echo 1), 1) MACHINE_CFLAGS := $(patsubst -march=core-avx-i,-march=corei7-avx,$(MACHINE_CFLAGS)) -- 2.12.2