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 7B24B42B37; Thu, 18 May 2023 09:33:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B5CC42B71; Thu, 18 May 2023 09:33:44 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 8F7BC40E25 for ; Thu, 18 May 2023 09:33:42 +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 34HMFhOC013340; Thu, 18 May 2023 00:33:41 -0700 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2103.outbound.protection.outlook.com [104.47.55.103]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qn7jb9p72-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 May 2023 00:33:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UMtUZeCq+pupkudtDGv3nlAw41rl85GE/yV6Opbmd1EWlW/qXt6+qDkTiJ/Abkh7gSi806wAj2bkkynoAoEhyFz9ZzCNNSB/mrJQCN2TuQYR1o8eBgZtPRNjXKb8TvYZEYM8NXel8agylWs68tyIJnj7t9adaHFrXa3+U3BYxUj5nTT/NMtzyAyrlaTNHFjAFrvcNVWgW8pWfje7+8PGiv9pRv2XSk5bPHt/yBKgeaUGTt/cRi0UKhTquW8peMX43Li1Vsdal/ReX0zhTPgOAS425nEq5uLjXR5bgBZPK3G61IKGNF3fQ17p+9ujUojJUvyfqsaxm11ssUD0GIMEJA== 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=XYonnnMYm7eeAfrvAK5yk/gpw1Sip6T2TBsRsFngK64=; b=e0nK02y8x+gvV3BiVTmGTt+KbdnB1wqDiNIyJUYryq4qBzSlycXZD7KL3cJ5vtWybb0UNlbu7QRGQhetaU9gcrwVxGe+rjzv69FGAp7jDOUlpHU7vAgtUw4v6QTS6YBZm+wOXVZVR15S8mOheT6iApLudBND/W9JJliP+fpULVyFCFplS5kKYTPF66wrTvCcvD7umk863+EHbO3s6I4LXf/CoehnFvq5X73syVooyQsY4e5/iTPWYRZoMwEvfX0oHLcE0kti9ygmYMEh09DsHXdIxqjI91t3CbUYvvobYY5BVPq877VqEXPiAiJ6ZET2uu9g2fKM+x63JwHebpMlFQ== 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=XYonnnMYm7eeAfrvAK5yk/gpw1Sip6T2TBsRsFngK64=; b=mOZA+pRESHIK/CinE6P4R9ExaCeHPDZfYAZ1rka05oPpzxmJz5J9xmXLrO8wVJMIl73KVcC2Egbu6+S7XO3oIeba4xR4cB4RbyZPLwKQ6rMTopKom/X8OOZd7aAIwo7b7L/R7mwNF8FYPFz0wKD1v/UKV+7ZaKnAiqNOA+XPfng= Received: from PH0PR18MB4672.namprd18.prod.outlook.com (2603:10b6:510:c9::16) by MW5PR18MB5128.namprd18.prod.outlook.com (2603:10b6:303:1c2::20) 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 07:33:38 +0000 Received: from PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::9225:bda3:4faa:a84b]) by PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::9225:bda3:4faa:a84b%4]) with mapi id 15.20.6411.017; Thu, 18 May 2023 07:33:38 +0000 From: Anoob Joseph To: Akhil Goyal , 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 07/22] pdcp: add pre and post process for DL Thread-Topic: [PATCH v2 07/22] pdcp: add pre and post process for DL Thread-Index: AQHZiVSdZuF9nyBQ6EawDP6++fycQK9foByg Date: Thu, 18 May 2023 07:33:37 +0000 Message-ID: References: <20221222092522.1628-1-anoobj@marvell.com> <20230414174512.642-1-anoobj@marvell.com> <20230414174512.642-8-anoobj@marvell.com> In-Reply-To: Accept-Language: en-IN, 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+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcYW5vb2JqXG?= =?iso-8859-1?Q?FwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0?= =?iso-8859-1?Q?YmEyOWUzNWJcbXNnc1xtc2ctNGJkNDhiZDktZjU0ZS0xMWVkLTljNTItNG?= =?iso-8859-1?Q?MwMzRmNWY5YjRmXGFtZS10ZXN0XDRiZDQ4YmRiLWY1NGUtMTFlZC05YzUy?= =?iso-8859-1?Q?LTRjMDM0ZjVmOWI0ZmJvZHkudHh0IiBzej0iNDQzMiIgdD0iMTMzMjg4Nj?= =?iso-8859-1?Q?g4MTU2OTUzNTQwIiBoPSI3c3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UFBQUFBQUFBQUFBQUFB?= =?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: PH0PR18MB4672:EE_|MW5PR18MB5128:EE_ x-ms-office365-filtering-correlation-id: 8a924ad2-d1fd-44a3-d109-08db577231ef x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZWWgOe0g7Q8qIrOC0mmT5ZaGS9L+CHhhuZjSSDFQV+pCA1eUbO+TyWE6Y0xwR4bhuyWvZm5uDg6H4Vfo9KCPPcipX8W5/awnfEED55m+/gw3rvQeRmTS7i5R7v+sYQvsKToNg7lfh5tQffQJxQNScoJ48991dsFND/dK9Apk+lX3BtH/zMROHZqRnmg7pF72+l5KjzWRU3jhrki/lLbVQw+36or/ysXQnMc04X+Zyg3u3U5GLvltno+dUatJiighVVhCZvgk0rF5h5X7lESVOVeAyexezeZvIfKGTLFPk8/TP3kEyib7ttZB8ILIb0Ncu5sNZAzUf4OMHRGlwlCOl9Hu2595hvw4SB8Fsb+29ZmvBUR5kKAyqQKf66Cc1LxijAvsyz70mSqbv1PlnJvGfPn7o6o58Rj8p2J9JzZVhP2hlR3jAVDwpCDFwP603+3YYO+GW8DCoCMQ7LnNRkIQbQrfOfW98j2LhmF2zmKGDFwvJc2B3DRB7puh4jBQj80urmeMzJiV2FOpuMykdhf9A4JFWaTMFVbWA46cXLfl+2Uecq7V6DjBc1qV0oOfnku/WeYgosDmpsMvRo9PCirPSey4JjWe+USBwx4VAJwnZnPrNRz7peXIGy6Jn12499CR x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4672.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)(66574015)(186003)(6506007)(9686003)(26005)(8936002)(53546011)(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?CpUdS1FAOfUuflC9ZmcW2peB6/ai19ni2Gwn290em72MWYHlEoNh+PJ1RC?= =?iso-8859-1?Q?lHRndz2tqqdtbY2qvUFt/UE60BnTAJvRCLto1kd/3CvBx+lOeeakxveO3b?= =?iso-8859-1?Q?v9McwoLZClsDFkp8xpzufa9vfr3wTWYdcyI6Y/MzQGzFc6AW6GmcfKuDOl?= =?iso-8859-1?Q?Aewp/DMV7aFJA7sOblWmkeY6oqUCVQDsJm6cLdSL/xcZTGqcR1ALY9oIRe?= =?iso-8859-1?Q?2RWyNSuSYTIidaWFxe/1XocfwhRuIpusYMTWi/OlwY7BGqaUBQGXdQ3nsj?= =?iso-8859-1?Q?0LWlnc/8iqXWwUIaPOVyLWot9V0FZYA4DVLWiH26XngGIc0iiCbuVo21VE?= =?iso-8859-1?Q?jEUiDOMBBFpXXbLot/+Ii0UjVi7TN9SGbZ9CSWss2jM1nFIFqn5YgY5wFW?= =?iso-8859-1?Q?cEXjjagruhwcub1eCcPZwZ9pKxFh9Uru99PveIyuGRYuZgqZbGpL830jrm?= =?iso-8859-1?Q?mc3RwhZemE5IPI2vQYQ0i1oHE0g8PjsO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gOpSc+QPHRDLmBdrw7YWlhqG55RcBK1tBFtA+VLj/dvw9CozKEXW5K?= =?iso-8859-1?Q?tSTHrHKELvxa/nbdGDN0ovbnRXlF6VnYZBU8Oyl5luV8o9F25YaUogBYMI?= =?iso-8859-1?Q?qFTzvJhTWGzlRQKyAiUcRkHnA8cTbYrl1976JFHd0i4NgLwWmCdcjsSEBY?= =?iso-8859-1?Q?BP3TKYfQlxpNUI0R2/ACVuX12zhW8sdTkQvATfi13MTJW3Pe9yqIGuCAtL?= =?iso-8859-1?Q?fnWTmcsfBh4zc=3D?= 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: PH0PR18MB4672.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a924ad2-d1fd-44a3-d109-08db577231ef X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2023 07:33:37.8529 (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: /gw6USesQlyKHRXTpN8qJLdLAeQC3apinTRFXKiAHdIYcDkIVihtKQWuZ8PEE4YE3vTU1s9lx4E8Nb/PmAU3Gg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR18MB5128 X-Proofpoint-GUID: Xo31EjU2jHTJtnvdIDeGLW0gHQwyHUwy X-Proofpoint-ORIG-GUID: Xo31EjU2jHTJtnvdIDeGLW0gHQwyHUwy 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 HI Akhil, Please see inline. Thanks, Anoob > -----Original Message----- > From: Akhil Goyal > Sent: Thursday, May 18, 2023 12:17 PM > To: Anoob Joseph ; Thomas Monjalon > ; Jerin Jacob Kollanukkaran ; > Konstantin Ananyev ; Bernard > Iremonger > Cc: Hemant Agrawal ; Mattias R=F6nnblom > ; Kiran Kumar Kokkilagadda > ; Volodymyr Fialko ; > dev@dpdk.org; Olivier Matz > Subject: RE: [PATCH v2 07/22] pdcp: add pre and post process for DL >=20 > > static int > > pdcp_pre_post_func_set(struct rte_pdcp_entity *entity, const struct > > rte_pdcp_entity_conf *conf) { > > + struct entity_priv *en_priv =3D entity_priv_get(entity); > > + > > entity->pre_process =3D NULL; > > entity->post_process =3D NULL; > > > > @@ -342,6 +756,13 @@ pdcp_pre_post_func_set(struct rte_pdcp_entity > > *entity, const struct rte_pdcp_ent > > entity->post_process =3D pdcp_post_process_ul; > > } > > > > + if ((conf->pdcp_xfrm.domain =3D=3D > > RTE_SECURITY_PDCP_MODE_CONTROL) && > > + (conf->pdcp_xfrm.sn_size =3D=3D RTE_SECURITY_PDCP_SN_SIZE_12) > && > > + (conf->pdcp_xfrm.pkt_dir =3D=3D RTE_SECURITY_PDCP_DOWNLINK)) { > > + entity->pre_process =3D pdcp_pre_process_cplane_sn_12_dl; > > + entity->post_process =3D > pdcp_post_process_cplane_sn_12_dl; > > + } > > + > > if ((conf->pdcp_xfrm.domain =3D=3D > RTE_SECURITY_PDCP_MODE_DATA) && > > (conf->pdcp_xfrm.sn_size =3D=3D RTE_SECURITY_PDCP_SN_SIZE_12) > && > > (conf->pdcp_xfrm.pkt_dir =3D=3D RTE_SECURITY_PDCP_UPLINK)) { > @@ > > -356,6 +777,38 @@ pdcp_pre_post_func_set(struct rte_pdcp_entity > > *entity, const struct rte_pdcp_ent > > entity->post_process =3D pdcp_post_process_ul; > > } > > > > + if ((conf->pdcp_xfrm.domain =3D=3D > RTE_SECURITY_PDCP_MODE_DATA) > > && > > + (conf->pdcp_xfrm.sn_size =3D=3D RTE_SECURITY_PDCP_SN_SIZE_12) > && > > + (conf->pdcp_xfrm.pkt_dir =3D=3D RTE_SECURITY_PDCP_DOWNLINK) > && > > + (en_priv->flags.is_authenticated)) { >=20 > is_authenticated is checked only in case of DL. > For UL, the check is there in the same function. > Can we have it consistent with UL? [Anoob] The check here allows registering different function pointers so th= at datapath checks are avoided. The level of optimization vs level of code = complexity is the reason for delta. For DL, most of the code is the same an= d so we added const flags & allowed different functions to call with flags.= For UL, the code had significant changes in both paths. Hence an extra top= level check was okay. >=20 > > + entity->pre_process =3D > pdcp_pre_process_uplane_sn_12_dl_ip; > > + entity->post_process =3D > > pdcp_post_process_uplane_sn_12_dl_ip; > > + } > > + > > + if ((conf->pdcp_xfrm.domain =3D=3D > RTE_SECURITY_PDCP_MODE_DATA) > > && > > + (conf->pdcp_xfrm.sn_size =3D=3D RTE_SECURITY_PDCP_SN_SIZE_12) > && > > + (conf->pdcp_xfrm.pkt_dir =3D=3D RTE_SECURITY_PDCP_DOWNLINK) > && > > + (!en_priv->flags.is_authenticated)) { > > + entity->pre_process =3D pdcp_pre_process_uplane_sn_12_dl; > > + entity->post_process =3D > pdcp_post_process_uplane_sn_12_dl; > > + } > > + > > + if ((conf->pdcp_xfrm.domain =3D=3D > RTE_SECURITY_PDCP_MODE_DATA) > > && > > + (conf->pdcp_xfrm.sn_size =3D=3D RTE_SECURITY_PDCP_SN_SIZE_18) > && > > + (conf->pdcp_xfrm.pkt_dir =3D=3D RTE_SECURITY_PDCP_DOWNLINK) > && > > + (en_priv->flags.is_authenticated)) { > > + entity->pre_process =3D > pdcp_pre_process_uplane_sn_18_dl_ip; > > + entity->post_process =3D > > pdcp_post_process_uplane_sn_18_dl_ip; > > + } > > + > > + if ((conf->pdcp_xfrm.domain =3D=3D > RTE_SECURITY_PDCP_MODE_DATA) > > && > > + (conf->pdcp_xfrm.sn_size =3D=3D RTE_SECURITY_PDCP_SN_SIZE_18) > && > > + (conf->pdcp_xfrm.pkt_dir =3D=3D RTE_SECURITY_PDCP_DOWNLINK) > && > > + (!en_priv->flags.is_authenticated)) { > > + entity->pre_process =3D pdcp_pre_process_uplane_sn_18_dl; > > + entity->post_process =3D > pdcp_post_process_uplane_sn_18_dl; > > + } > > + > > if (entity->pre_process =3D=3D NULL || entity->post_process =3D=3D NU= LL) > > return -ENOTSUP; > > > > -- > > 2.25.1