From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0056.outbound.protection.outlook.com [104.47.34.56]) by dpdk.org (Postfix) with ESMTP id D85487C95 for ; Thu, 4 May 2017 08:57:20 +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=kDmtjhk9GA+HCA+cCoNssllY7llbajVifCKAxgH1JAM8IT4bPxDfXg1eGGLVgSBntY6ts/UwoQNLYajWyxTr/uhpV8VosKPZuC/tR6B14n3cODhJ+mAtPEjt26BpPK2tIS6lVq/jHnWmT5VIbIGO6YyiiZlfxk4V/SAfxcaCIaI= 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.1061.12; Thu, 4 May 2017 06:57:17 +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: Wed, 3 May 2017 23:57:02 -0700 Message-Id: <20170504065702.22404-4-ashwin.sekhar@caviumnetworks.com> X-Mailer: git-send-email 2.13.0.rc1 In-Reply-To: <20170504065702.22404-1-ashwin.sekhar@caviumnetworks.com> References: <20170427140618.35897-1-ashwin.sekhar@caviumnetworks.com> <20170504065702.22404-1-ashwin.sekhar@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: CY1PR03CA0028.namprd03.prod.outlook.com (10.174.128.38) To BY2PR07MB2421.namprd07.prod.outlook.com (10.166.115.13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5e1f7378-af51-4680-6327-08d492bacde7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BY2PR07MB2421; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 3:IBUxdNH9Gjwjy5hVc+F1Mj1yoW6H5nuepxehFI3Qqq/LawVyjpqtiT/sx7M0wHrUnVKFkjw6WkzJ4yRAogdmmbf5giJn8WCI+m0I75IeFHVK5H3udeyIM7DoSNve7WMDTZSF2TtXd+JUsaCV/dh1iLA25rWRmd2brG6h9KD+napyo8RhR9/Sopzz2AsBQcmtaj6VMorr7LN1rotxV7qS40Xi7KJie7O/QttTGC6dP96WI0gk8CF7XlcEdYXHQ/zSgFsSDdSG62r3dZtbfiUgeocS4eEg5BcdrmcIO2iuMTrENDc6M2v6PfNvnKl6cK5P7dBj1Qg6xdCFvh4aaMBsdg==; 25:VHFBoJFQBc026ePH1moIhBFtoNF+pI72J4cSQwG76Svh3JsFa99bU1yELgNm2t2ucZPW0cWL7pYE3g9ujeKenZA7hMfI1j9i2wV+itLvEZa+AjKe2oGDWfl4w2KkmB0hQrJCXwtZTFggbJXgDixuYfqn+8KkvSxDL4Sw4LD20/s7z//ZUZmvg1oy02YkbXxgfu6U7sYCcAkaUPXQgVyxzhVHauaSYYCqNQByJJVrdBn3njDNubA41zEYTElB2pE3DiQkOi5SuLbneQufsiHePwG/0OBfzRBXzRvyEKKJQjyPjzs2naimPHMfa7n6TfSD6iOQPhyprSKPlsf9AZnTfw6XqnkAsdorA2E88FWJrGKY1AxeGdRn7m9YYAcDMu/GL86BjzArtFjoKEHMJgwazRsuzaxQSjMOen9GVlrETG1mz5D7OlMdxVc2pPFtpXSuVcKr9yK9gAI2MuuUiFstqg== X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 31:Zx6KyaS7sX/2dBzuqCfx46RNm8uaVNqPyFMKDhUIK69vnw3WmjwD+vm+GVh3R5siQ/UYmWydZaE5WihThqLukeRM6rfE5JsoAnFE6Vhyb+0sMvbM5f3BZbKEOeCNZkcZCLomwk53V1oN7+Yop1a2XVSGYa5+U2/xH+WCGjMj45iSpCQr0PZsY94yM+fzEiSXEhAoy3ha57ERavGGN3mqW4LRoNJ5TINoS8yRNRoB35Roi+ZwbWh4EkES7FSNekAY; 20:MD/CtZg2133T9JNrLo1zybGaLkhpMX9YgaY+gbv7xsuP9x+k0F5Q7K9Id9d66nA1LGv23RWH5Z3KwPZrTwCUvghpeWnmTZrhgepdUVTcrIMGNsYwiCwi0Y0lhzb+GxhOvYB8vib6HOj+oeMB8NJBbEOzMy5V1XG4sVSa4Dlx6FJb1749dYVjbn/6jAN9F6DRSJj4NkAx80v+mVXr6A4f0sqG1vbnWFcAb6wHC0yddxj4x2v6W9Aes0NA4dnhxQGZMsnt0Q/7prAtqV+K4C8B4lCXAOPRw/YnExih0tlUPuUKztWQ1nJYdyF0w7QqmJowoqVgUWYjyUeKrMF3u8a+3cj7BDoTsK5oAt1jgsb2E1qbk0utkhPALmFAAbLvqsH04LiGlf4WGNlau+Q4uD2/rgcbPBtCf1W2IfMFREz5r0jwQGb0p9pZ4ekJDcH0qYOGqkG5GQlH8kegc7RBqM+nPVhlEN7Lk0Aw3L98cV3gxb+3HUsxUbSa+89/3XdIfhVgWoArogsBwlWk9pUnAhwf23i1DpvB0rx1hagpPHi1GFbV+1CScFlECqylIIykd75AwVgADauVqjQ2lxFmhhtJBQekw9Sp+awo+55jjVo6mzg= 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)(20161123555025)(20161123562025)(20161123558100)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148); SRVR:BY2PR07MB2421; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB2421; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 4:OMu/5DMNykn+oslJYYBoANGDz62yHOHHEeLOE/JgeqBcUcugfo2ANRVydXOdsBvldntVc4joaVhE2T403PYROlhNYJAfDJ9WH4Dxg6jZp25k0QKKl3lRdAobPOsSYUF0Un2YXN8sR/QqpVYv17IjnvEdgD1CmOZ29ToW24BzzjWTUu0B8mteBwABQ0qPR9szIzlECcfieEFCL5QEdJEDfRXX3E0ah2RFbK8/vZaU0H05kLQn8mlToF2b6ni0OSVboP4rnkd0DTFgEzqzrutob/bIXNOmzmm1Qf4M7UKKslV42vYFTmTGyjrBd3qrhyH8Kll8cbLnNmhqOvzeqgGvsYh1C9krKG/uSnDSKAGz31cAZh58vrfP2p20xVPA5MA8XATVv4pa2b3x88JS3edDV0O8vJigb2MPhPQdyLOixoXtSJHtCep15lOokBmZi7z+qQnv4Nry9yM1QJufvpetlSkFk1HK12b3mGhpav4TOfgO1Vv0ycxJtEW3ZfFRkg7XNUq4RN2wCEngPHVzYZeAPei9BRufIjtUI7DFG8e2oXPhBJ/t+lwlsRdRXxK6yBUkRqxHlH/BymtX7hTd92mLTE5MJXWLelGwMC9IMsvGNRVv4UYD7+Jdm+Wkm1WBrHh3YJnjf53OqmZYOAXu4EqZe1eLXS+lM8kEgvzZskWYOlq7TgBPP6jWHq20xWTQO8jPe0rNvGoupASloo3vMtR3b7WgZnJ/tFV8xfJw69DpvQ7BKJKMIZVqVgRLfSO312Isr0RtBGrPqMcNM37WKHUS2Q== X-Forefront-PRVS: 02973C87BC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39400400002)(39840400002)(39410400002)(39450400003)(76176999)(8676002)(50986999)(5003940100001)(50226002)(6486002)(36756003)(48376002)(50466002)(3846002)(81166006)(6116002)(1076002)(66066001)(6506006)(47776003)(189998001)(25786009)(53416004)(42186005)(4326008)(2906002)(33646002)(53936002)(5660300001)(305945005)(478600001)(7736002)(110136004)(107886003)(2950100002)(6666003)(42882006)(6512007)(38730400002); 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:8jfcCChMsiruph1eXtYVVNpWJO7E6rycEKosOD1UA?= =?us-ascii?Q?CCnU0wjatBTZ28s2Xwvzpp37WaXP0luZdLZHPnPOhivAKeHdJGPRrOcPWvXd?= =?us-ascii?Q?Dx0loK86mJ5SvIQk8Mt1pijKce+3Y4oJq80XbJjln3tMUgZXWPc0utrhIxbH?= =?us-ascii?Q?EbyI4ZpXNI5pZWoCDva+FCbilA4JcH9/UdKsrp94ePsAr+gb82voUEm06N88?= =?us-ascii?Q?Mu4mCtzB+RY+BWj7KiAjtqbhc31rkZiOH/yRS1G4DRcKFi9v/gCMYiHYdHmV?= =?us-ascii?Q?5J9riJhD3YdDlMfx2wmg3WEZ4vkWwdICNhV/a02YJGI3xSlAAa5b8jxK9X46?= =?us-ascii?Q?SZ7kBlKu8HXlPmxrOda6kpvfeK2dEf7IxZMm34RvNj2OP8WtL5n7dTpeL7lW?= =?us-ascii?Q?SRTeps0smNNxlnV/ZS/jphmWRUEGvcdOYzFd5/uWUCFxTy4xibE5Ll4UFobM?= =?us-ascii?Q?M1vZr9Rq2r3uVBMWbqvhoLf2vGJOVoZf8pPRM7VY+59r6RB8T7CTI6DNTUVq?= =?us-ascii?Q?BVXJLep0hT6xeh5NczaY7/bRG7O0zjHrGcx8ftxAR7jLlC1jvurV+L5Ip56a?= =?us-ascii?Q?ZHwSN8zxnbNC4eKPwiKsuUrG6AyLFh6eaZ/4PC7dPpLCKmq8CIemIRVMmCL/?= =?us-ascii?Q?tfffW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Qy00mTx/lXiarvrDCJirIEUuu31g7tFxnofJA==; 5:CpPPbiEW6v1DSl2OZxa13G29yM+nXcfLiX3CRgd7+5cFp5uZ3HxaJ7pWeeEsO4SizSGZ+oDrgAkcgPlohmthVk60cXjJmlcXQT1VuWX6kHovCmyYosagS5SEL7G3Lda4pILp7n/82r1V0WX29Rh+rQ==; 24:x+pX7c9ioQN/EeJJZbWkSlkW0Nw272YJFw2rSNZhMauwupTTDqAL1+ZpAfZvU9G3OsnfkXvLK6+RJXF4MSlPggjBl3CudrsxlKvOEhk8utw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 7:t4dgWQQxhKY/ASFvmjxfp+sEaTwfdjyYZkUIlfT5BfZziKiRTDvBI4ind3aPG0+yCEKXpGicCqrCIXFW1zyuGevAvGyaZTX0sn/MMjTH5nNNIgdnou1agCRScw4Ev0T3qDl/6xeNnSP/O4yeayKQZzSCLdJfI2gxmUOadz7KFTfwEUfeC+AC0b8oPh+h6Q1owxaHrfWB6oDRxxajTfFrjtB1ZKKBf9kkJATb5IP/iDM2gaKUn+FeeyvnAVFwH8HvY7MoxJL0zGVYaP85ZLqyRvwUl39H38kOEHzR+yuh3M5Et7qx/7wuYYHrPwXue7cXtMj/316WDE3dp2563jzI/w== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 May 2017 06:57:17.6243 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB2421 Subject: [dpdk-dev] [PATCH v3 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: Thu, 04 May 2017 06:57:21 -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