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 D0A1742B37; Thu, 18 May 2023 08:47:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A9AD542B71; Thu, 18 May 2023 08:47:34 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id EA33E40E25 for ; Thu, 18 May 2023 08:47:32 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34I3EC06006407; Wed, 17 May 2023 23:47:32 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2108.outbound.protection.outlook.com [104.47.58.108]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3qmyexb3su-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 May 2023 23:47:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QjBbD0JrwXXmj7M0Q2q9aFxDfLHxkUKYQFCYDqqPeDXjIBbGz/S/7+qTjbQ6tldUGzhHYlZKTTT+vSPVtTWAtfxUs6oYE5R5AzuORIWcvVhQ8p08khf4cHqxI/ZzDdmU0XixRaOHgjrXYOELzVAeObi2iPjdU7lkAnmilhu4TU11aJY4EZ5yYEieyeDGj4ZRg8yiYevdFyWEukHBWWNi1CN5WRNEqaNkJKwJxWiyosDCKBcQtSSXPvk1JqaqU2N8d97OuI2huG/wX/68ns8v7jn9d5T7EBi9ZW4T1KpGjIZwTsMDz34CeNcfK5TNAI5Vlinfj5jpvSAP1wBuhayICA== 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=xXPvR1s9ODXxOP1MvN7iptayeV0QqMKejklyinediHk=; b=dtsG8P4d8yFKXA7JueXnZw/YxqTtJMS3QSFV4z3LR+2jvSnkFHrpkxTkiH1YQlGjKIdEWY5HhJVkzmZ9soLjvGYdHF/SewrSZUCuqb1p0FYuxVdpToAeGSd7M2o9BwLw7ZHgacMj3D2b9WWAj0c9Aq0vJZzlZa2vbc5IMHuv14v6x7KqnWUTsRxVv4/emqAAes5WYqsDl85gK6iUjeGIVHTdksMnu7JaJcbkNmxkAyYOxoLWLdf73H0CMZneU+x6qEb8H8Xe3K0EBoBm1rZc72Y+xNJoe+KEqLx3Ude9CxVfs6Bg9UlYo6DTPMvwwVdlycrOXnINrOCWlXe9pTOJ+A== 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=xXPvR1s9ODXxOP1MvN7iptayeV0QqMKejklyinediHk=; b=iW73+jemmYQlaimpD8fjtBPy/d2twJs0VSz04SbxxwVo2PU1istK+vcEGa062swt5uTpH+fafe+rW5MJ9lS/KAdzzsyAM28WFtJgLJXeh4ocTnE3zBVw1MkQoXPhgL9o0AvfprdV1fibdgigWVY5p8aPCi8n12hDEJhRAptXb8o= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by SJ0PR18MB3865.namprd18.prod.outlook.com (2603:10b6:a03:2ea::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 06:47:29 +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 06:47:29 +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 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: AQHZbvj+4x5rDoBSJkaduAcGBL0aP69fyjDA Date: Thu, 18 May 2023 06:47:29 +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: <20230414174512.642-8-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?YmEyOWUzNWJcbXNnc1xtc2ctZDk1ZjMxNjEtZjU0Ny0xMWVkLWEwOTMtOT?= =?iso-8859-1?Q?RlNmY3NjYxOTA3XGFtZS10ZXN0XGQ5NWYzMTYzLWY1NDctMTFlZC1hMDkz?= =?iso-8859-1?Q?LTk0ZTZmNzY2MTkwN2JvZHkudHh0IiBzej0iMzA5MSIgdD0iMTMzMjg4Nj?= =?iso-8859-1?Q?Yw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4QWNnQmtBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?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_|SJ0PR18MB3865:EE_ x-ms-office365-filtering-correlation-id: a90c83b9-aef8-4a1b-a1fc-08db576bbfa3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eyB/eU9SHqUm5iai0ncR86QJtBKpK1li6GIdyu/LGViI+pb0uw392K/vgvNDKS1hU08094Ykmcb4KCDxkLLkTYXCfjhng7BZQmNLzgDyOO9TVL/PC/rXj+3Alm3NQlZNLYtmMAdsUNZzi6HZbFGkWIW7w6p6fOuU0dVqHWbQIy9KSmKOJ8xEB3/R5Iuwwpm0079y9cHb7wIR3kcdQEUbF8phHM/fEqeqBmCuGgwv65XZmSpfaM7BpDOc76IDp7uFgstWKsf/fNh2vrOd+UKRArPnuTh39EUuk/gZgxSdH8pss+Nb/BC8DzR+zM6yL1tmTcxS5PDpKFGskoe/BNz09FHxwWMJQJh/9IG5hB564VrAp8PeiEtBbWolT9nxV2icVUHPJmBzbPIQRrDZr6x1JiypONDKf8aa+CFpo5vRVlVuGzYmgz8qma7j10ESf7Q42/SR4DVImMC87GPzYXM1sFo+Cx6IjZjXSWhbrZpOdE6YtZKzXMdh4nEy9r83FV+Zgye9/QNU6GFwgwATcs/p5u29QQacOzDOzMzsWmsSqmao4DdsMO6QucCuaJ9DBdjwqMAM5DtYJz/0YW0dEF8V1eHfZDeA9RJIhICZ7rTSKG3loOvuVADGI+3uodcuswW/ 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)(136003)(376002)(366004)(396003)(346002)(451199021)(7696005)(33656002)(122000001)(5660300002)(41300700001)(8936002)(8676002)(52536014)(83380400001)(4326008)(38070700005)(2906002)(55016003)(316002)(86362001)(38100700002)(66946007)(76116006)(66556008)(64756008)(66476007)(66446008)(6506007)(26005)(55236004)(186003)(9686003)(478600001)(110136005)(71200400001)(54906003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?mEXq2bi7DrYtdY1WYoHWfHYPqrYLg1NEGiWsOey40T0LqIiZpiqL5Mt6sj?= =?iso-8859-1?Q?LBF3nv9zBHqI91T2aBHUvxWJ7+PxSnYu1t7lTzscdwqUot6AFpadacj6EM?= =?iso-8859-1?Q?Selz/MfJn+vLcLk8b7FcMb9dO0JXHJaWRDZ6J1MsmZFpjDOc1x/0TksGaX?= =?iso-8859-1?Q?Cl+G90BFgf2u8/uOXes1GleR+MJsyNqNsm2GctQgS5Pml2Qhiv6A/o+5HM?= =?iso-8859-1?Q?0EO2Gz2m73wHwKab5qiJMiTqXNu7DrshEwoQRM0shFaebyaKuY5vRI8Hyw?= =?iso-8859-1?Q?AAcXxW+EqDGl6y9f77m1L8TGzi9zrTmR8Q27LeY21Koz64cKnMfwvlxxKK?= =?iso-8859-1?Q?jebM5ddXmbkgLM97Qn3dzRiUC/ULOchRarRlV84Tm9hvSGZRwRGiEVogBh?= =?iso-8859-1?Q?uimTxGAWhBKQaKVq6QtycCwoGMWEt+GSDXCHQE3DSQcv1j2DYAE5ygGcrB?= =?iso-8859-1?Q?PhpeU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9eXa33pVTXiXXIYiyY?= =?iso-8859-1?Q?469Sb+ktKUKqy0GjJblm6UxZVZEVr61xvwBFOidsdJBC+8cuk4Tn0sq7Z2?= =?iso-8859-1?Q?NoaWAJVIgRwclFcxocT6zHN6ywOv8ALiCLAmGe9WHCYQ4So5QXbzXqc51T?= =?iso-8859-1?Q?ALJ3Izp8PrpXLw2X81GUFSrfBPBBxfBkEt7vTthtwWbJxRPjcT7jly3bPy?= =?iso-8859-1?Q?E6qmp/yyBdjrwwNyF2Cs89Llve9Vu8GmjNbS+YNGZrI/bHZpT4w0ZZncsW?= =?iso-8859-1?Q?mGqr9ZiBIj4vxOuomGM2ksWBmWeb+IGwHX?= 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: a90c83b9-aef8-4a1b-a1fc-08db576bbfa3 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2023 06:47:29.0879 (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: 5krktB2RaL6Hcp35vypwK/tDOTIjdnkFxFXzpiW9u6oGtI1eDHNls7nxqO9mnUGtigUhvHT04j0T/W6sOsG+BQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR18MB3865 X-Proofpoint-GUID: mLjf-JojfnU1r8TFL8SlvU0TkvJrgxbs X-Proofpoint-ORIG-GUID: mLjf-JojfnU1r8TFL8SlvU0TkvJrgxbs 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_04,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 > 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; >=20 > @@ -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; > } >=20 > + 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; > } >=20 > + 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)) { 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? > + 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 NULL= ) > return -ENOTSUP; >=20 > -- > 2.25.1