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 7225542BB3; Sat, 27 May 2023 09:17:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0589F40DFB; Sat, 27 May 2023 09:17:22 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id ABEB940A7A for ; Sat, 27 May 2023 09:17:19 +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 34R5OGqK026890; Sat, 27 May 2023 00:17:18 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3quanprdav-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 27 May 2023 00:17:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BJO1De+Zg6vH621jfvJ5Yo2/ZJhEavJqyORLfSljPvqkclQY28l5OoTz8gHsHkChjvTggUXyOuOyUwusVIH+sSVxGUdvrjah3wUhB+rYBNX8vJr5ofzgNYfp2yjgnV5HDCXOLAKTz1RiHIhg6aOZGelTDvpGoJGdf+n1/Mu5/xT05S+ycbZYIm21hwcdaTL1jwS5RIiuPJUkIQuPefjgjKiZHx3GZ6Hx+El5riuJjEdaU/6jYQkm1dw3+VyPoVsA+AvbXg9XSUETEXEZsghZ6/7lOhwcRFAsgFG5GEB3o1Fxx31K5erVYw4f+4w/oXu6i5alQTj0t5kRvq5q2JLiBA== 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=85r4KaC7j+gCuuJZPYQ9E7COgTvG+Cz1DCgzUz2RTVg=; b=oKceVcHN9i6hzenvWzyhXF1OG5dkRNElTHB+ReZ/aHCDtI1XBjTIcy657ea2ypDo86eIO4HBMRl+5bnZ3wuLApmreYg28OMq24I0QH/rfRdBqK0WfIDnqfg5j7Lhk/CsdNX/3E0lDioRhz6P0mE57Hfh+VjlGbNJD41JXcriaO79hQ8VzfXMbEbA0YX1zEdv7tn36Xucg07psBWJDR71Lq4uDvefQhnxk0deb06sV+RYMesve88HhElTIhpG+IWua3h7YQiBc6Sg+DKoD6jUy1QgtzZdCKOw4dEsJ5kV69auV4Wj09Dw2JJb0n2BmrlehXXt9y8/7gjtLs+24+/qpg== 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=85r4KaC7j+gCuuJZPYQ9E7COgTvG+Cz1DCgzUz2RTVg=; b=MaKHy7Ws0G7Xgo5bHGbUP5+qUP7S2VE5Xf2HP8Tse86QZshNssoGhKrPvwDBPVAIAFch6wZZ2cl8/UzTU2s0oWYiu1M1kqzg5nQaSD6wVvHCtRu4ubUd1uxNc1MN+WfC7tRURsQ2qePDgyJXg1rnvSxmcIKoKjcHuQygUT1ve6k= Received: from PH0PR18MB4672.namprd18.prod.outlook.com (2603:10b6:510:c9::16) by MN6PR18MB5442.namprd18.prod.outlook.com (2603:10b6:208:477::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.19; Sat, 27 May 2023 07:17:13 +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.018; Sat, 27 May 2023 07:17:13 +0000 From: Anoob Joseph To: Anoob Joseph , Stephen Hemminger CC: Thomas Monjalon , Akhil Goyal , Jerin Jacob Kollanukkaran , Konstantin Ananyev , Volodymyr Fialko , Hemant Agrawal , =?iso-8859-1?Q?Mattias_R=F6nnblom?= , Kiran Kumar Kokkilagadda , "dev@dpdk.org" , Olivier Matz Subject: RE: [EXT] Re: [PATCH v4 21/22] pdcp: add thread safe processing Thread-Topic: [EXT] Re: [PATCH v4 21/22] pdcp: add thread safe processing Thread-Index: AQHZkB8Kp0o/xC9vBUOolT5cyqR8ea9tlgmwgAAgAjA= Date: Sat, 27 May 2023 07:17:13 +0000 Message-ID: References: <20230524160116.304-1-anoobj@marvell.com> <20230526210214.617-1-anoobj@marvell.com> <20230526210214.617-22-anoobj@marvell.com> <20230526151130.59d86649@hermes.local> 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?YmEyOWUzNWJcbXNnc1xtc2ctN2ViOWEzMDItZmM1ZS0xMWVkLTljNTQtNG?= =?iso-8859-1?Q?MwMzRmNWY5YjRmXGFtZS10ZXN0XDdlYjlhMzA0LWZjNWUtMTFlZC05YzU0?= =?iso-8859-1?Q?LTRjMDM0ZjVmOWI0ZmJvZHkudHh0IiBzej0iM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8859-1?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBRUFBQUFBQUFBQU?= =?iso-8859-1?Q?FnQUFBQUFBIi8+PC9tZXRhPg=3D=3D?= x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB4672:EE_|MN6PR18MB5442:EE_ x-ms-office365-filtering-correlation-id: 260d3a3e-3b38-4f3b-752e-08db5e8264db x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XakVgR29oHHHLk1GnjSE2KaMFmAlmH9cVYG7MdSMw6bDJhbDgsz75xtLlPW83wL/IUYyHogpjrnUTJLxrLYkFt30/3dAxSFu7/RyW0Aqo3+WH2Fef1jAgLSWIxdP1+7OqmiqED7inn3+8xu++/d4JtuvNtk/GDMLpAYU1+LtKgNcO6BHIcqWqdeV4MxSQo+usuKOgoLQUhSvr8eIPhmfi+MFX8WPs5MM4s7XmWuAjCArPkB5ong9JALUsU5LavGP4NQEf8qA2uoJA49WVsHKZSCMZIzsin6MBLWoar32h7g1fkb0OttZV7zeWfzz0n3vC9yPS+4ClyN3Br0IGcDefkVxsqJsIm3pu9ugFOcDmjxBxjbS0/WQgRG0qUqnBxzlASy0KJoFRZAOZH6rX46LGc8Pd9b18AaO+l9SrUhVOvQ5IUP7B6bkHdyUbJd4lvMtdkO1nQVTVZUauLQpW7qxwljufW6NpldCpDURxqxZ3ka1oXRNd3Xglw5kuVZDfdHgdpnt9ujcABnMveFy7k+9FqNfZNVzi6jtzk195hNOX4PC39X5sXqlXMxYCx5ze1Zo6sl3T/Qy11jluvhe4eQPsZ87Uc2gf6mgZhT1GXp24V3BkL/s9ZsVh0eqd6kn3CQP 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)(136003)(376002)(346002)(396003)(366004)(451199021)(478600001)(64756008)(66446008)(66476007)(66556008)(76116006)(66946007)(110136005)(54906003)(4326008)(316002)(86362001)(33656002)(38070700005)(83380400001)(53546011)(9686003)(6506007)(26005)(2940100002)(186003)(66574015)(5660300002)(41300700001)(8936002)(8676002)(52536014)(2906002)(7696005)(71200400001)(55016003)(38100700002)(122000001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?lMBftROjCavhTO4XuvtH9Uip3935BIIPLsRnbq/V6g2t2T4yjPxs7orwXn?= =?iso-8859-1?Q?HzOGCmWzQMeM8WzWv86i+WR8++XTCfcofbQi+7Z9rGGOTSaIJIFYAg9GB4?= =?iso-8859-1?Q?NsPqoBERxs514Uz+1yA/Zeb6X9TGf8peBeqKT9LDzTTpZc5csCBCdeRKDi?= =?iso-8859-1?Q?WKRzD7MCkOsSnkgZvSjw3tOa2vTupH0lm8aALAfMG5Rigm8o2Z/ofmttA4?= =?iso-8859-1?Q?KZcoDU5o1ljBovTQEIoLP3WrApoWtGZ2ESehziEc0NS2T/Fx9AFCnRaUnU?= =?iso-8859-1?Q?FSm/q01blfx+Sn6hkNwwVm6TRn/Zh52rohcrapXz43fxJwGxwmSDqVb0XD?= =?iso-8859-1?Q?Ot7i5CMkuUKfPyL9YaEtMMgvBRTbOEtlrczkVWbSDrU7Ttxz2ot99nNwDb?= =?iso-8859-1?Q?OqweSMhp0Z2bnxe6z7KK7XiCfCOfWrkwXOAIvEz7pLpCRxQKokdwEKRnDj?= =?iso-8859-1?Q?PC8Yk/oz2+lRVPhMzutX0yrvVbFsUPi6Yq8g8hbrGBW4xm/OGXQ1hdxFFD?= =?iso-8859-1?Q?1sQGFwKadO/YrO53o8pG9P4G4ZKuaeU/rn1MOrUOWHdlDT7s3P2vlI1xiA?= =?iso-8859-1?Q?YT0t6F8q0ReZhu+oDcTQsCWDRdQs10ep64ekqvWt4CiM98mj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wGodMNLLVe4Jb0Ae2nzSHgLfQ6Rte42I?= =?iso-8859-1?Q?j80Pe7jOQaSLqodqwT9paQE+bXIAGlduKvjRhl54FN4spJzVLQq6+KG+zS?= =?iso-8859-1?Q?mCZemUYRJjHcE=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: 260d3a3e-3b38-4f3b-752e-08db5e8264db X-MS-Exchange-CrossTenant-originalarrivaltime: 27 May 2023 07:17:13.3971 (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: kjaipvJGPmlmIYSmH3qf7C7YoS204j0GesaZAP3eXEfzfva7sMupg5tiMXVVFRk3Y2tQNz3TqxO+6hDp/AZXqA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN6PR18MB5442 X-Proofpoint-ORIG-GUID: xt8yBcGR12hup4zHPMKKUh6DQzHnRV88 X-Proofpoint-GUID: xt8yBcGR12hup4zHPMKKUh6DQzHnRV88 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-27_04,2023-05-25_03,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, I've dropped this patch for now. Based on what we conclude on this thread, = will post this as a separate patch as required. Thanks, Anoob > -----Original Message----- > From: Anoob Joseph > Sent: Saturday, May 27, 2023 10:55 AM > To: Stephen Hemminger > Cc: Thomas Monjalon ; Akhil Goyal > ; Jerin Jacob Kollanukkaran ; > Konstantin Ananyev ; Volodymyr Fialko > ; Hemant Agrawal ; > Mattias R=F6nnblom ; Kiran Kumar > Kokkilagadda ; dev@dpdk.org; Olivier Matz > > Subject: RE: [EXT] Re: [PATCH v4 21/22] pdcp: add thread safe processing >=20 > Hi Stephen, >=20 > Please see inline. >=20 > Thanks, > Anoob >=20 > > -----Original Message----- > > From: Stephen Hemminger > > Sent: Saturday, May 27, 2023 3:42 AM > > To: Anoob Joseph > > Cc: Thomas Monjalon ; Akhil Goyal > > ; Jerin Jacob Kollanukkaran ; > > Konstantin Ananyev ; Volodymyr > Fialko > > ; Hemant Agrawal ; > > Mattias R=F6nnblom ; Kiran Kumar > > Kokkilagadda ; dev@dpdk.org; Olivier Matz > > > > Subject: [EXT] Re: [PATCH v4 21/22] pdcp: add thread safe processing > > > > External Email > > > > ---------------------------------------------------------------------- > > On Sat, 27 May 2023 02:32:13 +0530 > > Anoob Joseph wrote: > > > > > +static inline uint32_t > > > +pdcp_atomic_inc(uint32_t *val, const bool mt_safe) { > > > + if (mt_safe) > > > + return __atomic_fetch_add(val, 1, __ATOMIC_RELAXED); > > > + else > > > + return (*val)++; > > > +} > > > > This is a bad pattern. None of the rest of DPDK does this. > > Either be thread safe or not. >=20 > [Anoob] Most protocol implementation would have a similar issue. I've tri= ed > to follow the approach taken in lib IPsec (please check lib/ipsec/ipsec_s= qn.h). > From the discussion we had on v3, I've tried to make it compile time cons= tant > to remove any conditional checks in datapath. >=20 > If you still think, this is an issue, I could drop this patch for now and= re- > introduce it later once we have test applications that can work with traf= fic. > Please share your thoughts.