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 D1E6DA04BC; Fri, 9 Oct 2020 17:00:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 238F61D66D; Fri, 9 Oct 2020 17:00:08 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10040.outbound.protection.outlook.com [40.107.1.40]) by dpdk.org (Postfix) with ESMTP id B6F491D667 for ; Fri, 9 Oct 2020 17:00:05 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mir37mXu9WUddaViEzrFoWkgS9RvTLAbqrjSsi8xu8tjigv1GyRMnSv2XsGphn45/EidwWsUmF195J0fvcd/yeZD6rqCDLBX969hyuBYgHvb99KZIWYmVbLOZ9tZ2NOIgL6H5mmvuj2AqFL5zOiK6YT9QjA2MvdvhZ5nOD/adZ5oAG3C8w+BvqePVspYditcVOSYQNAncFdAlUIJkkKHBiKs+7a+6RuqpM6DZFHXYMcU/+cQb5JOJfQpeoWeQ63aVfJlOW5RyZsjY2PD3F5pF1aQVdPqznNqi02JmnyqqltXkqBpI9XCcHYkNmfLqzWHhtw0wttSVrb1m+2rxeYgYg== 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=u6yki3NqA8SIgdmimAMLJOFWdMlFzByPO7NAolg0X7c=; b=Y/83XCGaYLMHRPvzIvuUp6OU9pbvGHcZCEKWK/G0a6YA4VUE8e/HUq2xnTrJRt121I2RXPR/HwCGqt/VC5MOFoet79d02lQUK8C9FiLsVzFJ5JRD/P2ev7JR0uBYHAmTPbWkaiDwNCFdHYvulvZO6PCWMTgTxZfSGo+wlpJ3ybiwAgKh2A6Hw9nmm+78x7lMwk+ekvnXi2oifVyYZt/+NlAvocVgv4yy4yoNIfnYMZtDvThoai4wJC4lqK7TjNomvDX0THSZ1K5HNqf/blTBmeZO9Fy0+X7fkgkt/D+h9bxjYe1LoyprpqaKnAUwMvdXPcaVcqD/AgsrkXPZkSWSXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u6yki3NqA8SIgdmimAMLJOFWdMlFzByPO7NAolg0X7c=; b=MG6Ossf4TcF7666aI4lAzl25ZSGrQ7Knws1bB1+hBnwGqw9H2DnXyiPBHjYRr4gzCx/SR+nwregC7bjRS0OhUeLrHwaTRLX/FrhTA2wmwDCedBhoms4drlNG+wk2szJ5EveyR26iKiHH++BzEfoX503uInvkCheDCfDKqCTpg0o= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR0402MB3375.eurprd04.prod.outlook.com (2603:10a6:803:2::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.38; Fri, 9 Oct 2020 15:00:01 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e%4]) with mapi id 15.20.3433.045; Fri, 9 Oct 2020 15:00:01 +0000 From: Akhil Goyal To: Vikas Gupta , "dev@dpdk.org" CC: "vikram.prakash@broadcom.com" , Raveendra Padasalagi Thread-Topic: [PATCH v5 8/8] crypto/bcmfs: add crypto pmd into cryptodev test Thread-Index: AQHWnM4G5KduZsilg0aBDGrXH7LvGamPX7yQ Date: Fri, 9 Oct 2020 15:00:00 +0000 Message-ID: References: <20201007164539.45097-1-vikas.gupta@broadcom.com> <20201007171900.605-1-vikas.gupta@broadcom.com> <20201007171900.605-9-vikas.gupta@broadcom.com> In-Reply-To: <20201007171900.605-9-vikas.gupta@broadcom.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: broadcom.com; dkim=none (message not signed) header.d=none;broadcom.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [122.180.231.103] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 57f51212-fc5e-4d61-a79d-08d86c63ff22 x-ms-traffictypediagnostic: VI1PR0402MB3375: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: lRHxA3nPc/1NePj/C3IqjFjwzQ00Gz4wzjWm9LNvB44PWpilsaWdCCCVrZNv20DfMe4lrjC7nOVJYUzZphi6alwQfO+WnsBgX0fiY0k7itDlQJGNEne2h1KwA5OgaohPppEW5Se2R1+EGcu/WIjSQ+zEpchUrUZe9DLxaqwUwKA7BVIqS6NH3158J7IHFb4JtC2SKtGX3JQ++/2GwhHqG0KEjC9GrH7AO9SHgMA76/7KfBc+2ktGNkiZ13ETUVrrZKjjim9s9iDDkSSIVA6LgD3LmnI6kam4omO2HHBuz0yOsOwZ1NXRlq4NUtRs9UnvbtRceDnPDbbaSRRHZ84RNg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39860400002)(396003)(346002)(136003)(366004)(26005)(54906003)(33656002)(8676002)(110136005)(71200400001)(66946007)(76116006)(7696005)(44832011)(478600001)(64756008)(66476007)(6506007)(52536014)(66446008)(66556008)(2906002)(86362001)(316002)(8936002)(83380400001)(4326008)(9686003)(55016002)(186003)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 2uMTsL65tIFMtIJyOvtBN4/jxjyCnZqQdLUwEOQYWLuxSLiwf0XvKxkWj27YDn84czBb2IJV4cMLTAVMEJFU1CESYFZPQlo+T8FErrwad9c5VucwEpnS7OnM5W4kNEyqrwf3qzlBlkgI8Vt+IAKHgNfpuDM/UvSrH4heEACTxa6Lne/V7p4bn6PE8rIeFdcShoG7KJvUHDlAgDzRbbZcb5VbtErLwOUp7o7ygfyfM5CCqcN0zs0u0B8C+7ay77Bs17RGQenbEBIOaqE/41TMVOYjaZxzJXqlSxo1mhfyG1iFAEXL6P/QiigqsHFD5cFZcUCPIVu7wjIlf6UcXd97Kmll5JqfQzQ14NmqvtXOWf+grCPhv493UtSgw82CCmh8wDd59ALi3wDClUFnxAC9AT4JITWrImsh8JnLtuyp05+z3C1SNscpBVdIZ0f0jh2DjOhl6ZAh6TCt4WsXY5Qd2WaY8N2cBf/OfkBrxOiRnbfYKQ/AiOBoLpsU03UzXNUuwHNebFXZdlLqlC8C+L/lez85aZ15jfjJNotqgCIVWIKT6U5kQBDaJnrlOdINzD0Z3jvnsx/c5MSwqDMeTCakYAmWBbIdT7J1pTCpLa6pFim+hfmPLKCx9jYbgZoP+qxwWkJi5FfMjfUNA4pf676oXg== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3168.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57f51212-fc5e-4d61-a79d-08d86c63ff22 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2020 15:00:00.9519 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FEDN+Lp4OZysU8WksV2vRWUtmLaV836eDAjplpkDghh2vkdJsa+WB/W7zzvOkuJUgixJbw9I+P54CYmm+sWHEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3375 Subject: Re: [dpdk-dev] [PATCH v5 8/8] crypto/bcmfs: add crypto pmd into cryptodev test 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" Hi Vikas, >=20 > Add global test suite for bcmfs crypto pmd >=20 > Signed-off-by: Vikas Gupta > Signed-off-by: Raveendra Padasalagi > Reviewed-by: Ajit Khaparde > --- > app/test/test_cryptodev.c | 17 +++++++++++++++++ > app/test/test_cryptodev.h | 1 + > doc/guides/cryptodevs/bcmfs.rst | 11 +++++++++++ > 3 files changed, 29 insertions(+) >=20 > diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c > index 70bf6fe2c1..9157115ab3 100644 > --- a/app/test/test_cryptodev.c > +++ b/app/test/test_cryptodev.c > @@ -13041,6 +13041,22 @@ test_cryptodev_nitrox(void) > return unit_test_suite_runner(&cryptodev_nitrox_testsuite); > } >=20 > +static int > +test_cryptodev_bcmfs(void) > +{ > + gbl_driver_id =3D rte_cryptodev_driver_id_get( > + RTE_STR(CRYPTODEV_NAME_BCMFS_PMD)); > + > + if (gbl_driver_id =3D=3D -1) { > + RTE_LOG(ERR, USER1, "BCMFS PMD must be loaded. Check if " > + "CONFIG_RTE_LIBRTE_PMD_BCMFS is enabled > " > + "in config file to run this testsuite.\n"); Modified this LOG print message to remove the config. Configs are no longer= used. > + return TEST_FAILED; > + } > + > + return unit_test_suite_runner(&cryptodev_testsuite); > +} > + > REGISTER_TEST_COMMAND(cryptodev_qat_autotest, test_cryptodev_qat); > REGISTER_TEST_COMMAND(cryptodev_aesni_mb_autotest, > test_cryptodev_aesni_mb); > REGISTER_TEST_COMMAND(cryptodev_cpu_aesni_mb_autotest, > @@ -13063,3 +13079,4 @@ > REGISTER_TEST_COMMAND(cryptodev_octeontx_autotest, > test_cryptodev_octeontx); > REGISTER_TEST_COMMAND(cryptodev_octeontx2_autotest, > test_cryptodev_octeontx2); > REGISTER_TEST_COMMAND(cryptodev_caam_jr_autotest, > test_cryptodev_caam_jr); > REGISTER_TEST_COMMAND(cryptodev_nitrox_autotest, > test_cryptodev_nitrox); > +REGISTER_TEST_COMMAND(cryptodev_bcmfs_autotest, > test_cryptodev_bcmfs); > diff --git a/app/test/test_cryptodev.h b/app/test/test_cryptodev.h > index 41542e0552..c58126368c 100644 > --- a/app/test/test_cryptodev.h > +++ b/app/test/test_cryptodev.h > @@ -70,6 +70,7 @@ > #define CRYPTODEV_NAME_OCTEONTX2_PMD crypto_octeontx2 > #define CRYPTODEV_NAME_CAAM_JR_PMD crypto_caam_jr > #define CRYPTODEV_NAME_NITROX_PMD crypto_nitrox_sym > +#define CRYPTODEV_NAME_BCMFS_PMD crypto_bcmfs >=20 > /** > * Write (spread) data from buffer to mbuf data > diff --git a/doc/guides/cryptodevs/bcmfs.rst b/doc/guides/cryptodevs/bcmf= s.rst > index f7e15f4cfb..5a7eb23c0f 100644 > --- a/doc/guides/cryptodevs/bcmfs.rst > +++ b/doc/guides/cryptodevs/bcmfs.rst > @@ -96,3 +96,14 @@ Limitations >=20 > * Only supports the session-oriented API implementation (session-less AP= Is are > not supported). > * CCM is not supported on Broadcom`s SoCs having FlexSparc4 unit. > + > +Testing > +------- > + > +The symmetric crypto operations on BCMFS crypto PMD may be verified by > running the test > +application: > + > +.. code-block:: console > + > + ./test This has been changed to ./dpdk-test > + RTE>>cryptodev_bcmfs_autotest > -- > 2.17.1