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 EE95F42BB1; Sat, 27 May 2023 07:24:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F65D40DFB; Sat, 27 May 2023 07:24:46 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 3E03540A7A for ; Sat, 27 May 2023 07:24:45 +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 34R4K1EY015444; Fri, 26 May 2023 22:24:44 -0700 Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2044.outbound.protection.outlook.com [104.47.74.44]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3quaj6r54w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 22:24:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AKevE+BO1CpND9FKMjWdK10H9feJiQpad5C985oNPNx8mRW8j+67GrNHKjW8Fz5oy0fyaosbNrHlzaBQpcjRxATmY9UKlojcCHB5GPkYKzhEzZl+13M3yldB/ENGcaZsWG9D8UPPXc8xjUflFeKXeK3YFsVoDdUuxS9HhKWvRvZwJ2ICQzbX2oP5CrJVb/CpuvSzGmGWuxVhTVNPuTaaimcmXyb6ZanOpY/OQFrF33DTmBmGcuCRbn+0iEOr/I/kyTnChJW8bEvO7yi5Nsfly4GhlClnARNgA6ASEwIs1maBAJDjdxm0C4EFB1s1GNCjjR/MrpW5bvg478+C3iuvlQ== 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=TD+WjrQQgKQlqsrJFXBPU/118pbi/UXZkS9tdL26Png=; b=l2kQwt0MHuvmxPRV7C1bT0XNqLeiVV6k/y2hygmclTqqAaKvSQh8W9FJYBWLOZ43YWooSB5jwhBX0UtGIDXDCSgp8NmrL9BkhOQlEBs2xIUd+ZeGJjHQQLjuN9fbZColSEfUiYEoLwN+dQb//QJUkP8c5pxPIVcP4IrnrVNCMRf/MSTAAVfWEXly3s5Dz9vieOt5EvTqZb0MMbSrkDwCOJ5MyitoieZzSbwOxXTvFsMPHccnreeUoXoNHr+79E4Vo2W0R9NiJCTmtCB3QQfWR0uEtQycUQ1lopEmrAHLtVYT5WQZQeQdCAcReaTkKMN4ggha3I5cbZvSD0/cOG+xYQ== 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=TD+WjrQQgKQlqsrJFXBPU/118pbi/UXZkS9tdL26Png=; b=tFcK0Nr+ofEFh8ePsVPUtPX5aFWJGm1gkqhS9p9kRLmC5OkzPOX+zcvBSOjqU4ajryA42uU7alpHJGrAJB6sTX+Ftz0o4OYMw+3cULfV/1NUpW0uCjPygpoeL5hmr5xLhMWYeqeunl4GMR5+ugqvWn4SIqRJUDUlVmZRg0Qchkg= Received: from PH0PR18MB4672.namprd18.prod.outlook.com (2603:10b6:510:c9::16) by BY5PR18MB3761.namprd18.prod.outlook.com (2603:10b6:a03:24d::17) 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 05:24:39 +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 05:24:38 +0000 From: Anoob Joseph To: 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/xC9vBUOolT5cyqR8ea9tlgmw Date: Sat, 27 May 2023 05:24:38 +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: <20230526151130.59d86649@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?YmEyOWUzNWJcbXNnc1xtc2ctYzM5Y2RlYmUtZmM0ZS0xMWVkLTljNTQtNG?= =?iso-8859-1?Q?MwMzRmNWY5YjRmXGFtZS10ZXN0XGMzOWNkZWMwLWZjNGUtMTFlZC05YzU0?= =?iso-8859-1?Q?LTRjMDM0ZjVmOWI0ZmJvZHkudHh0IiB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=?iso-8859-1?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBRUFBQUFBQUFBQU?= =?iso-8859-1?Q?FnQUFBQUFBIi8+PC9tZXRhPg=3D=3D?= x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB4672:EE_|BY5PR18MB3761:EE_ x-ms-office365-filtering-correlation-id: 68851a70-d81d-4a4f-c4eb-08db5e72aa99 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Nbkp+TvcydzKsWbzFbyAIF2UKcXE5jAhiX0mYmTevt7ohS+crnAMcE331wwATxk6jUkVMuswtbRGTSgRP4dKcFMi9wXWjby6WHMX35hbd61zNmqKoQ+j2lFgQ6yeKjwu21NMyK6kmz7jb1BSmiZZoOh3yEQCTQu0zFX/hEyl0sFm0vdF9jdSaW3LovGxzSnY/p2bQAldanwV+wstZsBuAr0pnyA3LjZVgVcu4xug/eD15AdaIpfdfokAbQHuZ9p8xa5u4CgodNtFf1j2qdpbiXn+mxwtu6wd9yOyulNFHvTjKezJDy9hALoWuxKpmM3+AbHfU/qfQzWLJJWP7NsADrs6tPPdzn1LwuFZ4akFFk0d0OmQuNZ1vKmeFw0VO4eT/llU+faWdshfcAbjBqOQrumw/4xRsbx71gAHMkLr3KfXLBcNGO39w69nRvTjSRF8zAJTA5aDSnF8gYbzFkh2aICQwZLDHooJec2KVJfgZ+SWFh/kXjwyOUINcSIczkTxkU60TepLsuqAEYjy3O4btqum3TWkoCQhozEeQYMyhb0TKIyfBfFnzkdIT7G0CZmzLqeiK0dxuuopZwaRU00SZBsgeZLRsEoPR+fR5UVdQVcw6p0hiUZr3Jl4qOsftLwu 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)(396003)(376002)(346002)(39850400004)(136003)(366004)(451199021)(71200400001)(478600001)(54906003)(8676002)(8936002)(52536014)(5660300002)(38070700005)(2906002)(86362001)(33656002)(4326008)(6916009)(64756008)(66446008)(66476007)(66556008)(76116006)(66946007)(316002)(122000001)(55016003)(38100700002)(41300700001)(186003)(53546011)(9686003)(6506007)(26005)(66574015)(83380400001)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?RD7JFX+PB3n6Uj8RGNvx4BzSeeukYSbmjW4vGmL94dXeMEIgU539+dw+wV?= =?iso-8859-1?Q?P1N75sdtaKmWndxO0QizSeWP7IhSvPLK61PvfLw3jv4e1c4YbbxvvPHOu/?= =?iso-8859-1?Q?McF1Z2I3OGzE2MdAkEmjbTsW1eUtQIKCh+xEQkFEIYwMy3qdyiWt3Bw15V?= =?iso-8859-1?Q?FDcIcF38Du9en6dzoTqaVr33vGmbzMvUcymjwY407JuNOkWzJFXw9/Ghmc?= =?iso-8859-1?Q?O5Sp/zikIeLdYmH53d0Xv2tC/mmMbyvVzDY/QVUu+/yVLVsCvlmfp6Eulc?= =?iso-8859-1?Q?MM03bMKhnlfkO1TNkocIGiqjh9mpUirt/AvUVKCsxLoasEYHW7VZDl67ep?= =?iso-8859-1?Q?q37I+JDm2SZnYcSggQi3ZrN+0dY87EH+SP9Q5em0vqocjEEp6Qd93RV0Sj?= =?iso-8859-1?Q?jLc/XlfyF3BB/rJTVPyyEf1op/bYQtBSn5Hyk564E8vKhCqMq1GfU9xUBr?= =?iso-8859-1?Q?r/4t3heJ3KX4yM1I/TRMuX/f0hJPTyi8i257lZ4tiTyogWhxP+LjwChX+c?= =?iso-8859-1?Q?AZS0hOarVk/b0kalpsEkw6cu36/reAtw01JqrNYwmdawb/CcnmEEDm4q/F?= =?iso-8859-1?Q?Ac8x8vvzSxDO62nhVXzo+wVkyjhBIDxNK2fxrW6c+3qqtSzVkz44LM5YzA?= =?iso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jmNDjguzr8WUbJDX6A0wx514SulXSjuU?= =?iso-8859-1?Q?+GdKIoIiLaw48lVA48UpwwTRgVf4myydO3s0Ugree3f718IzcuNF653/K8?= =?iso-8859-1?Q?rGpmQj15ywJB0=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: 68851a70-d81d-4a4f-c4eb-08db5e72aa99 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 May 2023 05:24:38.4214 (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: sxzafZt0BagOzG7/kGoj/ukWxbYAVQMDXGWyGv91gUDQvyTnn/GzwkT2/Oo/7D34PWb/VqyzwjJtMDs5xBUWgQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR18MB3761 X-Proofpoint-GUID: _BG-FWbO7zfWZNVUBxRz2qgg073yuzHZ X-Proofpoint-ORIG-GUID: _BG-FWbO7zfWZNVUBxRz2qgg073yuzHZ 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_02,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, Please see inline. Thanks, Anoob > -----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 >=20 > External Email >=20 > ---------------------------------------------------------------------- > On Sat, 27 May 2023 02:32:13 +0530 > Anoob Joseph wrote: >=20 > > +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)++; > > +} >=20 > This is a bad pattern. None of the rest of DPDK does this. > Either be thread safe or not. [Anoob] Most protocol implementation would have a similar issue. I've tried= to follow the approach taken in lib IPsec (please check lib/ipsec/ipsec_sq= n.h). From the discussion we had on v3, I've tried to make it compile time = constant to remove any conditional checks in datapath. If you still think, this is an issue, I could drop this patch for now and r= e-introduce it later once we have test applications that can work with traf= fic. Please share your thoughts.