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 F058C42B39; Thu, 18 May 2023 10:03:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C74F240E25; Thu, 18 May 2023 10:03:45 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 3283E4014F for ; Thu, 18 May 2023 10:03:44 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34HMFHln012894; Thu, 18 May 2023 01:03:42 -0700 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2046.outbound.protection.outlook.com [104.47.66.46]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qn7jb9ruv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 May 2023 01:03:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gXGvkW7+fqcdKWr1n7at7D6nLUlRxo7sqfsFXFz5NKEI31NeWnVsc04fUpbdY5PRA4Sq8nsbohimP5cFFzuKslnExeZQCKQ4phrq4aaHVHfV/xNOUJ8f7dqskbmPhPW8xRuL0hzcOLMoMfvG9kWeEQ0xLUD3ISFjmWh/SYJb1scqoOTslyKH9W9tZH8lJ9gxRUkEiAGGlIE9tM0wUcGcStvrx4PJ7kAgQ+eEVIWLDsw3MrDuvZAIAiso5HgWO9IdL9/AIWy04CM2RfEN8pYyQxEju2lNTsD0SjgxaG5rQHmoFIrXfIHri30E/F2vX1LBUe02dJN/f8xBlDm56rdUWw== 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=o9JSIpxCO3kcb/CcJFVzw+xk3d/iBNdszlHKhtDVq6w=; b=ZvYNS3kxduASSc2TwXTqcNnkbnnEcIUYAJTHwFy0ey+35kWgzz1iODG5tJ0QJNcyJDWu4iDs3v4msh8HMVMDCEbpvhQf5f85NVucY44ZzMP6sDTMyOEA5uIM4h0V/l0ICU+TvnyhTHIfD4Vqk9LMaSH0sc+TTVDlqOvmiS1BnM495kpX5UyO+/3JeOWZINDYxxqRwk1/3cxeBx6is30JE0UBvpEbOxcdU1l5AC15mv9Bl84tTNbLg/cIQNM2s2JKjZ3uEnKoEkIF7Bp/UttVoOFAcOOh9DEP7HL8zzuNh9Gr8BTOJaMeq8Fi6aQ/Qbh/2+oyO4utfOhHhupAS5rtXw== 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=o9JSIpxCO3kcb/CcJFVzw+xk3d/iBNdszlHKhtDVq6w=; b=C6RgcCRqU7hSH0/IgX6s9M95bDDm1MfvmyIRiPPdhn/UnxAtjXXDzoCvjBIY+HygND8ysxRX0xs8Fw4mWPJP4QeHgTSegsF8MM7W0fKuf0GXemaUfeOPAwQkcMx6CGJ0bujqZC20oFLwk0gXUs4isprcTcvSSBvKZqZXiT/p1cI= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CY4PR18MB1254.namprd18.prod.outlook.com (2603:10b6:903:106::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.17; Thu, 18 May 2023 08:03:40 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::831b:85d2:9a45:8489]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::831b:85d2:9a45:8489%6]) with mapi id 15.20.6411.019; Thu, 18 May 2023 08:03:39 +0000 From: Akhil Goyal To: Anoob Joseph , Thomas Monjalon , Jerin Jacob Kollanukkaran , Konstantin Ananyev , Bernard Iremonger CC: Hemant Agrawal , =?iso-8859-1?Q?Mattias_R=F6nnblom?= , Kiran Kumar Kokkilagadda , Volodymyr Fialko , "dev@dpdk.org" , Olivier Matz Subject: RE: [PATCH v2 09/22] app/test: add lib pdcp tests Thread-Topic: [PATCH v2 09/22] app/test: add lib pdcp tests Thread-Index: AQHZbvkOXNgVhPuK50eErA5+HpB37q9fzGdg Date: Thu, 18 May 2023 08:03:39 +0000 Message-ID: References: <20221222092522.1628-1-anoobj@marvell.com> <20230414174512.642-1-anoobj@marvell.com> <20230414174512.642-10-anoobj@marvell.com> In-Reply-To: <20230414174512.642-10-anoobj@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-rorf: true x-dg-ref: =?iso-8859-1?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcZ2FraGlsXG?= =?iso-8859-1?Q?FwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0?= =?iso-8859-1?Q?YmEyOWUzNWJcbXNnc1xtc2ctN2RkNGUwY2ItZjU1Mi0xMWVkLWEwOTMtOT?= =?iso-8859-1?Q?RlNmY3NjYxOTA3XGFtZS10ZXN0XDdkZDRlMGNjLWY1NTItMTFlZC1hMDkz?= =?iso-8859-1?Q?LTk0ZTZmNzY2MTkwN2JvZHkudHh0IiBzej0iMzQ1NiIgdD0iMTMzMjg4Nz?= =?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FHd0FYd0IzQUc4QWNnQmtBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?iso-8859-1?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU?= =?iso-8859-1?Q?FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?iso-8859-1?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFB?= x-dg-reffour: QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBUUFBQUFBQUFBQUNBQUFBQUFBPSIvPjwvbWV0YT4= x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|CY4PR18MB1254:EE_ x-ms-office365-filtering-correlation-id: a6cd6735-94b4-4058-c1ea-08db57766407 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MSrZvM6EYhPJ+WpbyFs88ZMft3qmXHqV7SlzSHvKoNU39hKnN5HaqD9A6X/LZ4tvFxh/dhCSc15z8e+3x4QZSYBxYlW6QmSl1mQcWy9mS6ykKNkIeUnfUiIZtdROh94b9iFU453JAX0gwNpufFJvlOzhSxX9Nj7mz3ySQE14fejYyFzatvEjWiCDAzGxIo8OK5Oj0l6Rfc0KAl4lAoxw5NEciUZCQ1oZMtdDGpk+WMTzenrfWChbmbprb0qBMQi7p9/W8K3lzBS7NpKE8uqj9rVlLmGX26dFmjUe4d/foeUG4IED/xiKpJ1EhuB5tvwW0rretLCAty4yjrsphmpJP5qUVl/SsA/RKQH9LhAMFVf9FiDJI1GfLy7Xwj35O/C0KEbFth6BzxKCQ6Dww0p4TgLnNQb/vtuEutlnWlPQLUB91XDdBYui6tFsvIEzTEIdPtP1Jpp2H1lFGJq8lp281kRHW4kP6EqGkNYIBxICauyvaYUCAoCI0K93SnJcprHH9tZBUJX6SmV3JNaQZz6gtlQYzygXzJcM7z5xqXSXaW7o7fSwNLKYodqRwiH02Q+Tb8HqyA/N66pn9MsW03GA5HHZ4GFA3N5HFJtT91M0SreispsUkgHG5U54qT5PyHH6 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:(13230028)(4636009)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199021)(86362001)(83380400001)(7696005)(41300700001)(33656002)(122000001)(5660300002)(52536014)(8676002)(38100700002)(316002)(38070700005)(66476007)(4326008)(66556008)(66446008)(55016003)(2906002)(66946007)(76116006)(64756008)(55236004)(186003)(6506007)(9686003)(26005)(8936002)(71200400001)(110136005)(478600001)(54906003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?jc9otDRe/nLKnfUSbLRMfaum5KazlEDnhrrVuuWnOaFIRUD2qyD7ooNqRI?= =?iso-8859-1?Q?cVdcWfWDIzu7HxUAZeOQMnBnB/FvtHA1VeZOA7IvMKZqFCOnP4WUROeR52?= =?iso-8859-1?Q?lWAkBmoFKw5DBTLRD2f3OH6sKDPnSRjHBJXPx59d+Ie71310VL+Meqzwmz?= =?iso-8859-1?Q?k37wYWnWqMW16IHfUk3fB25plccirz2mniUTSNNTvNCJteqNDZwYPqz7ka?= =?iso-8859-1?Q?ES5vLU5MeJE1M8zW30fsDuwcX/owmDLSF7uUbruYDUtENo83EHKLr0xh+j?= =?iso-8859-1?Q?HbbykzOiJUv5U+p7x+953P2OQQkUqqDTOBnVlYcirZnEkOwSP0y7Lmm2G+?= =?iso-8859-1?Q?VqzwyTUfbrAF4zz1Fx4GVW6Px5b+fYAZ7u363qaxIRWfHFxY3EcDkLKBhf?= =?iso-8859-1?Q?6WU1Pw2/cwBGk0wm6lYSDcashyi3cG1yTC9wgaZQG8vynFQsRg8XiwyQMs?= =?iso-8859-1?Q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rlITUgvLLg97URKEj8wir3oAl7YwH?= =?iso-8859-1?Q?QrKkluJOLcK8SDN/+gfr68cULptvqW7fvdWEw3+8C9/OqTqYUC6sF5a2uU?= =?iso-8859-1?Q?n64xBKnAVPiNuCB2YdQglbkDYRjEHbJ/FtCZZO74We5Kh0upxdrI4hFLZy?= =?iso-8859-1?Q?MI9nircn2l2RiDRvkpUaytMH0TGksj8oPLW6od2JRGrcW9V7HJHaVWOTx4?= =?iso-8859-1?Q?7hPbU3z2OXz6TNcrZnz/Gybcu9PJ4otcRdV7/iJP7YZhELaCyXuiFErxMB?= =?iso-8859-1?Q?wg0Nm4EEPQU4Lx4dNBxKgGG8F/fHpekOrD?= Content-Type: text/plain; charset="iso-8859-1" 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: a6cd6735-94b4-4058-c1ea-08db57766407 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2023 08:03:39.8972 (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: fGQCku30hgSk8BpJJe7caE5Tl2iUq70a737XQZ/29pPmu7D0M0gXWBLIjHtn3BfEfrZx7eaKiPgEviqixe9XIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR18MB1254 X-Proofpoint-GUID: aenfwNzYL8ABtR3mbYYWousQNEz_aPEm X-Proofpoint-ORIG-GUID: aenfwNzYL8ABtR3mbYYWousQNEz_aPEm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-18_05,2023-05-17_02,2023-02-09_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 > diff --git a/app/test/meson.build b/app/test/meson.build > index 52d9088578..0f658aa2ab 100644 > --- a/app/test/meson.build > +++ b/app/test/meson.build > @@ -96,6 +96,7 @@ test_sources =3D files( > 'test_meter.c', > 'test_mcslock.c', > 'test_mp_secondary.c', > + 'test_pdcp.c', > 'test_per_lcore.c', > 'test_pflock.c', > 'test_pmd_perf.c', > diff --git a/app/test/test_cryptodev.h b/app/test/test_cryptodev.h > index abd795f54a..89057dba22 100644 > --- a/app/test/test_cryptodev.h > +++ b/app/test/test_cryptodev.h > @@ -4,6 +4,9 @@ > #ifndef TEST_CRYPTODEV_H_ > #define TEST_CRYPTODEV_H_ >=20 > +#include > +#include > + Can we remove these includes from here and add in test_pdcp.c directly? > + if (conf->is_integrity_protected) { > + if (conf->entity.pdcp_xfrm.pkt_dir =3D=3D > RTE_SECURITY_PDCP_UPLINK) { > + conf->entity.crypto_xfrm =3D &conf->a_xfrm; > + > + a_xfrm.auth.op =3D RTE_CRYPTO_AUTH_OP_GENERATE; > + a_xfrm.next =3D &conf->c_xfrm; > + > + c_xfrm.cipher.op =3D > RTE_CRYPTO_CIPHER_OP_ENCRYPT; > + c_xfrm.next =3D NULL; > + } else { > + conf->entity.crypto_xfrm =3D &conf->c_xfrm; > + > + c_xfrm.cipher.op =3D > RTE_CRYPTO_CIPHER_OP_DECRYPT; > + c_xfrm.next =3D &conf->a_xfrm; > + > + a_xfrm.auth.op =3D RTE_CRYPTO_AUTH_OP_VERIFY; > + a_xfrm.next =3D NULL; > + } > + } else { > + conf->entity.crypto_xfrm =3D &conf->c_xfrm; > + c_xfrm.next =3D NULL; > + > + if (conf->entity.pdcp_xfrm.pkt_dir =3D=3D > RTE_SECURITY_PDCP_UPLINK) > + c_xfrm.cipher.op =3D > RTE_CRYPTO_CIPHER_OP_ENCRYPT; > + else > + c_xfrm.cipher.op =3D > RTE_CRYPTO_CIPHER_OP_DECRYPT; > + } > + /* Update xforms to match PDCP requirements */ > + > + if ((c_xfrm.cipher.algo =3D=3D RTE_CRYPTO_CIPHER_AES_CTR) || > + (c_xfrm.cipher.algo =3D=3D RTE_CRYPTO_CIPHER_ZUC_EEA3 || > + (c_xfrm.cipher.algo =3D=3D RTE_CRYPTO_CIPHER_SNOW3G_UEA2))) > + c_xfrm.cipher.iv.length =3D 16; > + else > + c_xfrm.cipher.iv.length =3D 0; > + > + if (conf->is_integrity_protected) { > + if (a_xfrm.auth.algo =3D=3D RTE_CRYPTO_AUTH_NULL) > + a_xfrm.auth.digest_length =3D 0; > + else > + a_xfrm.auth.digest_length =3D 4; This if-else is not needed. If is_integrity_protected, digest_length should= always be 4. Also define a macro for MAC-I len. It is being used at multiple places. Similarly for IV length macro can be defined. > + > + if ((a_xfrm.auth.algo =3D=3D RTE_CRYPTO_AUTH_ZUC_EIA3) || > + (a_xfrm.auth.algo =3D=3D RTE_CRYPTO_AUTH_SNOW3G_UIA2)) > + a_xfrm.auth.iv.length =3D 16; > + else > + a_xfrm.auth.iv.length =3D 0; > + } > + > + conf->c_xfrm =3D c_xfrm; > + conf->a_xfrm =3D a_xfrm; > + > + conf->entity.dev_id =3D (uint8_t)cryptodev_id_get(conf- > >is_integrity_protected, > + &conf->c_xfrm, &conf->a_xfrm); > + > + if (pdcp_test_params[index].domain =3D=3D > RTE_SECURITY_PDCP_MODE_CONTROL || > + pdcp_test_params[index].domain =3D=3D > RTE_SECURITY_PDCP_MODE_DATA) { > + data =3D pdcp_test_data_in[index]; > + hfn =3D pdcp_test_hfn[index] << pdcp_test_data_sn_size[index]; > + sn =3D pdcp_sn_from_raw_get(data, > pdcp_test_data_sn_size[index]); > + count =3D hfn | sn; > + } The above logic can go inside lib PDCP as well. This is specific to PDCP and not user dependent. You can reuse the pdcp_xfrm.hfn as well.