From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0044.outbound.protection.outlook.com [104.47.36.44]) by dpdk.org (Postfix) with ESMTP id 519A4567E for ; Fri, 28 Apr 2017 11:34:35 +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=jXZ2elr4EymRyvEM/93YzfTdukMC132jurIVDJKSXdQ=; b=ciSgCX2OPxR6VEowBh16ohsJerQBOuCSUrcQ7Bcgp237Jt/QGFGb0E9Uh7S9jPSjzF5uOJ0Saa2HtMR+sPJMOACUx+CN0P+JlB0/xDDYPFlCXFWQVNmZ2SHhZaDtndSRQgjITPsvtW9ss8MZBL6Yb3aZbZ4zuXiXs/0qUud0etU= Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=caviumnetworks.com; Received: from 1scrb-1.caveonetworks.com (50.233.148.156) by CY1PR07MB2427.namprd07.prod.outlook.com (10.166.195.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Fri, 28 Apr 2017 09:34:32 +0000 From: Ashwin Sekhar T K To: thomas@monjalon.net, jasvinder.singh@intel.com, viktorin@rehivetech.com, jerin.jacob@caviumnetworks.com, jianbo.liu@linaro.org Cc: dev@dpdk.org, Ashwin Sekhar T K Date: Fri, 28 Apr 2017 02:34:17 -0700 Message-Id: <20170428093417.48703-2-ashwin.sekhar@caviumnetworks.com> X-Mailer: git-send-email 2.13.0.rc1 In-Reply-To: <20170428093417.48703-1-ashwin.sekhar@caviumnetworks.com> References: <20170427141021.18767-1-ashwin.sekhar@caviumnetworks.com> <20170428093417.48703-1-ashwin.sekhar@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: MWHPR1201CA0001.namprd12.prod.outlook.com (10.174.253.11) To CY1PR07MB2427.namprd07.prod.outlook.com (10.166.195.16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2126a50d-5f41-43cb-cabe-08d48e19c731 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY1PR07MB2427; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2427; 3:Ft4p6iRmyWwBPNkEbkLKGb5OaIWR0TFPJlVRI9/lsveDkUG48ZkMdw7EjNKH3QJoFKvcat57EGb76mzFz3folQlF49NeskQ1Ea8DOBmMS2cOtK5AKxuj++ThHVFELIONZhxYItUFVZ7V8oiFC/+PLbdM+dw77mOpm8Rh++bkI+KbgOidUXJ5WyBrceQ7xFKhWv0opJxrY+CJ/oCfeOITt0JVVGE7G4AzaA4OfG6oo4Y6FV7npMqV88DNVjag/mh5d8kRmJsOQNJv0xkog1uzqUopBocCLP5TTn/WAwZAHrY2i+QrH3anFWfPeqRN2rGg3ai2Oi90ep9JAWVBU1qEnQ==; 25:dnUsYDwQDlF7oI625JXzIPz900K637sX7LL2AMHQLfInhDweIat/1Tf4I49DW5S8gx6rXrhevkCniI2i341xcclgSG6nLXCkg28SLKdHAKVnLlzHBPQ6cpbyl6m9VWKh8hiYuJrPkjJC6lOrGb16B13Oo5a8fgLfULduJICG92n4IbH8jx6eeMMKjmZ7fxvuE1cGYKbrGRcoiY4uRW29ZxI0/SInrXXRIopAibGHL7lXs6eovyPia1DW4TMkHYXUPe1r+9bssAOCgg532+8+EDiLZhrKlygHWS+rFOcVo4OxSVmxZHvxGnNyxIEfAk34sL64jP6orQ+yRCI1K/0MrYjYxCxT6VLQ6g1d8d6eyjkhBDGU6zXrYvxMToz+KJPxhDDgh/ZLzWn6pVr10Bz0KAIAjD3qf01aQL4SsJRcUSiKw/iWnqfOBZG0KIfRzN7JaOC7LEajejwMa0SHzapVKg== X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2427; 31:bwsTjFlzecHb+jBLKZX4s2uEofcry2x+rrF7PSnk0MDwoZNf/Z+D4Eml38C7D1Pa+UqRlZ9h2J7B062OEC/oQPqkVlT1ss/xGzBDKv9k9mWnw7aRHaT4fQHZAhd8QCpr8K/PkyZzilyzFQYnQ+epb+zm7OTeIKAOoU/DizlaJIBu8hAMMk4Zsd8OuG+bt2cYQvQmqxXxpe0kSgn5/5qVsmYye6FtQQEKi9CfJN4qrOQmXvyzSB8v9mp8YkIbitth; 20:oYu9pcploXFDIO8GIWXTl6NafM22vv30VOC3r2L6PrVK8Lt0bbi3YuQnFMz9I6ygKxHPzmvsDge075OVFN9bMqNMmhoKb+zIxpYOeiZpq4hfYowm4poRC/r9r1NrMY3kuDRNmdSJe6gYP6Kt4TCp8oEcK/cRDpypQ8tHt0DxOEWz6Jn5cyRuCSeLsTKJCfdUcJUu2JTk9kRUK843yiSEaSwC7SJb/R08K7ceIc/PJMn4hw7gjkSTlPcLQxwxxtl/kqhB2n59cWiff2E9tFmJJhQwE8/9tT9v3ABvno+QLhCa8qzNQa4Ty+P5aVX570FN01xLeyshaqoQQAT6Z+Vqmnhkk7AMzKD2Rxokmpif0NdMk72TH8XhUw1lg8XD+fsLfmSwYz1MdYxHltin3ykaLekZcGl4t/TgbCKoC39HBDueUDo5TCkQbDeDbJeg/H0m83jU7BG/RNrCOReCeV1vSCB68TQ7/RMpq/h+uqg97ZRklt4qV8Q5guAhCQu0mS1mcU2v0fg3A1t5v7SmXSqFZLT97vQKGSgY90qrvCowoPj9aSUA2SZ+GppiPqHjNYqY1LGzosAO7MbaNgkn3SHXqbeecWLv0GZ7UOpJ1uzHlm0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(6041248)(20161123564025)(20161123560025)(20161123562025)(201703131423075)(201703011903075)(201702281528075)(201703061421075)(20161123555025)(6072148); SRVR:CY1PR07MB2427; BCL:0; PCL:0; RULEID:; SRVR:CY1PR07MB2427; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2427; 4:Y9RTtIuLCyWGcPsK8TWVUxJQHihHHoYd60m6FcxeZDMvwDNjIU0MebJfIyL5cIZ8aqc32KQraRJj4L650wWVonMU4JW9vm7M62zLRZ9vXT0JWuFrdaTWZ5pZtIjKz3IQ01hL0yAPtrfQ37yizHficbzq5DHlnTUQdXjGUUJhL9G8qfjAtiAuD6V/pHKHrcR6Bpj91hYAfGpTAtkGexzWfrxpcgWp5buWCkL16vWQbmzvsnUrv5yfO/Yr3OeF0zOORABFdVfpwgdQsRfd63olRxY7oxnBBwecKQZ4VqrmNzlkXDbM38ZVa+tC5JHtGZL6Ln87kSJmV/SMoXXkjEuU5kV/YAwFPGnbB8oXfaiCIiaNiIJI0Glqyh4afDbPWu1q0oLF7UCFfwnelU7gIexTn8YFYxgfF6qjCXJYyiruBZttYSpjgGIwLm5k2GIDpQ8zxXJ3Ng6HNDPG7I7Sn5CXlQcRfUsuABcac6RnJu8SbYq+XUNm8W/q1cETbhaMtnCzRcnAThvfakDAzuvkPF78UZUGa+783SsU+uIH/nrnWh7Tp5G21Fm7IUxxSSvnN3gwbL1TKxd7eYnhtbCgcFB/WZUy4g6Ta6OvApIkDSSjEICOjfHNXD6OC+KLoCnzBbze7niF1FlOzhWOX9OiBFm5Kh+0sXy2DsORfnsbCc1QnGIt3Nm3jozOTD0gKPUdhBOqWR9FKNw5hby0aon5y863uNLO0Y2imqSJCnk1ZyWueXQ= X-Forefront-PRVS: 029174C036 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39840400002)(39400400002)(39850400002)(39450400003)(39410400002)(2906002)(6506006)(6486002)(189998001)(7736002)(8676002)(81166006)(50226002)(3846002)(6116002)(1076002)(36756003)(6666003)(50986999)(76176999)(2950100002)(42882006)(50466002)(48376002)(6512007)(5660300001)(33646002)(53936002)(38730400002)(25786009)(107886003)(110136004)(53416004)(4326008)(47776003)(42186005)(305945005)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR07MB2427; H:1scrb-1.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR07MB2427; 23:MsuuUZePRPkHM1dbQdx+EWSc0Kyp9/CVFbpOVPC4k?= =?us-ascii?Q?itmN/pDTxX3rt6RBB9dEKqpHjZ/i0do2rsX3T8oGrOMLs7JvjjQe7VKWtzjG?= =?us-ascii?Q?UhZCPow2Q+7vSp099aYHF2lsE1k3Dc6uYxzL4teJ4Yj3uSZC+YJJknj9ij86?= =?us-ascii?Q?moUETkDI/hSEUw72BvzPLHkIZT3yyDjBqhVrlOqS2mFpgmvhnQfUvxbjgJwU?= =?us-ascii?Q?3QbPNyuFRWbal31+rXK/5I8CCKeRoeOv8UfbGadKZDZK/UfyiXsPbTZ61EX+?= =?us-ascii?Q?qpQ4WkjFk6bMoEMmNId2c18sS0WSjNJFy/hMOCmHBn5wNOAGmUyQ8qdtBdCS?= =?us-ascii?Q?hyj10iacKEOsQ+K7ifeGxQXFeVHOt6wSmrBzkAgnS2iWKPUOKjq8wZI9fL3E?= =?us-ascii?Q?HP1OOy1fXg6eJtQ8dBSxQpXk1+RJm7D8Em54wUw3r6ZrK4KUNX+5FoKqTt1K?= =?us-ascii?Q?+OzHj9SWMMytpBf7+Mr9paSXdySWZiewMAxPBfwbL1wcJGddgqcoHCWjaCVa?= =?us-ascii?Q?/yZnnBoeS+jg/gignywH8Of6BgTdrkdx498VHzmKoQLd0bF8PNNsDmqrLWuv?= =?us-ascii?Q?y4Elk1XbiXPbU3yWCEldZnmem4EKAAkV+fvil0RVDZDQzqgFrMpNMpCAhj7n?= =?us-ascii?Q?BOupN4yYPHWPDzQIvp/H3q9EWtZ4jjv1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d2JRA5Bo37i2XoJxYzDiMHhdxG07qzLptj/1CT5Wdp8w3fDci2WOvox3kC3SESPJEmuJ1U0831AYKh1aRQ2F9yJPOhA==; 24:2C8ACRyt+PSBLYdJywxhgdCYgxwBOI41p582CULH8ixkT46dcc5SqdJI89cfDtytvjCrD2Qn8oKKv/6zXhFfImnyKQx0C2IgF9bJx0RJZCc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2427; 7:KtCQ6UNjUxuXdc/J9TILTU7Ll1MOMPVemV8rzU/vF5+Fx01KD6iZvh/8o37RQc4iQudBUsdN6d1ubRmgfcA6WtxavwDfpArfR32urJTfaWYD2WFjWxtETIbU6rJ/SZ7ClZAN3AC4ThNTV5+HDsrqJmTTyb7aTj720fCREMhQvLEIzgkBCc6l1SGdGJ8oBikFrFKTIltaWaJTMqoOIajJJjr/0Hn/O8ZslvJq9eoVFf0jBMdmGU+d6u387OD7DYhv9PodGtN9D+OkDKuqGV0r7i801NQd3417/zl+zhNMfvdUxemBN/H6NLqe4wL/PBbIANTeXDuWW9RHwarZ4MmJ6A== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2017 09:34:32.9134 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2427 Subject: [dpdk-dev] [PATCH v2 2/2] 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, 28 Apr 2017 09:34:36 -0000 Verified the changes with crc_autotest unit test case Signed-off-by: Ashwin Sekhar T K --- v2: * Fixed checkpatch errors/warnings 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 cd5af69..9f2a17d 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.7.4