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 05F2CA00C2; Mon, 26 Sep 2022 10:01:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A75FE400D7; Mon, 26 Sep 2022 10:01:31 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 0A525400D5 for ; Mon, 26 Sep 2022 10:01:29 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28PLVSLA022614; Mon, 26 Sep 2022 00:59:23 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3jsy8r5a3b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Sep 2022 00:59:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KwwATDGZ4XzxOqjl8mn9AgNvvmvRPf6mvw0vh486aZdX4iYr7ps6FwF3gU7Uw5KyH7p/7v9+H7ablkvn5CCGK7xZs7LenfeSl+OHyDKv0T4FRPc3GJA//xsSxYWifc9iqAaA/3Lo0zXm0Gkr7FvvbrnbthF5rTqnrkCWxSVKKYeDyV13XXvqwcmPdMVgicaO4WnrYZ7nBSGSdmH0iul/T7VzUR30odft0ob5u0lGQVU9V+16y8jZ7pC9RuZ1jyoudR7fsxsNmPlU9rqHKf2/wFRggF8KKp3FidNqJdTw9Ib6R6LMD4nWv41Yq4GHhoNEbs+Xmqp42b2QNrDn0Irzzg== 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=BaN3GwtfDFaP6TC/MDtB6em/82URP93T8hIXVqiMN6A=; b=GI67qyp3oZFEXZ9iL5jVpEhTTGd5q1o5p8lBgh1tNAf5thhk+9HMUDEXURahIMQsoSpid96RwgEUBZNGBMcwHg/CoYlauA8FnS9wLICDrS7/kp58ahdUHTzXzTKY8w4sYmyeAyg9aljtdIbIHDqNSs3cHp69G/lLfF2XQsEF/8jbYnfUpN28RN1NzmZfIU7Y8dBvtU6AMJoISahfadniTV5Xq4RMMZVnhMD2Kk7Jw0nCYkhiYpsXlNJrkHohkTAVKfXRxG4q1lOL2YBOoiEV7loQJSAxaSABTwlSJDM4T3eNqk5WRzjbdHlhoXsy/tj157u5q6QGtew63FOraICXIA== 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=BaN3GwtfDFaP6TC/MDtB6em/82URP93T8hIXVqiMN6A=; b=Htd1TiGP11veVA9res8/raMw3rexWw9HUUuFPQE979czs0atq/uGTTTWc0CGRDqivDmxziAOEeLifhOt8MX0V9LAb00weBrRRLzeNOnpc+ig/IfD85XHex2wWd3VrJWm/T3FNe4qp6EBKQt8MIEu36UIO1pEFMCcEnMiyG8Gx5g= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by SJ0PR18MB3962.namprd18.prod.outlook.com (2603:10b6:a03:2e1::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.25; Mon, 26 Sep 2022 07:59:21 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::7cea:d050:5433:8c74]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::7cea:d050:5433:8c74%8]) with mapi id 15.20.5654.025; Mon, 26 Sep 2022 07:59:21 +0000 From: Akhil Goyal To: Zhangfei Gao , Declan Doherty , Fan Zhang , Ashish Gupta , Ray Kinsella CC: "dev@dpdk.org" , "acc@openeuler.org" Subject: RE: [EXT] [PATCH v2 1/5] test/crypto: add cryptodev_uadk_autotest Thread-Topic: [EXT] [PATCH v2 1/5] test/crypto: add cryptodev_uadk_autotest Thread-Index: AQHYzvXjeqFTpDTGMkKj1/N6c0T8663xXX/w Date: Mon, 26 Sep 2022 07:59:21 +0000 Message-ID: References: <20220923024023.15849-1-zhangfei.gao@linaro.org> <20220923024023.15849-2-zhangfei.gao@linaro.org> In-Reply-To: <20220923024023.15849-2-zhangfei.gao@linaro.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|SJ0PR18MB3962:EE_ x-ms-office365-filtering-correlation-id: f44d25af-e49d-4ddf-5924-08da9f950535 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: b0Gy4vpuvNRL5R5DOJxmt3FcbAgUQrGKZEVWzM9YeJ6peqKna+GX0KDIZxESE7dZeG4SFRWQ6nSO8YYVPRN/F+J/bex/pg3FnXzeoI3IIPBPE1HkeY2UsUa9ZlXuBJr4S0C7qlLA9M6ToYas+6Vls6zkGrWvysOA3CZUz9oOEs54fYp+r7SsOdtzKFnaFkm9tEoFW2+76ijWS6Kr/C1f1uPjiPX1s1FAU1+tivINsLTV32gkUWlL5F4JM70KJkn5Fbnxfs512gl2Wt1JAIQu6Lyjn4Il/vOzK6rUDTN27g266szjf3QC7lceDdLEIDaSuuSOBvjAiq3oRD7J4nGYCWR/vZiOYP5uDKecOclb44PGoe+z3/tl12toDx/Dkq287i+oUumSQ3eAYjfms6sqfCLyDPJXeH7C+4RCVsHsp2R2BhtpG/PBZvSEN/nlsHV3Y8bUTNPVem6fOyaqcgZsVBX54KphpwqCk+Wh5zk9UP+ZF4enhP+0VN48oR7zEsnAEgi34vIDPkZaK6Hqelulr3g7nDx2q0oqKOz5HZyYwb6mAVOYDvuGzisMrkox2yPO0qBc2exAOZ+3rrNiTCOf5BzTznspGh+a52VjU0WGycJImEhKiTSBjveXsfWdbJfw7L3mICeQlNuhhm/6Ql9TQE1DLv5B+SlQM5CvmQgWni6NV9Wssds30OUHRo7gIAzLWP+/zbpPjF/CF1C8SBGcVWpavv/XafhS3vzXCwQMXavSZpLCI6KK1rlH0iJ7GUqfHmBtFl22phgtGGkFj5oaLg== 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:(13230022)(4636009)(39860400002)(346002)(396003)(366004)(136003)(376002)(451199015)(9686003)(26005)(5660300002)(55236004)(33656002)(8936002)(2906002)(38070700005)(66556008)(66946007)(76116006)(66446008)(64756008)(66476007)(4326008)(8676002)(7696005)(6506007)(52536014)(41300700001)(122000001)(38100700002)(86362001)(55016003)(186003)(316002)(71200400001)(54906003)(110136005)(478600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?d7SDWpX5bzagfc5PmR1qwd1yEDbK5IZ80g6xfOCjb+fOhwWn2J036Ro09TbB?= =?us-ascii?Q?PI3YGsQPGa8IaVJOryoq1Bh66xoVj+aZ2qvU5IM/Ck/UiYYeLWCb0Y4APzi3?= =?us-ascii?Q?8FkmI/7MFBKIlVxMGcH3VR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?MGFBxbiRLT53csLWi/b459QLnrraOFzjIYMFFvULVJtVWVfmbDBsy/z9S0iA?= =?us-ascii?Q?dSxbjUqTz/05KV0vsJfUaqqRz0E6n0M8d5ogkgud/GyOMXmdOUVCHIakD0X2?= =?us-ascii?Q?H7Rn1pSAoT8muzBV1W/UGcyrLQ35ZbobyF+Trlh/obW0iIvj/FGi3uhaATNE?= =?us-ascii?Q?7uKSkdsvpT8Xo/ejc7Wn1QQQyQfK+pEOPT7t5j+hK8JDskywHlthw32lJUi+?= =?us-ascii?Q?7CZiFMAJTcmPhwqFVMlIobLsInVixp5ky8m1G/U+i3sQP1sPPXwGfq3Rbyse?= =?us-ascii?Q?06LiyW2wXg2IPuHrPdG9Ojly5opQL9rkUqS44r59gIOeWKRTf1c8Hf5V+rsK?= =?us-ascii?Q?1SAJAFx4Nkvz16pFaLfsoH2JCR8PcNc6PAElM9RfG8Ro09+E2wp1e8DyhZqD?= =?us-ascii?Q?ApC/i1m1iyY9t5dVkcTeCSvnvlgsK1IKhI5b4VpYPfkf6mfVSMMz3QqWzWd2?= =?us-ascii?Q?/qexEF0odZgs0/6drOR611k4B5aoJ1Y4E/ozPo/zi4RvHZbtLb0sBIjRAfv0?= =?us-ascii?Q?s/y5PZeL6YNG0wSWanoqyLe1gPIKEDLoErQ1G600?= 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: f44d25af-e49d-4ddf-5924-08da9f950535 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Sep 2022 07:59:21.2047 (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: FJzQaVnRNEsijb9/T/BBGlsiehrGbBxTSh+uUTX2we5PaE7OnErTV65U/gLc+LQxrYFsz2iP4kXS7rhm8lttXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR18MB3962 X-Proofpoint-GUID: Sp2p31ZrdNxwdBv7E8XUEdYmh4ETyxBE X-Proofpoint-ORIG-GUID: Sp2p31ZrdNxwdBv7E8XUEdYmh4ETyxBE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-26_06,2022-09-22_02,2022-06-22_01 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 > Example: > sudo dpdk-test --vdev=3Dcrypto_uadk --log-level=3D6 > RTE>>cryptodev_uadk_autotest > RTE>>quit >=20 > Signed-off-by: Zhangfei Gao > --- > app/test/test_cryptodev.c | 7 +++++++ > app/test/test_cryptodev.h | 1 + > 2 files changed, 8 insertions(+) >=20 > diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c > index 6ee4480399..7541cffd36 100644 > --- a/app/test/test_cryptodev.c > +++ b/app/test/test_cryptodev.c > @@ -16580,6 +16580,12 @@ test_cryptodev_qat(void) > return > run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_QAT_SYM_PMD)); > } >=20 > +static int > +test_cryptodev_uadk(void) > +{ > + return > run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_UADK_PMD)); > +} > + > static int > test_cryptodev_virtio(void) > { > @@ -16923,6 +16929,7 @@ > REGISTER_TEST_COMMAND(cryptodev_sw_mvsam_autotest, > test_cryptodev_mrvl); > REGISTER_TEST_COMMAND(cryptodev_dpaa2_sec_autotest, > test_cryptodev_dpaa2_sec); > REGISTER_TEST_COMMAND(cryptodev_dpaa_sec_autotest, > test_cryptodev_dpaa_sec); > REGISTER_TEST_COMMAND(cryptodev_ccp_autotest, test_cryptodev_ccp); > +REGISTER_TEST_COMMAND(cryptodev_uadk_autotest, test_cryptodev_uadk); > REGISTER_TEST_COMMAND(cryptodev_virtio_autotest, test_cryptodev_virtio); > REGISTER_TEST_COMMAND(cryptodev_octeontx_autotest, > test_cryptodev_octeontx); > REGISTER_TEST_COMMAND(cryptodev_caam_jr_autotest, > test_cryptodev_caam_jr); > diff --git a/app/test/test_cryptodev.h b/app/test/test_cryptodev.h > index 29a7d4db2b..abd795f54a 100644 > --- a/app/test/test_cryptodev.h > +++ b/app/test/test_cryptodev.h > @@ -74,6 +74,7 @@ > #define CRYPTODEV_NAME_CN9K_PMD crypto_cn9k > #define CRYPTODEV_NAME_CN10K_PMD crypto_cn10k > #define CRYPTODEV_NAME_MLX5_PMD crypto_mlx5 > +#define CRYPTODEV_NAME_UADK_PMD crypto_uadk >=20 This patch cannot be the first patch as we do not know yet what uadk crypto= device is. This should be the last patch in your series.