From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0076.outbound.protection.outlook.com [104.47.41.76]) by dpdk.org (Postfix) with ESMTP id B5D72689E for ; Fri, 12 May 2017 12:15:58 +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=p9GWRumqRL4sDhUyo+l8hJz45BBMLFA0bhzXyN3S8Gg=; b=ehBLLaNmhN7nEuzan0AncSa65w/8wGKaPj0Quwj7wZSHabPKZ3Gpefxc1if9B635x31sQPKglmwC/sSTGR2aQdoSKDAiZLz0pHz7yfv5MyYYVcfJ02bNCpLk5mAqUIAR22SxKAGOEvfeIr/a3s5W2yM923A6lxhVC4Jlsx11nek= 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 BY2PR07MB2421.namprd07.prod.outlook.com (10.166.115.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16; Fri, 12 May 2017 10:15:56 +0000 From: Ashwin Sekhar T K To: jerin.jacob@caviumnetworks.com, thomas@monjalon.net, viktorin@rehivetech.com, jianbo.liu@linaro.org, jasvinder.singh@intel.com Cc: dev@dpdk.org, Ashwin Sekhar T K Date: Fri, 12 May 2017 03:15:35 -0700 Message-Id: <20170512101535.7221-5-ashwin.sekhar@caviumnetworks.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170512101535.7221-1-ashwin.sekhar@caviumnetworks.com> References: <20170427140618.35897-1-ashwin.sekhar@caviumnetworks.com> <20170512101535.7221-1-ashwin.sekhar@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: MWHPR10CA0069.namprd10.prod.outlook.com (10.169.238.31) To BY2PR07MB2421.namprd07.prod.outlook.com (10.166.115.13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f0c76c51-0a62-45e2-1de4-08d4991fe160 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BY2PR07MB2421; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 3:7qRPDio/qJbwO58ZVK+00THCLmvNWcXl6l7FRPJ5fu3E+72I2Hyy+wBiHjFRAa+Ii6wqSffZAiNizNoAOEUDQZrlAB+NpXdGSg4tQrLLPuLcwfJcyQTYoNd1b5ATqvYpB3QQ+Lf4PvOEdHll5IHl7alVvkqIqB+n4PzPw7iaaBb8okrKsyL068T0hHVc5oznyxy00TmAWqIo082h+IrJwFqELPDyOAGJJh/2daJy+uMyrcGKqz4r0EzsiSJIKT/SIepDGub+AFSBhS3W7zGgJWxM0S1GHj6DFOURuIXyqx6efyuKcuFNfehfyoPnwHrTMlf5ZHL9LQ9c6ShnoJxXaw==; 25:CUhnPupt8ZX/gMXCPv0WQDtmdZj9OK7WXgTBjwL8Bp5JFciyeZ8r4cLNKc3dMF80ueJeYpjnB2rUmLFWGtYmLXPlzPywCRC5VpzwNJxwncL0g7t9hC7aTsnS6er878hrMHw/+JZjE2yd0fL8Nql3wB4jofJx/Kf1rGcUoCUH+Ef0HYGBq/ZqHvBI+N9i9buTiPoDIBKcxgTzx6sAgwkGGYYkYQUso0TQfodBGQ/4GYnxUks6oVIAthb2rLaZ8Z1zfD9sXcHrwXQy5GXJzpUmaa/3TvELTKjrnxJx9mYRHnBVNAvWdw/F+uH2UZq3p9jEinkEz+UssJr+e7/tsFdAmYaDTf0RAwSPmVEvockfYXjyqBBKQUH4NYWMcZzUSSU1y3gMw1cDggGw4DFOwf/bH98z5vBJG68Q8ygUwS0jthkuP33N0KR5q6wA/s5bU+WSt39RvL7LDaVwvRdEUX8RSJhXbwI9D2xEf757utX/P0g= X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 31:bfuUopSxZP/6pbKsseQhstL+UNRVnOViO5myMxB3Os6c7iJOOnVJh6s1gIJIHt6kry2oW8LPz/P87hINA0w7jtHgqdYUOT77rkVfmz+KRRa+Dt8lxckK9mqGQ9SFszhDwjDHVqg7ErCzAfbGNx1h00862+y4KZTWTcaptcn/UQafH85p5pC3OfW6Cj4fQlXUREq9/gSBLvRnwx/5plaBUmvEQMeTdkRTHRtz9yEHT9c=; 20:DV2GLKVug4bCERrF610J9Vnh9zEz5nQe4nd/nBN9WeFPxYzvwiosv6EE6NtqaELrCXckPjCnvSr7l3R9TGlI+Upr4D8ddQjyMJrrHJSPg1uOjDgriq2Zw13b0fT+oxevuZYYFjQZPwY2YKJhsQblHRD1gMvfOWRu/EbU3wbUSDsUnIBgLhy3h9khMTYOpklfDkP12NO9eTQ+7RJAqk4Z74N4toNdDi41BGslEAlCx+Wz0MFKfmgYr0gv8brOh4vXtZ2n5kUYAgzUa9zxxOqb3Rgtbx8J/tlaKVmI3xhWAHzDqQpkPfYAzZLAWvAlK1LAUSa+McHXsoZi9lOCsO+9XNhFFdQv8yBt7zJDph0sx6LlL36MjV2PseZRfvob4v0IEZJHNovYV7zL2gB+omST6NLYU38FrzimMKlfBhrLX/F44xIpt7ikdfBaFAnljcPLBeX0hOHH2Emm6gBJuS/JbnuGmjCCsrdWxIYeARPFPcyJFN/i/zTFyIlsP8f87NG11rYqvpWZWLtzuIo/xtTsJEWffIuk+7p7qDSkZ0v2pHfYVbZYgV/rnEHVoOnZqmSH6zeJ2bqzMST7HhY3XkR/gDQydaaARIvqlt940kv0UOY= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123564025)(20161123558100)(6072148); SRVR:BY2PR07MB2421; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB2421; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 4:BVT7EuD7WaHcTvVuNcBo6B+5DB4aqB73NJT169PHx872D/t5+jrrRRH1eKLR6t8s4HFmkpDESxSMvdcZVjFAbfCP8pnZ72u+BYmszAzaFfYvtAMxiAQot7AzNfnWURM83neRCDcralqGUKBr+UspJruSGnUqHDFdERQJsmMC1WC8QIsXEzsMUFMi0bt4lynAUMzqo5J/nMqgZSTpE04UI6n/C8Q2272vDqPv6O/fV2C6X0A80KQMKruGiyyVEOKO04lL2POug/2qFG5lPfoor/TY1kl2a1g/qPANskFbGt95RwaRhk/wtobvo3H8Q8NFl8a0nhFmOFQKD9HcY5BQICpIYGR3UqMYugJsxErjreIhSfkRKov4TGJGbVl9ruHOtb+uvDGYd/ESJJ5FIxr90S47jrsr2Hi0s021qq59B3naFFg6EoT22311SPMmfwjwpFHQ4iG4Ec4lKJozL0lVheUIT/aGWt8FsasJAFLrcI729Dib6M6rRIsaC4BvgvRkigr2nu/+vFpZjCEuR1tRX/PF/irIM+zri7+IQhFaTNFaOZ7vwO7kUPIMg43Hcg7pZJHf+CxH7WCW+QpwHmffkuye68qdD2apANCgmJ8XEw5xaSFDahauEDAqggCme5ts1z/h2londGt5VLwgGdt664R6xOLef0eqcEAlwjoni3zN3EdHK5ky9C63cYWjXBaP0BaoG+O3lXlIc3FosHaINQpVr3StKR20qTw6hucL7SRb2ZLUyIwsdrEMzTVRFYypa0/TC5Kz5noQkyF8hDgCsA== X-Forefront-PRVS: 0305463112 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39400400002)(39840400002)(39450400003)(39850400002)(6486002)(8676002)(5003940100001)(6506006)(25786009)(81166006)(76176999)(42186005)(2906002)(47776003)(189998001)(66066001)(33646002)(50986999)(48376002)(53416004)(50466002)(7736002)(4326008)(478600001)(53936002)(50226002)(305945005)(6512007)(6116002)(3846002)(2950100002)(42882006)(72206003)(110136004)(107886003)(36756003)(5660300001)(6666003)(38730400002)(1076002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB2421; H:1scrb-1.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR07MB2421; 23:iMNw/0d/wKfu/Oi6BrOHnlU4bA0DjTDE8ik+/SINn?= =?us-ascii?Q?ISCmU+cVSrKgSkmrlIldhCfITiq/EkQNwfV8AkgrJLSPb2Xo2jkJWGHrxur2?= =?us-ascii?Q?nCg1ET+QQ0bup1opM0pHArbQsv8OKegUpmgxXUnFN1rONDOOqmNfLvxv9uRG?= =?us-ascii?Q?yHdBrNXskdC91E3LYrALw+xtlBrUH56LldgEGxjkoDZY7h4iZgNjeszw2btF?= =?us-ascii?Q?DD5MBtwHTACMcSimDgDbTBMyLSTjVO9gPptG0LNrJ+JPUCNd36ySrV1fuSOJ?= =?us-ascii?Q?7v0LHo++X62dOPDo+IzaGudCwvaFSts/UIcLApV3hkZC+TANB16LAJxuZKqy?= =?us-ascii?Q?65/gu2Q+MjFlMvLkMnTzYu0zFKEQ6paaU55WvxO7RIkv27rDkDBK8Glz7cgU?= =?us-ascii?Q?+tCk6MnMncEjqu29WTSh8WMQp4YrLyo6zMu8IWmqHhZqH+q4L6LvqjVZJjm0?= =?us-ascii?Q?BDItOC1NwqSuja/LgskR6cxXhuZkgYP2A88sT6TKKW4dZcQCwdLU1dLoAJJb?= =?us-ascii?Q?q5lng4Rrk+8ZgA+qps20zRXmNIfmsLSNeR5JWuWRkOCZafGJzMlaLwd2KlyJ?= =?us-ascii?Q?zOEfNLunUlIoHH7guYfAfRjeUj+Jnj0oYzCKDvZ8CJ0o3J2aHMkKaqz+07Hs?= =?us-ascii?Q?KaVSlmqDDyjCDlylwlZxws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4WEhtS2NkwxwttOqxpgR+B71e+o5VlX5JUkDV/+Kv2Ln9v8JivGg==; 5:Zsu09EPDI++HluVKDufdmSYi7OmNGd30EMz5ue49C5QqWLopE65YyWxZfdjOJM5CXYtHQU5/3F2O37EFBlrNpUgKPvuF8GdcCD5iNvVjSISciNcg/2ooFGIpcCqXLOtNMIBnY/2YHR2zNvQUSxQFpA==; 24:kSzdJHQxzasyhq/TxtT8r83SWkO670vws7WfHy+hb6dAXKQyOququEaFPpr0mehwzPkN97FlE3kcyM8h29QWfzFZM2J8Rymx17l1TtfYbv4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 7:PW8WWZi08dtkpDW128cRLbAVi9lXW26gq1rBPqkVwsfV3XrOHaquq9Et7O0QPrO7ajbHh+FLSZauJnJWTj/S5jKKkYOdnNYQJngjgB4md+QNwqYcj7FhEDPmQERF+3yV6oy+HrPwgTwPqykF4R108vzptHlAlNAzh+YndwKU9fCAUZP4E9YbHXEKmFOD70Zfp2UPzLlpcmSngXzz2ZaP1vcSDkSvunKw8Qap1yydOKo4sguWTdcJinNgdbw/l3WUR7GK7j8UDFXzgfn22XnfUKt7KrYEFRKA+NcEIUfwbX42wg0V+i8yUdheRGzCKk1cmjPOWC9J9n6bacq5iVU0lA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2017 10:15:56.6072 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB2421 Subject: [dpdk-dev] [PATCH v5 4/4] test: add tests for arm64 CRC neon versions 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: Fri, 12 May 2017 10:15:59 -0000 Verified the changes with crc_autotest unit test case Signed-off-by: Ashwin Sekhar T K --- test/test/test_crc.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/test/test_crc.c b/test/test/test_crc.c index cd5af69a2..9f2a17d49 100644 --- a/test/test/test_crc.c +++ b/test/test/test_crc.c @@ -178,6 +178,15 @@ test_crc(void) return ret; } + /* set CRC neon mode */ + rte_net_crc_set_alg(RTE_NET_CRC_NEON); + + ret = test_crc_calc(); + if (ret < 0) { + printf("test crc (arm64 neon pmull): failed (%d)\n", ret); + return ret; + } + return 0; } -- 2.12.2