From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 63C7BA0C43; Wed, 20 Oct 2021 14:25:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5460C41200; Wed, 20 Oct 2021 14:25:19 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 99DCE40142 for ; Wed, 20 Oct 2021 14:25:18 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19KBC7Il015686; Wed, 20 Oct 2021 05:25:17 -0700 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2174.outbound.protection.outlook.com [104.47.58.174]) by mx0a-0016f401.pphosted.com with ESMTP id 3btaa7ac30-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Oct 2021 05:25:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cm7fIye/aI0iH3pa1/Gg2H5WbSMyog32aiEzpknB3ss9OK0CBDKVPSOeS97O1JpiheFcQkt0tuecVTnab49w6Ery5wf0h5t1prQtpiV/JxbPMGbn3Oc7jzrU51y4YAO+L0jIaE7nawqjQ8+M23b5v+wD9a8FJnryxfp2lQgr4kwNwgx/BSsBJjcYnuxQfX82F2U3AKSM2avxRsTgdOvtWdAibWGED5fPqadsoms/TeCOmrIHPcQq0I5eNjy+k5+7xUVupXcy0Pmzlyr8Konp8T/bp5zz7av71q86cc/vpE5rraRO3R7gl8oxsWI9+gHzh3AcXLRqOIMimEDCDInbcw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nMig+2WFeIEczT0mnDJ0/0Ze0ijxtM8fd+njZCqhy1w=; b=diJXXTvF90BAOafz1sViauCQBv/UcAxxjp6QZT8hVNWui+vaZ14yNUdA8py/foKc4G9bz/mcnrv7TR8AbmdSRuRATCRrLjpupXZxBB50YCsXUppxxOlo5djRSGvxKHnRTUjbl2yJvohY6nUfwa9VPNtbOjGcou7QlwY1LcSJCgXyLnnRP7iXzgFddMxx+nOiluNb5UIArkQ+8ihuusiUQwWBYyoPq/srpbTvRc7PuZnPWXBqeZP0r8dOm/YTSVlUNmqkLW82qYu1PoG9DCiuBKvuek6W3F9vMyNN/WWQmgHZX3GbpSwBJvo+BUPbhbDOVQ2qYuk/tyWQGhO/JjbCHg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nMig+2WFeIEczT0mnDJ0/0Ze0ijxtM8fd+njZCqhy1w=; b=OolNM08ZKhyp2esfvG+eFe0z3mSv7fmzu67rtDz4MZ9nvWvFuneQHosXVjxcFXExPLXVrGtSOoo9+/Z0LOTZJTW36DY0QFcQLmhtGqboNHLbKUVvyXKRas5cBTzlCkqb7D7REjLc7AKQhYkVm0oM8yoGV43kIAckcQyRO9SYAp0= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4697.namprd18.prod.outlook.com (2603:10b6:303:e4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16; Wed, 20 Oct 2021 12:25:15 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8%8]) with mapi id 15.20.4608.019; Wed, 20 Oct 2021 12:25:15 +0000 From: Akhil Goyal To: Thomas Monjalon , "roy.fan.zhang@intel.com" , Gagandeep Singh , Hemant Agrawal CC: "dev@dpdk.org" , "konstantin.ananyev@intel.com" , "aconole@redhat.com" , "david.marchand@redhat.com" Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH v5 14/15] test/crypto: add raw API test for dpaax Thread-Index: AQHXxZIdUYMOMuHvukC2uuuXvN3zP6vbmW8AgAADSQCAAAB1sIAAL5kAgAACQNA= Date: Wed, 20 Oct 2021 12:25:15 +0000 Message-ID: References: <20211013190032.2308-1-hemant.agrawal@nxp.com> <4018747.7GKOkI4Wxd@thomas> <1737616.tSrxHmIIMQ@thomas> In-Reply-To: <1737616.tSrxHmIIMQ@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2b329210-8adc-4cc9-efe9-08d993c4abe5 x-ms-traffictypediagnostic: CO1PR18MB4697: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CJjNdbr7lPxP/ufU3pNF4a17hKHsAqbUVIMampFLwqL1ssjm4tHXCgfCz9bS5IlQ7fMO9IXl8ZGfplSxHM9vlER43yBy6Oue5cCxnGlyLh+QQ2qmbPgs+jVgF9VN7XbuqQo3M4ghrDzNEFTS+1p+6GC7ALG5kLGJB1LfCUbcsMmP8rkpUOsXkj9ZNCa3asDEP5VOZTE5f+U+qNIMJuTXCe7/BGiOo9FR1B+efo5CiwjA27tG7ABmbaFJHAzc0Q1xsCsW5ehGX6rlyD1Ez7Qho0HAa3jIiddmS8CWiJfZNsZBk6t0picrYkJjc8/xTQZh22H+InSR4kNJZ6BHWfqi34N1UepugYrhUAY+AsYOREUQ3mNjbu69Zc5wGIK5x9xnSL+u9eCgLQhf6hRDr4NyqYcEi9Jj/Oad0BDJsyL25HoFPCY6UlFxdd6DvjTt5lP9yFKpTjhWi1S4KaUc3lmQow+qBL+ufyjWXGv21YT4LELEe/1FZRom9lbbsPAeYuS5XImlibAbND1erd232wvVPIeLklBXMLGkgC9Z+xU9SsKd9u1OdvsId66DoZpvOcYkO0SGLo+uLGf/VvfqGE8uzW7eL8KHYLJzwaPAAzAIlFiqpY8V9kDYljoKhtKxM3H/8b3zAEk+DnleEoAeOK3CoTes8aOPcl3ztWvs8xVhEuAO7XNA5CjFlEOAoubYMbIP/sfXFwrsHTCDR9t/LwNFVA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(186003)(6506007)(122000001)(38100700002)(38070700005)(33656002)(26005)(55236004)(508600001)(55016002)(9686003)(316002)(54906003)(110136005)(86362001)(2906002)(8936002)(8676002)(7696005)(5660300002)(52536014)(66946007)(71200400001)(76116006)(66476007)(66556008)(4326008)(66446008)(64756008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?n/mxXXLzJ8+rdK0eFmKBuRS3SzBcuhvORABSjyPsIUJgPHVarm5oJDVvgIyF?= =?us-ascii?Q?hDr+tRydPqhGC1i6vjKF3sAaflQJl+Zy0LUiLlJvVdaRC9GhCMe02GRtP25D?= =?us-ascii?Q?3c5gZyTozv9kkCxkxKTEIZw9VOh5LrEgjj3/svOx1/BxfBsPVS07lEjbRXol?= =?us-ascii?Q?AK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=?us-ascii?Q?TO8LIVpRElfxl3pLTk+WleC5M1q9XZU9uHJjWHfgSj4RNV2/6LzL4z96nbGR?= =?us-ascii?Q?L7aDLaiRv5WzFi60uUZLTq42gjE2fRWPf0WZZDMcSO0khfnc1lMLXmOHNIKd?= =?us-ascii?Q?Fjjch422TWoL7Zw4t3kasGRSByhvXcOaxZW1yriLcR8ByiFr5n4qOEE+b2jD?= =?us-ascii?Q?F/l8AMLzS6vmrHrrZlXPWJkgpEuQAwMt1gF/wsr9R8KX+Zb0jOJrUFqEf/75?= =?us-ascii?Q?KBFzZ9GemR4gvWgKmWhc1XrCZ6dJ5j2IoOTYyXfH0YmQtY+JwABbyoaj2f1N?= =?us-ascii?Q?oqF0NrMH9cXdb6a4AX8jVb7kCdqs1Q5irnudbOzGsealgvMaCYY7eyruXZmJ?= =?us-ascii?Q?uflpHJ1ReZqiZhtF/VP1BlDoIIv3Hv9pkYfhVaueuVWkOd37hkTrRLtwOX7L?= =?us-ascii?Q?KpwpgLQaxvCR824XMlms8RTw5+qdeyORPq1eDEoSnoZvyQ5V8Z57grQNMMb1?= =?us-ascii?Q?OfKtY/LSF4d558WjdEOHhyJqch3u2OQIMkHaVTIWorpNlyOrxu4L36L0qVx9?= =?us-ascii?Q?L0y3qLAufDh5UX61/ZhZu8U=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2b329210-8adc-4cc9-efe9-08d993c4abe5 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2021 12:25:15.2340 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rZfedKcK+lkW/vtCqdv17Qm6c/MNwxvCvXsdCFK2ysNNe90mSDsZ0xM8XJbmwRjjDQ6x0DjqhTtmdmOLB5nAIw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4697 X-Proofpoint-ORIG-GUID: Hq5j2VlrOfQIIoxxbOxKx-NGfKDwXOQC X-Proofpoint-GUID: Hq5j2VlrOfQIIoxxbOxKx-NGfKDwXOQC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-20_04,2021-10-20_02,2020-04-07_01 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH v5 14/15] test/crypto: add raw API test for dpaax X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > 20/10/2021 11:32, Akhil Goyal: > > > 20/10/2021 11:15, Akhil Goyal: > > > > > 17/10/2021 18:16, Hemant Agrawal: > > > > > > This patch add support for raw API tests for > > > > > > dpaa_sec and dpaa2_sec platforms. > > > > > > > > > > Why do we have tests specific to some drivers? > > > > > Is there a plan to remove them? > > > > > > > > > > > > > The testsuites are common and there is no driver specific test. > > > > The test command is different for each of the PMD, > > > > that is why it is registered for each PMD. > > > > For Raw data path APIs, all of the testsuite is run with a global f= lag set. > > > > Currently only 3 PMDs support raw APIs, we can get rid of this glob= al > flag in > > > future if more > > > > PMDs start supporting these APIs. > > > > > > No there is something wrong. > > > It shows that it is not generic enough for any app. > > > What is missing to make the same calls no matter the driver? > > > Do we need to add some capability flags? > > > > Capability flags are there for raw data path APIs but the PMD can suppo= rt > both APIs. > > And we need to test both data paths. > > So for this we have a global variable to enable raw data path and we > register a new > > Command for the PMD and enable that global flag while doing that. > > The tests, however have the capability flags checks in place but we dec= ide > to enable > > Raw APIs only when the PMD support that and that global flag is set. > > I hope it is clear now. >=20 > No sorry, it is not clear. > How may I know that the raw API is supported in a PMD? > If there is such info, no need for specific tests? >=20 RTE_CRYPTODEV_FF_SYM_RAW_DP is there to check if raw data path is supported= . But how can we test both raw APIs as well as normal crypto_op ones in the s= ame app? For that a global variable is there in app which allow/disallow all of the = test cases.