From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7ABEFA00C5; Fri, 8 May 2020 10:56:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9F1B31DB76; Fri, 8 May 2020 10:56:11 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10061.outbound.protection.outlook.com [40.107.1.61]) by dpdk.org (Postfix) with ESMTP id 744641DB74 for ; Fri, 8 May 2020 10:56:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gHgd7ZfMbQGAoQIkPJoIxx4fJj1jOoDTHN8XADeOTxI=; b=gRyKW7fJQb/t49jHT+GQGYqATM7+KwqJnKV01Y/nMj5106aIu63vaOzzKKBijpJ5GulCUFZGRw1oPdF3OEBPy1HJ62b9KLUvKpA8ls4g7+kwxsosItPwrW2uvqs0m4d29Kh2jQUVNQQCfH8ZIlEjFHeeb489MYupkMwyucNCOD8= Received: from MR2P264CA0015.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:1::27) by VI1PR08MB3773.eurprd08.prod.outlook.com (2603:10a6:803:bb::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.21; Fri, 8 May 2020 08:56:08 +0000 Received: from VE1EUR03FT035.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:1:cafe::ea) by MR2P264CA0015.outlook.office365.com (2603:10a6:500:1::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.26 via Frontend Transport; Fri, 8 May 2020 08:56:07 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT035.mail.protection.outlook.com (10.152.18.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.27 via Frontend Transport; Fri, 8 May 2020 08:56:07 +0000 Received: ("Tessian outbound ff098c684b24:v54"); Fri, 08 May 2020 08:56:07 +0000 X-CR-MTA-TID: 64aa7808 Received: from 3b7e51ff227a.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 123EA382-089A-45A2-A513-8DC74855B542.1; Fri, 08 May 2020 08:56:02 +0000 Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3b7e51ff227a.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 08 May 2020 08:56:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YC5/pR7Nnf8oxapcE8ZqxuE98oGVMooU24WPAYrrQrtDX1bPJFqRvsV1B9DBe7VJKr2RWDwaUz/KCh/VLa0b0lsZc3Fkh/NAjy6pZL/BtJAmuyqrCetGq77wXnwTQdKJJ6toj/7xtagT/Q+xP2QIWxZFvk7vhBwwkL2mBwXtTAXr7zv8tJxpqGTsS9uBn70S19EME2qMqw/0PVB+ODZ8uHIYep/eypkkgiRqO1jWU9lDOLd5rANFkzwPKdHfWWXWRBIVgEMoNbIEE6q12rpgQivMhObPrxfeFtBEKZ8RKtbVy1KA2yPpf/zHkfB8wmJxVijlAqFzKwh7GqZgttnV9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gHgd7ZfMbQGAoQIkPJoIxx4fJj1jOoDTHN8XADeOTxI=; b=O8zqxpdlTVAGD5iJNEgLVgFS2PX90zyuQsHHOZ0CxUmV57viFaR2h7T8j7F/vPFwWLJwb1EKw7WgD6CsqZNML5aZnxbOj8+KxceN7DZqqpkivWfYzCcOoyRWYlYFnDdsf0N0VGuwxtoErhLwt51hyp00vBD/VutbApeyLqd2u6Pg9oAdy71jLXwAkQ8cH7AVJC9RZuXEkxWQLQ5fIXMjg8MivkmDYc/kSYDYn7egynjvjtpyN5/IihRMBeCa77VeNRDmCsQo230ZiZEW8R01836R+a7eEqSEAsEv79V5Zfv8lnn9FM0CuEnSqajocJeev3oMwvQLKRbI0UXintIBvQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gHgd7ZfMbQGAoQIkPJoIxx4fJj1jOoDTHN8XADeOTxI=; b=gRyKW7fJQb/t49jHT+GQGYqATM7+KwqJnKV01Y/nMj5106aIu63vaOzzKKBijpJ5GulCUFZGRw1oPdF3OEBPy1HJ62b9KLUvKpA8ls4g7+kwxsosItPwrW2uvqs0m4d29Kh2jQUVNQQCfH8ZIlEjFHeeb489MYupkMwyucNCOD8= Received: from HE1PR0801MB2025.eurprd08.prod.outlook.com (2603:10a6:3:50::14) by HE1PR0801MB1978.eurprd08.prod.outlook.com (2603:10a6:3:52::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20; Fri, 8 May 2020 08:55:59 +0000 Received: from HE1PR0801MB2025.eurprd08.prod.outlook.com ([fe80::646e:c258:7269:f4b2]) by HE1PR0801MB2025.eurprd08.prod.outlook.com ([fe80::646e:c258:7269:f4b2%11]) with mapi id 15.20.2979.030; Fri, 8 May 2020 08:55:59 +0000 From: Ruifeng Wang To: "Akhil.goyal@nxp.com" , "dev@dpdk.org" CC: "declan.doherty@intel.com" , "asomalap@amd.com" , "anoobj@marvell.com" , "roy.fan.zhang@intel.com" , "fiona.trahe@intel.com" , "tdu@semihalf.com" , "rnagadheeraj@marvell.com" , "adwivedi@marvell.com" , "G.Singh@nxp.com" , "hemant.agrawal@nxp.com" , "jianjay.zhou@huawei.com" , "pablo.de.lara.guarch@intel.com" , "Akhil.goyal@nxp.com" , nd Thread-Topic: [PATCH 0/9] test/crypto: code cleanup Thread-Index: AQHWImIQpzXRHO6uDEWJcab8PRjcYKid5vpQ Date: Fri, 8 May 2020 08:55:59 +0000 Message-ID: References: <20200504215811.15951-1-akhil.goyal@nxp.com> In-Reply-To: <20200504215811.15951-1-akhil.goyal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 2846d242-7ade-45bd-a692-a204ef1245bc.0 x-checkrecipientchecked: true Authentication-Results-Original: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d78b6e23-2329-4e3e-b27a-08d7f32da5d4 x-ms-traffictypediagnostic: HE1PR0801MB1978:|VI1PR08MB3773: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:4303;OLM:4303; x-forefront-prvs: 039735BC4E X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: fEDG9qv+gczv8JMNJgXRlBCDVycM+CB93kGOidC0AKDWZVEKd+wj0X3mbJPILvcITXy86S+MfSUg/jaWAQ//1c77OPJFzVzCNOkfulAXIHReKyjNlw/j5cS7InYAzLRJb+f3SItrHZwCTUvOUFe9Dtc+l1GPvSTtW958GEsFpe993/+FKjhX0REId22GS+SML+4wn1SL1VWxu3CNSn0sKO9gmEM1Fav0Z+e7cXqAYZ//vNcUT4MF+uEFdKmzMQeNE1Y3bfGcHP5tleRX228Ia0b+FcfRavG5mESbtke4O1TNg7LriP9yD+SFOysZNj9Tahb45+IBp9TpYltTl0orJdx8fKuGUbDr43QxkuVF3/YLS6VkN538hH4JbVfDeStJjCDmlx2AQl5gq+j86SwhKHG2wWhzsKWTJ4msqnvSjNjPkxZ59xvdvmtXRVpYCAK5LW2S7ZY15g2yWeHJdm7MYGoQe13sQ5E11cCHemtLXk1zFv6sFNdOkJqoc7ns0N02lM3uFSrTpVPi5PmlUc6Ppg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0801MB2025.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(366004)(39860400002)(346002)(396003)(376002)(33430700001)(316002)(4326008)(52536014)(7416002)(26005)(186003)(66946007)(7696005)(66476007)(66446008)(33656002)(64756008)(55236004)(53546011)(6506007)(33440700001)(66556008)(54906003)(76116006)(110136005)(8676002)(8936002)(5660300002)(55016002)(9686003)(71200400001)(86362001)(478600001)(83280400001)(83310400001)(83320400001)(83290400001)(2906002)(83300400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: ju+LDXzPOSfhyJ0Y6sDLsxWNQsQKp5cUGL/N5rBAyuUVifWQDSrcu6iOTP45fHURHvICi8Bmw4/sa/9zzUf1qml7NhDq5+ZuCUiA1elMAEMMDmdWz2lX+0WXkE7yjR3bTUjkPOQCrxxaYO6CoCH/7xTBXa6Y3H4GHkxkdWrGNH+3Bf8iOagwOY7WuqMNp2WYszbUxIGXlVxmqo8cHOMzVI2uLswYFlQguqzoujLkE7f4dm4IRjr6XcoNjbv0DQhC1Xssg94B15zyMahUgXHbhPVAAfyksmU4hfwMzUS6b4CrxEh5PDGejHSGpsyogGO9ZccGCjKkArhA2JSwHjotK3ZVJ3nPyu7G4UytjqzT9CEiKVnxWSQS1uLh5fGTVTMbI2K/ijHspuSTH4tCIXz2K5/02L7w1ltfZVgGK8/9Ek7KrMfCifzH9TXuymuTj20FRHJrtWWrE6t5k2mIw0bOL8dzc0aRbV2KikLPgTqpHDo= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1978 Original-Authentication-Results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT035.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFTY:; SFS:(4636009)(376002)(39860400002)(136003)(346002)(396003)(46966005)(33430700001)(2906002)(8676002)(36906005)(8936002)(52536014)(33440700001)(54906003)(110136005)(356005)(82740400003)(81166007)(7696005)(82310400002)(70586007)(70206006)(86362001)(47076004)(6506007)(336012)(53546011)(316002)(55016002)(9686003)(26005)(5660300002)(478600001)(33656002)(4326008)(186003); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: bf2ea865-61d8-4eb9-2b4a-08d7f32da0cb X-Forefront-PRVS: 039735BC4E X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dRJ0dd0/aDsXPnU0EY+GDeIv2d00Yy8N7MT6jFgXrlgAbtVevJlB4dpzZMR3EiaUpp/mv6FufJzsPsVCLCsLYhcWbLq8o9/0pc9OzSwR+tN/bm1q9LTlDPU47OQdacgFR0WXBw5dp4XeV+yK7TrnjBhuJukmUgmd2/kYg/clM00JmBVCxPFtXEU1iRSHBLA65ig+I64eOPAmKZ/l2QahCOftDldXyRSzLdf+NuQmPGPP7wZPfhnYYfR16vN1oXhbVYw+rvW6UgZPvPhNU6JZjQ8+C4Bw1yiNdJ2pFACeBoSET04N6MPNWx4WEfkVCjfZk2wuIrYI1jFnyBd/a2NEmWAUmQLgdmO1g3E6kmywsB3AbLDwLkIuKFDyB5hr1y7DjRF4g3PqmdaAYWdvV8tNv2MQmbNPms5eXRDY4f4LHDKbhv9+8aqwKh0G4yRGdJtIXVtYCF2BtyeCP4r+7dlqwuoDYCZh2dBAbJBuxXZ1lAxWAsF6ujXqijEeBgAjScGngF98DZzpKFyeR1SUaa6tLZKDcKoQ5jSKo/Vx7rKQSx3KOY5L0EtvZYAWnj6UO22cGJKMIhOE2bT7Apy3QFIU8w== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2020 08:56:07.6322 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d78b6e23-2329-4e3e-b27a-08d7f32da5d4 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3773 Subject: Re: [dpdk-dev] [PATCH 0/9] test/crypto: code cleanup 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Akhil Goyal > Sent: Tuesday, May 5, 2020 5:58 AM > To: dev@dpdk.org > Cc: Ruifeng Wang ; declan.doherty@intel.com; > asomalap@amd.com; anoobj@marvell.com; roy.fan.zhang@intel.com; > fiona.trahe@intel.com; tdu@semihalf.com; rnagadheeraj@marvell.com; > adwivedi@marvell.com; G.Singh@nxp.com; hemant.agrawal@nxp.com; > jianjay.zhou@huawei.com; pablo.de.lara.guarch@intel.com; > Akhil.goyal@nxp.com > Subject: [PATCH 0/9] test/crypto: code cleanup >=20 > Certain cases were put in PMD specific checks which should be avoided. > Appropriate capability/supported feature flag should be checked before > executing the test case. > Added 1 missing feature flag for non-byte aligned data Enabled it for > SNOW/ZUC/KASUMI PMDs. > All the PMD owners are requested to verify these changes and let me know > in case there are some issues. >=20 > Also removed PMD specific testsuite for dpaa_sec and dpaa2_sec. > It is requested to all PMD owners to remove their PMD specific suites and > move to generic testsuite. >=20 > Akhil Goyal (9): > cryptodev: add feature flag for non-byte aligned data > test/crypto: skip unsupported non-byte aligned cases > test/crypto: skip unsupported SG cases > test/crypto: skip unsupported sessionless cases > test/crypto: skip unsupported session > test/crypto: run PDCP cases if supported > test/crypto: remove dpaaX_sec specific testsuites > test/crypto: remove QAT specific check > test/crypto: remove unused variable >=20 > app/test/test_cryptodev.c | 845 +++++---------------- > doc/guides/cryptodevs/features/default.ini | 1 + > doc/guides/cryptodevs/features/kasumi.ini | 1 + > doc/guides/cryptodevs/features/snow3g.ini | 1 + > doc/guides/cryptodevs/features/zuc.ini | 1 + > drivers/crypto/kasumi/rte_kasumi_pmd.c | 1 + > drivers/crypto/snow3g/rte_snow3g_pmd.c | 1 + > drivers/crypto/zuc/rte_zuc_pmd.c | 1 + > lib/librte_cryptodev/rte_cryptodev.c | 2 + > lib/librte_cryptodev/rte_cryptodev.h | 2 + > 10 files changed, 194 insertions(+), 662 deletions(-) >=20 > -- > 2.17.1 Tested on armv8 platform.=20 armv8 PMD and null PMD are OK. cryptodev_openssl_autotest has a failure.