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 29616A0C43; Wed, 20 Oct 2021 11:32:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A186411DB; Wed, 20 Oct 2021 11:32:23 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 020B2411DB for ; Wed, 20 Oct 2021 11:32:20 +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 19K2OkYB015218; Wed, 20 Oct 2021 02:32:20 -0700 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2171.outbound.protection.outlook.com [104.47.57.171]) by mx0a-0016f401.pphosted.com with ESMTP id 3btaa79ncr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Oct 2021 02:32:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AFBAfd8PGLelfTZS58GFZ57W6WONTuXM8WL/gf7aBMYPoxTMu0OSFpXCBb2RQNyWlp7y/A0+P0yoeZ9Ht7E2zmluug94asX0Xp8llEil5/PvV4iPdsT9b++7EC9Pi88ZYnQnaFXk452r3Yvvr+qruuS8/9uQcc/AjO8A0O0JUqymdfHPNjYOFzLQ71oKOk990pZgFOGLwLdRt/awh50H0D9BgpnYSCzbKWszeFJkVR7YxWuTZYK7EvY//dn+mOqbR4MVKIUnuA/zLKAKZGUhc86hDkMu+itvNAX+uOH0s/343wL9p2jw1+EesPqO43bbPPyMQw5zZYBqU1O9c0AY5A== 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=qEiFrhS4Vvjn71K/zyRO33rB1J3TKWFd+FMAgYgPrhc=; b=CnltQoOl23dvKAJcH6IU5+FL1uD9W7FVXyZ53OYo/DWQWecH4BsZaqsE4Kyu658N3hmPM+CDWMtkubt823jwgzID/X1wUI4zUUphpcr+5j4LWtxUCHGExxXh/7qUimo3bHMswujazA+D2oKXfhuGKSzoG7Iok8f/2gwcuiUczfeLaFrHZpS8LloKDyyVOZPV8mk7KsdPDcXHjaJcT9NTfe1DSgQQt3gHaMU6CCzUmjxN/A8ZWy8TvmNWXq1XHyn/GeLRqBe2z5XNOSq8DpgDCPygJWkjpEvRmbSVjT8LH3/qEHVGbc38CncTGiygVQEt+SBequW7qoU1mUeyTiYtDQ== 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=qEiFrhS4Vvjn71K/zyRO33rB1J3TKWFd+FMAgYgPrhc=; b=ZCuflSZA6Ixre42Eb2o3Z6LtnrbsUiHzhZTTDjulYgL4pBPuQjqJqoKv6OX2pgEsuy5YitjGla4UcILCvoo/AHtdHwzl4VAO7wu+un3nsL5K3v2YEXt3x2VuQSO2Yx9L9blcd3Fhpqt+bF7slvLSMu6bsVOBLYM37PDtKvdok6o= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Wed, 20 Oct 2021 09:32:18 +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 09:32:18 +0000 From: Akhil Goyal To: Thomas Monjalon , "roy.fan.zhang@intel.com" , Gagandeep Singh , Hemant Agrawal CC: "dev@dpdk.org" , "konstantin.ananyev@intel.com" Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH v5 14/15] test/crypto: add raw API test for dpaax Thread-Index: AQHXxZIdUYMOMuHvukC2uuuXvN3zP6vbmW8AgAADSQCAAAB1sA== Date: Wed, 20 Oct 2021 09:32:18 +0000 Message-ID: References: <20211013190032.2308-1-hemant.agrawal@nxp.com> <2095344.Sq1ZWAvLuo@thomas> <4018747.7GKOkI4Wxd@thomas> In-Reply-To: <4018747.7GKOkI4Wxd@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: c141bd45-eeb5-4320-6e70-08d993ac8281 x-ms-traffictypediagnostic: CO6PR18MB4484: 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: 129mGCO3ExuqONDfYu8hBUE8ncXf3qi3/cCawVA5zleQrXeh7UhkMXiQcU6FVvnNrQKNwwGDQcMn9ubbFHsDzeNIqrP7enzcy8WjUTvFvlptQKw/wSQkPr1WWSWWsDFI33VjVIin1AlY7syB3YHdlavjWeCv+VSujj1ysswFkfpsSlS5TcCMTYy3BVtw7FbNbRrAXn1BQtuvJh/Il5kPr38FR9NJVgYGbylxfi7AvJBgE9gi+aCviLlK7DHBK1Q8c/qKBLpkOTxVcnGpvkpxIPZBECK1rttLsY4Q1UdO1ul8A8NlbvSA0WFS2QQ4jAEsdAG8FTSjwjPXeVaXJwoLlSFZnas2HqLxOaiaeB1sw1XK6MjY3YDeMUyg07BPflNDg4/ZIFc0TDUtVFbfRBf68TzkzqXBHrifa/Xvf6r/zXV7UdwU9gYnpQcMRFfSsTyBAX0Ont1Nt84ONfqb5uYfy+xorKlo29FEdRUuoOcCX7ld0NerT7ULYPltLD2s+lUY8QI2JYizgXe2edWRrLiynaOxqg/eFbCqgaWj9s/bmQ9r2PsQmCXvRFSRYYO6WjQJV7raaDr0Ua9A28QJU2++SzhIkdr+RtFcelPQmC7n5hacn/hKg5slZBpf7bwtV97JYW4l4QI2elfy2GCSo8/lg4RayrMe/eWF/5QYg/HmIrW8uv8W1IjtGb7UV15+ICv1JJ9iNrbjURblrjPvcPEpeg== 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)(122000001)(508600001)(5660300002)(55016002)(6506007)(52536014)(7696005)(55236004)(71200400001)(76116006)(8676002)(110136005)(54906003)(66946007)(66476007)(66556008)(64756008)(2906002)(316002)(38070700005)(8936002)(9686003)(86362001)(66446008)(4326008)(33656002)(26005)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?C3qDk0ieqDS03HTjC3Ew0P6OngKdKsM9vK6XQ1eT3xveygEMm0n2e9n52DrY?= =?us-ascii?Q?0kaZTfm5gdhu3vkezTWwsen4W6iEbt5v8W69dEBp2xysiENEqyfJMaECN85P?= =?us-ascii?Q?14Ac/05dYMgrSfJ1JpQjCLevnEfCvcYnNdF8fZyP8le/PlzeV1hCql95+dc5?= =?us-ascii?Q?gNbXeKVkwsul5XiKANGPQigde7M9nTcYc3fpj/spSvV+WXTdq//DKBR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gpK+Ik1un31DLe1yyoI8wYHxQT77KqBsosQ?= =?us-ascii?Q?tohADksbGTFbSD78GhgJ9EKFkE8dNgHo3rJpDCJioLQgjL5tTIoupwqnTU/8?= =?us-ascii?Q?zYkJ7ZqWC/rg1f3Mtwi9zOYaOmO34JZoXyWqOq/9txSSWkySdSSvbiT4VDl1?= =?us-ascii?Q?ey7LFtyVdt3O3s/FkbGh5w1mn5PT0acCr25Qz93B3CDWxhg/Ktc9x3vcnePf?= =?us-ascii?Q?1y/7Z5oYNoj/tKgryDCW+J5Y?= 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: c141bd45-eeb5-4320-6e70-08d993ac8281 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2021 09:32:18.1052 (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: GiQYn0QXeWCBGEgBKp1IoKPtDhy8RGgLLK9Ee8hMIoGwkRloAVF9jHFBNuHAW8EpkryeK8WXfcPxlc5I6qsbjg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB4484 X-Proofpoint-ORIG-GUID: vMQA3lWzoffswDI16X9C0Thc8qhkdO2w X-Proofpoint-GUID: vMQA3lWzoffswDI16X9C0Thc8qhkdO2w 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-19_01,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 > 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 flag = set. > > Currently only 3 PMDs support raw APIs, we can get rid of this global f= lag in > future if more > > PMDs start supporting these APIs. >=20 > 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 support b= oth APIs. And we need to test both data paths. So for this we have a global variable to enable raw data path and we regist= er 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 decide = to enable=20 Raw APIs only when the PMD support that and that global flag is set. I hope it is clear now.