From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0077.outbound.protection.outlook.com [104.47.36.77]) by dpdk.org (Postfix) with ESMTP id 1D4E3388F for ; Thu, 27 Apr 2017 16:10:32 +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=Fv0lW9T0yvKvRT7n5SK9Y8+bOQc2KI31x2XssXG6Cqs=; b=H18yokQ3HHyLziFzemhjlj5wM7OS59I8Uoj/AuVD0vtOc4fz96UMqFi69/yavlHngtRhFI21d6Pk+meu/NygArxZvkmBJaMAkw6FFejJJerACRnQwYBqYys+zyMgxN6/49JGxhnRaygUd4ajFGoKe+2UeYqjk1avGKNaA0DScDQ= 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 BY2PR07MB2424.namprd07.prod.outlook.com (10.166.115.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12; Thu, 27 Apr 2017 14:10:31 +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: Thu, 27 Apr 2017 07:10:21 -0700 Message-Id: <20170427141021.18767-2-ashwin.sekhar@caviumnetworks.com> X-Mailer: git-send-email 2.13.0.rc1 In-Reply-To: <20170427141021.18767-1-ashwin.sekhar@caviumnetworks.com> References: <20170427141021.18767-1-ashwin.sekhar@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: CY4PR13CA0038.namprd13.prod.outlook.com (10.173.156.152) To BY2PR07MB2424.namprd07.prod.outlook.com (10.166.115.16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d319315c-e66a-487b-23f8-08d48d772a76 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BY2PR07MB2424; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2424; 3:g9vHDWkaBL7DWzCQoURRJpSGh464iF9tp2/glP2wBn3NQNp+0C/QbzSXaX03AmVMUhCYK6xNJ7LXxLVAIVdbLeeq2F6v8jqHZkm9UFhqrq8kD7NAYa8cvGzttIRdCMu7WWwjKoooRdsm9PDCk01QFaTF5bSur/RjPvzzimJiMJ9JamToZ8jsj1Fz6EkZ6AGqh6wGh2iDL/BX4z2xb8QLYTE9d/jICNonj4DjJH2z01pAORYFBz2F9SVY9IEqYh1q+J+7GdHwXCCYn4n5CG1zCB1tjKOwHdqV695lIsY3dXkqneyhbrQ/Lw1OPX2Wjaqy+b23O90a6ddUZyQu5yOtLQ==; 25:vv8koutpZi6YYHRWjOmHBNQV6AvV9NLE1KGVkdJG+Y3JvEp/xYBt/aU64TbC6jph+Xb2ndurJy/HS6Ntu9R+Rr7iem4vFYGBwm0BYDznS5xMAFMZfpll08yJFPmZ8H2cMTSaq2GwfG79HvRgcuxg7cG6l4s/3VZw8L057I/e0v/pGSy1Ch5dTOy3i5af+YOl2GLIiSAGq9OsivanK/yTW+6nVkmnW1QZCvagQ5UsAZL1HIcjsGU9M1IfPTvt666A0PiqRPLCt/qA8z+0o/3UltabXiJjx5byMRKliGArZd4NO8Ij1ATtOMCpgshiiocULDViDIN9I7a/J3gaE8CAem6qDhM2C2rXFKW4Fc6Ln7kyXuEmZTutsU3DnsZ7+lBYtYpSF3naNmKVa7iKRMTqtyKZyMtteAPHr1g+Gy7V+L852LactmEO/9R6jQ4PICqYWdT/WnNeEtVHXscTIQv3GQ== X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2424; 31:o8KbHvsd6Znt1y101hYu/TEPba1HktNbbrFLid7U7Qscg4C21r2tzmxC2VWLWsHb5QKfqglDlqEgA5aoeNpALh/CZLBUIbzKNvZJUAzwbOFTOCg7rr3XQQxreXyT4uGnGjz61KNEIp49VIFm8oxuPsOeVqkwq/vOM/+fKUIjJeyXK+ni3ABDvRROiVXUvHGmlYfZatRuJaqC6xh7P2eFW1bVgVLSmvEVQ7LAtkGYMek=; 20:665RKzpeppeY77NLZvH2SqHpVBLdhNtXezy1k9JLTgpJZQlZoSYEwUG7JEPN84aVNES1NYjYR6okzSsIFykKxoXYG0dhiyyYCwJEjO7Pr/s6i19GY8wrLLUHZPBxOd59bX3GFD8pKm6jVzC4hJd3fgi3tCIUCyMABnbINKWU8UVPSjGv3tnZy3myUkziXKvEqgl+HUOPNvGnBtWhbHIoOFpasqLn346Ti835hphHJ1igW5auUSYRaJmZHC20T9lWsk413UmHyByN8Ogrw1fxhjM9sav4hcCjzDh6OTrUWD0vsFZqCSOwRAhcOgOHHirrSgHHB737Kq2Bsesfz/NfKukp7umbb8d5L2io7yC8m6rmGlP9REBhQAZBUvEyX9dgkp302XSke0nCzrZqa//A8H8F3EfqBx0F6xb09IKjXKvfOSjzvC6iC02JaUFDdy4mm6cIkWb3/92mqTLfE7kGm5M8rTNz0rtdx5wcS23tR1FVPQl0+WMiYS2aWdMUt+wSbUFg/MKnCzto9YPZdh3ijcUQctHeGMc6/9slSBw/yH+xhHJIft9iz1UkHwVfB61MwuJv4s7rZ22DhpK+MAxBdFJTCwzALkfXP5d190xWXYs= 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)(93006095)(3002001)(10201501046)(6041248)(20161123562025)(20161123564025)(20161123560025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148); SRVR:BY2PR07MB2424; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB2424; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2424; 4:Se9Z58zKQB/yMB1waO+iWWT8fZvb18WGa/8R1xv6/FgKQLlmgctotigkpbPx477RGVYNfq+muyOJJfqgO/YwvVlD4X27r41RdnXGrpqMYbQWDxTrN142H7i8LALkFEmUlnsihSL/2TSi9a1Te6+0UN7ASLGw+JigUhGgiivEn6CyCk4jWScBSnm8dhStY82gUPq4xUZYSvd53adXIRcx4v0FqsiRWMDarRpgu6mWaQ0FoON46Ue4UILuB6xcfpzOt7D4WB1RplYvIReWrvKmPYo9Gr/O5ifeLSHxqg3gzG5ZnZwoMmJ7LhTLiXZ3Kr9smYEGbONUEvGzbc7gcfwba/OmQzSD4NhFazWvRMmnxaZ+QEqvwVdF71CHcMhIcvbSIs15JrR8u26Wmx9vu6a/MHXgSGvDloTNDMF4L4i748pS4O4XxY8cTF2bq1mXgtOrqCbvNHDqSC9QiNkSpU/TeaihaqMVFjkDzbCiQypL6rvQaJHdnLd+7/ozPmbE6E6Tj/LQR5ugjb3G3TZPO340DP1ltUTNYX/I9kY4fxmibD9JTPY8uvbE0lOHhngteBb2oeiG2/5r2bcc1pSDF5gubqRixcK8gG9OBFBDeWz9xzg4TdVUGgGpvp33CGWCco8z2mLz1dXnLPF4dx2cA3E6ZzDa+x4P625ukBb8dqXkejlgxqvKWCQxGRIts89++wyARkwecC/jhHhQE2OHdlZg1Iny6QZ+Nj+0k5Aq+zUhiUNi+0Q4YapwUQcfHSynW/Ss7icT2YBlKbzy+CGphv8Vcg== X-Forefront-PRVS: 029097202E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39410400002)(39840400002)(39450400003)(39850400002)(575784001)(5003940100001)(6116002)(6506006)(8676002)(110136004)(107886003)(81166006)(38730400002)(1076002)(6486002)(66066001)(3846002)(6512007)(36756003)(189998001)(50466002)(53936002)(48376002)(4326008)(33646002)(50226002)(47776003)(42186005)(25786009)(5660300001)(53416004)(2906002)(76176999)(6666003)(2950100002)(42882006)(305945005)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB2424; H:1scrb-1.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR07MB2424; 23:MBe5qMSsSx+d60NVTU6XIJg/ztPoE2q1EhvLfkz2r?= =?us-ascii?Q?deI8WOTI7P40l1iLiUFCAvoIo0lCPxc4O0rJQn6pU/peUqay1rj3Cb7ExMR3?= =?us-ascii?Q?NcaxFCeCKlax8/duiEH9qaklM7dZAs203DzlxL7oG5uCV4ZksSXgl4IsZRd0?= =?us-ascii?Q?yLcNlTxhL8Spm4bN+ad4ef+yOCi4BbE/BifqfNuAUHVl7mi/nkdHjAts5S7x?= =?us-ascii?Q?4Q8rU0DvKV4PooEW5FuDoH9zYEGZprTesUofn10mgju9Qq95Oxg/gvRShIDH?= =?us-ascii?Q?HkPCLq3Rb2JVJnRIZj+Spej31MJ6yCiyyScR0AdOHZUgMlkNxHW0Pb7eNrOn?= =?us-ascii?Q?BfUYqSmHKzjxQzNXPosMUSwMga+JG/y9MmA79OByu3JwaDLBv3qn+gOifWkv?= =?us-ascii?Q?KmzBzkIGHSClb7EFRygh/CJHww4BKbeBpK99Ciy9sFY+xN+M3RfXKtYIufYT?= =?us-ascii?Q?TtiuC/En3Cp9376knRcHgvBPsnHt5FWbZRDqWMKJXwpEcfRswQl3efhmUZEB?= =?us-ascii?Q?N8dpOFJmmW0bRq9OOiicTIzTtb+3ZDacoGxQqiuDEuNHHfqtpv5Ef0HFLrQr?= =?us-ascii?Q?pURxWyrJVI7k6d5kzUnWH3WPpS29uv7UpF4VBoyR2FL8SI4AL8g9cHrTBDu9?= =?us-ascii?Q?Z10ltp1CzuR77/NPDeR6FVncNKourecPaXHjzfL0ZexV6EWJwh9bABCOZIKj?= =?us-ascii?Q?LGWizX0A5Lysl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QOy6uvqLZ2HNQvNilWTFZrLyDPc5jQtY7vBeek85nrIIN9Z+PVcvJz/p4c3zPGwCivtjoUT8LbRPTjmcsqxGxmQg==; 24:hUg4tys+yfdj1SpEYqqjUHv6ZFL/zHYh5nWM2WbMBO+V6IAR21W65PJBWdADP+kjlHqRJH/YbKUhXofDMLjh1mjLmpePhU5pv0zTmj+rWS0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2424; 7:LnIO16fwDKvhb2BeA9hCaf/fyG6WRCFI/cKVhIBYruHXraKP0rrzuOEebALa26Tut2/4dqiAfG1Mb8x16oJDkxWmRDwr4jYApx0uVNyKtz2aMmoPHbM2a6bcQfAvRgiZE2Q+KlSnS9lEWHTLxoSECVHXVLBosEyNif8u1bC4dqUnOpmGQ7gkp8MEsthuBRbLkwsG7krX97ppOytOSMYSyx0ZtJsZW0lIYNFr5Z0N1QJYdUe2slDjh0q/2XIu0DjkCmgUwWbSAAUZAWfyxzZa2LW9xIb0zodWZ9BjzubuAz1jRcpJdumo+9J6LIJ4Y78aFO/cvD/MzlbU16vhczaJ/g== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2017 14:10:31.3780 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB2424 Subject: [dpdk-dev] [PATCH 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: Thu, 27 Apr 2017 14:10:34 -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 cd5af69..ac0e359 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