From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0053.outbound.protection.outlook.com [104.47.40.53]) by dpdk.org (Postfix) with ESMTP id C9FAD691A for ; Tue, 9 May 2017 11:53: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=jXZ2elr4EymRyvEM/93YzfTdukMC132jurIVDJKSXdQ=; b=f96na1gHZcY8H9N4lHfHD58ru/Apn38FuSV8o7jn8bZkz/q8e6WXnLaHcLoGsz1TQWoL7SDHr3TQZlUfr9mkXnc9Uxd0GQidDrW6RtsWAXgf0tnWH/FpjrM8rrcMM9ul2OjM0Z2tck/xNRr3nAtFQWpvmro7j4qVbEtkIZnCm88= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.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.1075.11; Tue, 9 May 2017 09:53:56 +0000 From: Ashwin Sekhar T K To: cristian.dumitrescu@intel.com, 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: Tue, 9 May 2017 02:53:41 -0700 Message-Id: <20170509095341.10734-4-ashwin.sekhar@caviumnetworks.com> X-Mailer: git-send-email 2.13.0.rc1 In-Reply-To: <20170509095341.10734-1-ashwin.sekhar@caviumnetworks.com> References: <20170427140618.35897-1-ashwin.sekhar@caviumnetworks.com> <20170509095341.10734-1-ashwin.sekhar@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: MWHPR10CA0071.namprd10.prod.outlook.com (10.169.238.33) To BY2PR07MB2421.namprd07.prod.outlook.com (10.166.115.13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e1c71251-c4a5-4170-d505-08d496c14f53 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BY2PR07MB2421; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 3:tSKMoBk6/FNsKjgjCs9XY94l5r6GU+KNYP/rKmWh4f/xmfq5bZsugdmJ70WTP09U1jx9b+KlZwhTuxhhFPp9Vh0YMmJ2kk1QFM0Oy84uLl+AHiY84/OtUQ1p0JDbrspkzhcQO5PgU/n8unVaU7y0SkvqwS1KA7Ltxz7Zj/NQ7pjZ+tfwhaLoWq+4TaqD+QT/imt8v/2KsFK6+G08Fk47oPT6oWw5NejE/eVOH+o7+1OsDg5gi6wW7bIShgjNWvV1ZmOUAMV0/dRoddoLqvNPbwBIOi+8lHdNMYV/neNGRKfsQyjVW7lsMlrUZvlT1IZiR+iIi8fY66pyBbynfR6kgA==; 25:tpbPEfvtmKf2xcLhPcXWW6Rp2flbL5dxmOZFfroy9PVLmMMhPDQohM4/VMP6E13YicMiG83/ObxUGUc9FZLboMJvifE+b1XZoL0XiJLT1jjGqYFHPt3OYciKntsyvk6a6xzGBRCDi9/y5vdlhhYl6+xym4oLM5iGhkliU/bu7ejqY2qP+El54bpMiYOLi6ByQOuV1fkqWxlj3SpYTgN9GDm+YJXSOMG31Kt1+nJtWRwF3mRIaWILVnqINTGskbcj+lmHhNBzR6vp0BdU3XWTY7IM8t643LxkOFTGJCy+GfLsJdmdb0lrZtwqp0SvXqFT7IVm3SaIAPZGOS1BP4lLY0MEias9zxkZoIUcg3zfmGoZZ+754Q7Asy7XIJK1vMstNOFUn73JiJpEPdpLllOoFaOYT+OiolnOEz3n8P7/XWnZacFHUsQv2P2AUfOELhVVIm6cJj5AqgInQ7D5ReSJPqa3h7WM5NBxPZ6e3QHo9hc= X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 31:3gUAHNOuV/HlN1g0QOhQjmOcX+ly717ITFztBSsv2uLVrE5zJ+30jWmtMg+UXrk6QyF+++NeR4pE401JJ+W7F3BHK3Ui77w2T7oxfGYItv/0PDMlMPxhXOu/Acpq+GYVCwfAfL8Rcdi58/nn7cMT0od8gQclN+wtvA9OQXvtq0WlrL32z1sR5SWY5U8tdQZuSYpZe6ip90XPUrJd//eBSQtVetTjkUiLAbz85mr822s=; 20:Qurkc/C0jwqLKDYAZH2m2ckWB91dCS9VWpWKcUxmHiny01LPgKebgQ/p1J+FNOhXIr5epBJCF8uua2Z6kBSmI5Ymstzqe3kjI/ZSDpXEIqJr2g0xTbqs6Tu9Nd8o4v0Ay1tqSMSU5shDF4dEGqR0Q89XpJOwc5XGbClkjTo23gxDp6PqXOuNoSjitIJUYf4erRPn9gWXKzr1h/lBeJubSlvuENrlpHeHfO4bN9H6vzUTvQl8fqp1i9Jq+IRwCfTagUZRQDaX9WZFIBiM2+BIoxL3+eKlZaBV0uQG0KiEoJX7btRwa/X0C5yDe2tLAtvhWRc0TnMda3ZNfbwfuKY1lFBWAu7zncYm2Km5r0xCqF3iSE/QNu+hokT3mtXQEpHvsAWK637SLaCTwTInmwkCpu6VvArEKENOhfQbJO3Fu0FsEn/4D+M6Z3OSEikj6pRVo8QurO/Vaf5cNqajbS3vh6YOl50r+/vqt0yPF8MqEp8FBkDw90fg+BupxahIbUYm2eSItlyZnR0fjvoh0gMi5fIF5bqF8JkuKoKdAjz8bqFtPX/0i5ZEp5KIw/H6sK6QYWrM9fzJpDaoTh0LCSbVsiTKEuMZgcxzFqAj0kui/5k= 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)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(201703131423075)(201703061421075)(201703161042150)(20161123558100)(6072148)(6042181); SRVR:BY2PR07MB2421; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB2421; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 4:wmaXusGlZTcIgnS7cOOYe4tpce25ht39xSDSeHKdhNjOxQcFeIGIe/p9QSJ82Ft1uEfdG0hV5EmbZc8lrzcbYiiN2vF3s3b7KyFMpk8cPRyh/DnBPRWyQrU/HUPQpkPFpu1D0oKN43uzS8zJPapeDi/gdCZrHbhgtXO2RebKLwR38GZ1bCIgI6oD7JmZKoYOBcNOuQR5T0GvF+M4rpuYZuAEntKBqx9vKXrEDNRmBhpFcx32H3nJ3kcnJoNX3D4CMMtK+Vy37721dQxv7aA20ji2ImcZAouIxpDbk0hHPxGJ+5piwYUWPKk/YgUTvgDoqF0gmbJTu25TTKG3djxXzT162lrdnkbvHjcbQPrjKXA3dyOWQjZKprGvIAYAS3zwrKf0IZDlfHfYdtY4IxSQsG0vkBsRUAvPyfhk7oRWmomAnI2XEAFVsIo1+KZJFjS0MpNqShMX4Ig6ubGvstk+HhFpj/beCFJn/fkpXjNExmnqjXoLSv0Weafaz3onRBKcSkYvyT+kAcq9fvijsuyQMYkaRLCGBRygbBFWIyhuY8GX3pQwUi8sCzzQj9f7j2jApZSjfJzckeg8OHikYeQROcNZbCgNIHe6YEv0SdEe9lQD2L16FBuOKjamMh8132T1nQof4wtE1jW0Fh6CkYKmkIRQflAsQSds+K78vsG+zbgENuQp1hu/Z3p1So0BBMoRzpLOp2tAFIk7vD2GzaDfK5ayTWhHafb2gmCYm75qKf0zLyROTtZsRV3B2SNex9mH X-Forefront-PRVS: 0302D4F392 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(1076002)(4326008)(3846002)(50466002)(48376002)(6512007)(6116002)(66066001)(498600001)(47776003)(36756003)(189998001)(25786009)(6506006)(50226002)(5660300001)(6486002)(6666003)(38730400002)(107886003)(110136004)(50986999)(33646002)(2950100002)(42882006)(2906002)(53936002)(42186005)(81166006)(5003940100001)(305945005)(53416004)(76176999)(7736002)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB2421; H:1scrb-1.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 23:dkeD4HceI+NSLM3VROzpX75l9OW/S6iWNjCk3/Zt02fZQoLwGlHNjulk2u+7n6O6wF+U0977/hkDJPc8GnV5ibiVL9MW5TVE4YKLmP21bEaede53nHlp5aaLJkM9CcreXcCGPq5I+keBQz9w4rotbUaSJNk0dWktUQAqgW2Ex9XWClke5i+47QMUT9vnBFc3wyqzATaJzwjJlQ/dUkPedak+iVh5eht32tYVkORuaVbQwJfsYlBMVwMj3n41+IV+3AETPA0XtO+plu65VDLkbxX7M0ovVanAPAoy8AqKmWZBfBCeJVQGUGv3gvVjdzZ+FRRy5ZZDiccDRbyGJgrWUj1/5LIBgBjh3alI88QRMhZyNjinozzt5nmMoFxoNdnnIIxOVRECKrwKQJ++7JMn5qZ6k6hpgd6X/Y72/wiSHAv4B3ft2rJjL0wX04T9bcPr/VLFWPeXwsdT3LC9FBvd+wCuMsHvSVBkOCa0CDmLtkL/QztZWXuoxad/PO12auNyVU+hnoqbbltgqksAFycgvFXTyh9OGPkOaHHbfyBrfiFAKZfRwUn42R/JV6WPXAyNWdfd6ZebBnJDE8O9W3PbzrZCTGDdYDJqg6/6LQ58zAeXH329gGmf27t32KXjF+phqAJKyILjFYxSHZiQwokzoBIhriJ1AdXqfRqFU+SEJlYuZVBQX0PdZrKrcP/UA3ecAiQFs5lBZGKro3fPe5aADjRDB8RhZYGkx5iEsiCsOi3C2UjouZIcGD5pFSbhc4DLZYdvLw2idmGVofMu7rq1U4Nhx/g+e5n/yDvRApJRbPpj/6dh+p7LaZ6cpteSwc6/kouhRCXkm4iq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2421; 7:aVe3V8/gmMKqHnEy15+TgoB0iJN5W9lMIu4oSRRh9ghkkh+/RcsJ/i23THkD4Vne7rX4Dwqmo9VGcPGRioZXgVMQjHQN36ipwyHSiIJa0O8SrxGgy6exA53Qbhk292mf+eC1E6qk6fRwfZnJEPJcovg78CYntaft77bUZT9OPvkAIZW0UDvyikcBuYgWQMqUFzaJ3YRyu7vTSpS8ldyPdX82me7DvcwZXJiG6YInDhmxokIg3rkLTRnUnn1oWnXGEdqMTL2nIHxtqoLKtFVtfbcCTRSA5zFHaDHDzyMt16bQkL9TWUVqjq0wcW4jke/uHpTDpA7bYLNYKN6BdhWgFg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 May 2017 09:53:56.5097 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB2421 Subject: [dpdk-dev] [PATCH v4 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: Tue, 09 May 2017 09:53:59 -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