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 4135C42B98; Thu, 25 May 2023 10:15:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3571440DDB; Thu, 25 May 2023 10:15:13 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 68F7940A82 for ; Thu, 25 May 2023 10:15:12 +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 34ON2qV7025147; Thu, 25 May 2023 01:15:10 -0700 Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2042.outbound.protection.outlook.com [104.47.74.42]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qsbxex9ww-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 May 2023 01:15:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Np0p/4cKvPElUemHY917mtV94rBKUCxLciQ+ctSw+BVFoQKxZnXAoAPMgvb88EUEE/t0yuuC9S2ht49kycf+e1X6rEYLwaj5IQjdbF6sJZGQDjRZwIE+ao/5Y1+BnPTCtWwNIutg7SPlD2OUjKyyPc+Y+oSWz1ZvucGyEURUvW2bsibCuGLIJY7Je2vjcMrfKlHC+i44BT94P9M7QuahkSIBkAwlFANQS3/gWwy8nanUYtoJC7vCtLIb15kb+VBMoeIXY0GcIqQia0fpqVTSC2IPum+ffLz/B+k1aPMaF0QcRdF1ZpqlBkmFaqtB11Z9PWu0agpglzYTUcmdZBhIeA== 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=jHi8DSP5JycZ1yF8Juwqh6k5lvzo7fx2PuS5zxliHZw=; b=bCpuLdW5MxVBokba9KHck3oBLNUnIch90V5WhOt+tXa8D2S/SrjJnFh67BlIgykw8SR714J3iSD6oS2X5FB+0kmPFWkA2JQVgkqsWIUIbfevq3f2XhJd0FkfgrLm4l4yyjlRKDjOitrIAAk0GXpAdubNOANaFZaMs84LadARJ/jxhD3vJ4fqsOyzng6k3wV8F37ebX8bMIewlelugz/CPRlFJRZL27Mm9eMg+Ds7Fu0rjAhiJ9NG2AFnc8+yb9aFpm7ZTNaLm2GhVluKpP0Q/PRTW5jOxIWmi2EkPS29jzjMsdyK3ydvHKCRm/A7E/GeJMsnI10al55LoirbRGVdog== 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=jHi8DSP5JycZ1yF8Juwqh6k5lvzo7fx2PuS5zxliHZw=; b=aVAnV/ihi9iwdzErCUfY+ihxXuHatQRZKbGz4Jt2qdMX2HKo9tBqWNTr/ZKhc1vzpsHvYTemuCvjant61mITbyIsjgDMjLykf0mEpeJ0P2m3BToDG63tR2ydqlWLFyX6UADEXYJxP8NDZx/xenVQkjrhBNsEQyDuoqS9fbTgVQk= Received: from PH0PR18MB4672.namprd18.prod.outlook.com (2603:10b6:510:c9::16) by MW4PR18MB5230.namprd18.prod.outlook.com (2603:10b6:303:1b4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.15; Thu, 25 May 2023 08:15:08 +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.6433.015; Thu, 25 May 2023 08:15:07 +0000 From: Anoob Joseph To: Stephen Hemminger CC: Thomas Monjalon , Akhil Goyal , Jerin Jacob Kollanukkaran , Konstantin Ananyev , Bernard Iremonger , Volodymyr Fialko , Hemant Agrawal , =?iso-8859-1?Q?Mattias_R=F6nnblom?= , Kiran Kumar Kokkilagadda , "dev@dpdk.org" , Olivier Matz Subject: RE: [EXT] Re: [PATCH v3 21/22] pdcp: add thread safe processing Thread-Topic: [EXT] Re: [PATCH v3 21/22] pdcp: add thread safe processing Thread-Index: AQHZjm36g0UiVKF0D0GehztgGFI1X69qceig Date: Thu, 25 May 2023 08:15:07 +0000 Message-ID: References: <20230414174512.642-1-anoobj@marvell.com> <20230524160116.304-1-anoobj@marvell.com> <20230524160116.304-22-anoobj@marvell.com> <20230524113130.242a9b81@hermes.local> In-Reply-To: <20230524113130.242a9b81@hermes.local> 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?YmEyOWUzNWJcbXNnc1xtc2ctNDA2MTllNzgtZmFkNC0xMWVkLTljNTQtNG?= =?iso-8859-1?Q?MwMzRmNWY5YjRmXGFtZS10ZXN0XDQwNjE5ZTc5LWZhZDQtMTFlZC05YzU0?= =?iso-8859-1?Q?LTRjMDM0ZjVmOWI0ZmJvZHkudHh0IiBzej0iMj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-1?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBRUFBQUFBQUFBQU?= =?iso-8859-1?Q?FnQUFBQUFBIi8+PC9tZXRhPg=3D=3D?= x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB4672:EE_|MW4PR18MB5230:EE_ x-ms-office365-filtering-correlation-id: dddd80fa-4d15-46cc-a2b7-08db5cf826e9 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1VNz2N43uzFUiNOvMNttvZshoYQF0b7hrjbW9v1xhelZyOwJ36WIeMU9vqc8YV8Lpe5JXeg1r2r8GgMtkfU41IQ5j2KjV0/1fDNcvmXsiBXGXSh/1KpI4aHAlG5nHn00vgAGN1tGBL7TH4lhWkPcdrzawiltHU205lulJwbWlLaM3/oKXEyk2HhgdmVBiN8gTGxwJHuMs58DaPShhCH+weoiV3HiayZsoMzLmeY+JuQpVOwZk03G8Cm2hTOnLd4sh74YDmvlhYcNcHgcfBL+pc+Y4s/AldZVADN2V0kEBJhPE+4VEwcPBBBt/bs+YWBdNUOOwhp2s/hYBx9g20N3afLZEsVFdbeHlmuUq5dulLcB/EWV/pXH5q94Smf+G475aQLdYr/aiUW2abeWkHugvrY57HKd3AfJNoLSyWG0JyqfO1F8r9LaTSAuF+SgId68dS0Lf5EyUhn735twSStcUktDgr7OmvFbTGb7iWTlMvDDdTskiIr+UkkGApKm8ZT/Hu3eQeeUTk1M4AFqArobB2wt0uHJntObobh0nOHb4It5Ir7fpcadSfacoaqSo19e13ZHublR0Q7sWWykAW3PylgYwPj39HtDspE5xdrgR59VWnKdicIxJqkzN0jufiDP 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)(136003)(39850400004)(346002)(366004)(376002)(396003)(451199021)(38070700005)(66574015)(83380400001)(2906002)(186003)(33656002)(86362001)(38100700002)(122000001)(55016003)(52536014)(8676002)(8936002)(41300700001)(7696005)(5660300002)(478600001)(54906003)(6916009)(316002)(66476007)(71200400001)(66556008)(66446008)(4326008)(64756008)(66946007)(76116006)(53546011)(6506007)(9686003)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?W5Lfk1x0ij7HYZDHSjm4Tnstm0mq0ziDucK3xWlxhqEDxe3wud4dKOGfyl?= =?iso-8859-1?Q?RlCImIdBMGDbxGMQ2IjFe8nSYQ+C27tqljHNJzuT5p6NgcLEJVgus/prp0?= =?iso-8859-1?Q?VRSb78+zLjEHjWd0QSAf4gU0o9QpRTCBAyJ67OlFrixEG0ppR7dR3/MTso?= =?iso-8859-1?Q?tkL4+VYHsP4ceVdooyDCmXurgFWqQqRaCuFsuf/TiFOagliNZV8/cCv1GQ?= =?iso-8859-1?Q?zCjYTQ5tkNX5NbPCMeFWTHUiY1ML0b0QcrPZamJ14s1IfiAAhsRZzOrgY0?= =?iso-8859-1?Q?HOXy1UMJ8z4TXIyxYVOhEW60IbGU9DEMhpT25sQKtsPmm+O+nYc4QXWGRl?= =?iso-8859-1?Q?2NDD5CPemp5K1FpkXlMVyL+FCh8brFsXNIaCxYlKljHQpLpjl/ODhXTxf4?= =?iso-8859-1?Q?0t/m1BRuFzoWvAz/4F1ZeNBv3OnKqP65gDA05xRcUxs18VnkNpAlciLLmM?= =?iso-8859-1?Q?4QMYhcOKp/jGCyfTea5kT9CZ9PgPGVAZnHqU6vei3Lit+ljRRxHgm/IiVn?= =?iso-8859-1?Q?9d6t1BTlH66XYkaktsS/p/wAyIkXX1JniPYSDQtb3v19G3qUbbR/T2Y4de?= =?iso-8859-1?Q?CGVDzafQz/cZkKrTkYj/uNe5TdEbkV4ptzcWuhIIIKg/zlioPJriRZlvuL?= =?iso-8859-1?Q?o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iPb2L0bTOO5khjqa3q89NwRaHLQ?= =?iso-8859-1?Q?MVzdDVMCrNukkCTyEEPD2HxzaaE7KDQ06ILIMbEQvAKKhxtsM5kOh9R7gZ?= =?iso-8859-1?Q?P4XsDOKJmohUs=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: dddd80fa-4d15-46cc-a2b7-08db5cf826e9 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2023 08:15:07.6960 (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: 1N2v0y50NodgH0nC/5gTZ3rU51UNMkIPm0Z0Lm1rNBmiodR6xO70hnQol8+a2dhKDdmDUCSxRqoi85hLrhLAfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR18MB5230 X-Proofpoint-ORIG-GUID: y7SEjNH2QYPGo2GzOeJu4yyCdntv-QDH X-Proofpoint-GUID: y7SEjNH2QYPGo2GzOeJu4yyCdntv-QDH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-25_04,2023-05-24_01,2023-05-22_02 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 Stephen, Please see inline. Thanks, Anoob > -----Original Message----- > From: Stephen Hemminger > Sent: Thursday, May 25, 2023 12:02 AM > To: Anoob Joseph > Cc: Thomas Monjalon ; Akhil Goyal > ; Jerin Jacob Kollanukkaran ; > Konstantin Ananyev ; Bernard > Iremonger ; Volodymyr Fialko > ; Hemant Agrawal ; > Mattias R=F6nnblom ; Kiran Kumar > Kokkilagadda ; dev@dpdk.org; Olivier Matz > > Subject: [EXT] Re: [PATCH v3 21/22] pdcp: add thread safe processing >=20 > External Email >=20 > ---------------------------------------------------------------------- > On Wed, 24 May 2023 21:31:15 +0530 > Anoob Joseph wrote: >=20 > > From: Volodymyr Fialko > > > > PDCP state has to be guarded for: > > > > - Uplink pre_process: > > - tx_next atomic increment > > > > - Downlink pre_process: > > - rx_deliv - read > > > > - Downlink post_process: > > - rx_deliv, rx_reorder, rx_next - read/write > > - bitmask/reorder buffer - read/write > > > > When application requires thread safe processing, the state variables > > need to be updated atomically. Add config option to select this option > > per entity. > > > > Signed-off-by: Anoob Joseph > > Signed-off-by: Volodymyr Fialko >=20 > NAK > Conditional locking is a bad design pattern. > It leads to lots of problems, and makes it almost impossible for analysis= tools. [Anoob] With PDCP (& most other protocols), we have to update the states at= omically. Application designers would have a choice of either use single th= read or do multi-thread processing. If the library is designed for multi-th= read and if application uses only single thread, then there would be unnece= ssary overheads from library. If library sticks to single-thread and if app= lication needs more threads for scaling, then again it would become a libra= ry issue. Is your issue with providing such an option or is it about how it is implem= ented? IPsec also has a similar challenge and similar per SA configuration = is provided in lib IPsec as well.