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 2F18CA0C4D for ; Mon, 2 Aug 2021 19:22:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1EA3F41177; Mon, 2 Aug 2021 19:22:14 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140070.outbound.protection.outlook.com [40.107.14.70]) by mails.dpdk.org (Postfix) with ESMTP id 6E46D40140; Mon, 2 Aug 2021 19:22:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rbqNfm11RGRn7at8bUWHBvlAR35pCH9rXo84bxeijNI=; b=G80Gq63YYwSsFpTLrQbn7b5EAyLjNe8stb/l5Qpt7tzBneRUKFUkergZJFLinpkP5nqiom3uiDcW+YP0/s/6yTRHFxEHQUy5wCxUdungCQzdJxHuMaVFQ1hb0hrIDIr9ICtatro5xIoNdA3X74Xjtky+khDcv0lHC6BJC5vWPmI= Received: from DB6P192CA0007.EURP192.PROD.OUTLOOK.COM (2603:10a6:4:b8::17) by AM0PR08MB3009.eurprd08.prod.outlook.com (2603:10a6:208:66::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.26; Mon, 2 Aug 2021 17:22:11 +0000 Received: from DB5EUR03FT019.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:b8:cafe::36) by DB6P192CA0007.outlook.office365.com (2603:10a6:4:b8::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.17 via Frontend Transport; Mon, 2 Aug 2021 17:22:11 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT019.mail.protection.outlook.com (10.152.20.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Mon, 2 Aug 2021 17:22:11 +0000 Received: ("Tessian outbound efa8a7456a86:v101"); Mon, 02 Aug 2021 17:22:11 +0000 X-CR-MTA-TID: 64aa7808 Received: from c2b8305c98a2.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 88EEC198-4349-4EC8-A7C1-D005333619B8.1; Mon, 02 Aug 2021 17:22:05 +0000 Received: from EUR02-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c2b8305c98a2.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 02 Aug 2021 17:22:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZEB4Gje4f4JmXQHaSnCO4deldgWq/ta/wgOX8JGB+zzrRSgtMjuL9wUg5I2p4ZJDvzkZAPzT4HJG37LXNZ6qEn1LlC3saKexbtpz3j/7CkTjC/65UnLoXEfzxcAjJn4w4SrjWpjpbOWx+kRx09pTkVxkT8h7Wvshz6EArX5hTCzx+TVDbnyDDzXX9UYZd8gqp2N6RuGTHDKEntoMSxbOXZURAlBsZkI4EGJLEWXOFmPRVPiandG1H23qmF5zKp0Nsw/EtbgBmJEJcLfyX0cOHVCbbuyXZANQDWokff9fuDLTvf92ee2P12oGoZJyq1HT+TkNHP2RGg3iKmhYR82+nw== 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-SenderADCheck; bh=rbqNfm11RGRn7at8bUWHBvlAR35pCH9rXo84bxeijNI=; b=Wq2qZ1TtnzL8xg+F5Dnm3ytNXPUw5rVhWDeknqq/mNMx2J6lRYQ4DFuC/wuvUYrTCYY4WpuifosZLiqj1ZxvuOBtsX9zQnN82Pjc2JqIkc1KzFUaDm73K0+FBgKem/DHWORdBHXG2lyGzKVXK7NKLrMsWVQ+Ju+00q0b4stMW31N2kgh0kmoAY5C6gg07ajV+Q662+TmcC8alwL3m3XWley60nwWVJ8guSCjQ3PdzZdqbmSBLBXUrRH5/t7EdwxK5KJc9MFGSFcT10iPxvWiiJIJJEZ8wfsRKTOuVSXcGxbnTmwOLKtOO65GsQwBioUDtG3xLotnNVuwW7kGkgYw4A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rbqNfm11RGRn7at8bUWHBvlAR35pCH9rXo84bxeijNI=; b=G80Gq63YYwSsFpTLrQbn7b5EAyLjNe8stb/l5Qpt7tzBneRUKFUkergZJFLinpkP5nqiom3uiDcW+YP0/s/6yTRHFxEHQUy5wCxUdungCQzdJxHuMaVFQ1hb0hrIDIr9ICtatro5xIoNdA3X74Xjtky+khDcv0lHC6BJC5vWPmI= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DB7PR08MB4220.eurprd08.prod.outlook.com (2603:10a6:10:7f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Mon, 2 Aug 2021 17:22:03 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::5584:cefa:9ad:e028]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::5584:cefa:9ad:e028%6]) with mapi id 15.20.4373.026; Mon, 2 Aug 2021 17:22:03 +0000 From: Honnappa Nagarahalli To: "thomas@monjalon.net" , Ruifeng Wang , Joyce Kong , Dharmik Thakkar CC: "stephen@networkplumber.org" , "mdr@ashroe.eu" , "dev@dpdk.org" , nd , "stable@dpdk.org" , nd Thread-Topic: [dpdk-dev] [PATCH v2] doc: update atomic operation deprecation Thread-Index: AQHXf6haIebNqSFxEEq4qurrni9y7atdlXSAgALwNfA= Date: Mon, 2 Aug 2021 17:22:03 +0000 Message-ID: References: <20210712080237.19920-1-joyce.kong@arm.com> <20210723094943.7203-1-joyce.kong@arm.com> <2994487.6sU7YWgjxR@thomas> In-Reply-To: <2994487.6sU7YWgjxR@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: DA3B78A4EBBB994BAA5BFC47ABBC1086.0 x-checkrecipientchecked: true Authentication-Results-Original: monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: b8044f61-2170-4458-5d20-08d955da1020 x-ms-traffictypediagnostic: DB7PR08MB4220:|AM0PR08MB3009: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:4714;OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: c2iODCiRxuk5qP2SrmjHtIJNdeXA61geon2fzjcD1TycMBrUbfrzv7B66lxabr8IAIsFNkZAq9PFyLcMfFX6QAigQRQjKmtjiE2HAE1SEErBZ9wff8k4PkzZTGV/+0nlYgr3DXbYNVYakUW743H8cWuQKH0aa9QrzA4ItlNOwDyJAJ+0UAXLcgGhk8ixCy5TWwfPAmZa70SlFU9dimH3OrH426OGMDdUo51e/HDrQlB/S937OT1t3frLuzErqyRtay+8xcnj87u/aMD3Zb2QnOyP5z+VQdV80wAJJML3V4UlCsvlYDhfIG5l+nMJYPzHfubt2DezrwDJjuIHXr9JP3ZQBXVh7G4T8FP8qYUar493P+SPmhM4iqMdlYa27ToqCkhHxj5V3rreWl3ltcprDOBP+mCwmiwxPcyey0qxwx+o1UNPTEHselmBXmZtAr4YhOIw4MZwCDV14EbuIpvw3hZn4HoRSwp33dbk9551CUvBUAi4LALHoioXpiRSEWyqv+wb01EL5b9lmtnACoXkHAVrDVYGmQm5UVMGl5wKiG9Ow3XFOGb7hYl4CrlAEvGcZa9Mmcb1rf4EMKgwWk2gJ+uAbqQNeMt+Xpn/mu+qp7fQ+4xsUX2BFQCMlpCconoYuO4w0mDejlmvp0bC0CreVzsuLSn89w+IHryzPjH6m4zHxYowbNSXiTCyEY7qllkfmjqoAQwyx1ucFb1+/XAhNM/kveYZF12gjsexiGLCiOqKlpFRl+3oAONP96arGvUPCTwUMxBlERsQzXsAvnedSnybQK5pFuvyhRW2O/p0nL0= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(38070700005)(66446008)(508600001)(66556008)(66476007)(9686003)(76116006)(33656002)(122000001)(55016002)(86362001)(6636002)(66946007)(64756008)(5660300002)(4326008)(71200400001)(52536014)(15650500001)(186003)(2906002)(8676002)(26005)(38100700002)(8936002)(83380400001)(54906003)(110136005)(6506007)(53546011)(7696005)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xTsfoYuwE2oXYSXdYSOJYWCCM+pPeWDFTtTIg8sfO/Ce/m9se2HZUxh2F5x+?= =?us-ascii?Q?8sWUWNOPfBMDeufPIdGlGzyh14qhDQOQFeiU8kRNfPgc500FSN+qGO8uot3y?= =?us-ascii?Q?EAOEsUS9zgJOW4M57bNMT8HAcYzWTMP7yTFiAajcTsBP8sTsGTjjybX4z2B2?= =?us-ascii?Q?LBIzkSxQelQiGIJBrhBRYSfOjd+70TisohQkIACfAaGntg2XVmHzneaLb5H/?= =?us-ascii?Q?hO9U3mGcyxfQI+cxtvEV3g5Rthfz98AB9RYV44HO0Ukn6PdrxUNS+cW1Id7I?= =?us-ascii?Q?8YGCeSOld33cota3AkgiJdtyNM5hHH1PsLgmmHfeMgyXAFMmWmK91ucBlN1G?= =?us-ascii?Q?EzZgR5cyYZHqz2hbOwhbaoAaYqfgZZ+S2/a40gqcNZ5ZzndVTNirZrCn9OTr?= =?us-ascii?Q?kMCPCeMjtRpMXtV0/fYHLbzHEa40/G3H+LDMj/6K59cXZH7tz8DNRR+2zlEy?= =?us-ascii?Q?+B4dqtqdMCeKaZRMmaYGXac2I6+nYUUgOGBW4pbSbZBOlXdFfxNKqNi+6k/L?= =?us-ascii?Q?bqqib3NPHFc3canJjS5gE3cVPb4tlIxR+Glk+ur3mfOGLjpbWKTcC/qR5Pq+?= =?us-ascii?Q?NyDK3SzUFxkWr145pGzCMKLygFGQEaPkEC0HIMb8QMnWEIREQqs07R133oMs?= =?us-ascii?Q?iIm9eUCPTrE/4PJC2QE3MVZi+5wj9FwFfbe0WHpv2b8f28e+OzfHFjkxHogm?= =?us-ascii?Q?ahHwNv3bpXH2IHgQYuBdxGjUTKeqOUtL6UJ7eM8muIrxZSVKwGZVSnsOoKQj?= =?us-ascii?Q?53S8GCTCUx//S3+Lq2kpeIUyR96CYOne05TMqnPfyy8ZWWUHd5gz9fhmkCha?= =?us-ascii?Q?nvASxUHnUjzBiVZVwau/JjNyPY/n+210tToe3gSclKJwQ/xr5ZsHb9+mv8RM?= =?us-ascii?Q?x3NK6kvgZkluLqracfJA5OFDJcgzjJD9iWB+vl9/oTmL0Y8KJ64PoWoxEriz?= =?us-ascii?Q?TuGdDzz0FbzScoQ9+eNLB+g1+a5nm70lIbtEBj2XBKyaNTBI+B+38vnOr9qP?= =?us-ascii?Q?ERhHKWMaYMz0FmSz9GzU/rKC2Kh1NaWOyySx5x0rB9OeZ1kh8uUzonQWVWs1?= =?us-ascii?Q?u9swqfqNr5/99PsCQ5NkejQ035Jk8h/G3n/5JI4yB0U6dM/XKu32g+sudLl8?= =?us-ascii?Q?USOnz7ToGVC55MDrFQkX+R3xQX4LL6EmUraOrt/0wHhXUvz5gi8rfXb7tWcD?= =?us-ascii?Q?AM+riwo2PiLvaE5EG8jh99SScO/I/7OdKHlCUsjQoy7k0d+3+SYuW0rllEvu?= =?us-ascii?Q?JLWpqUQKL4oT3iZ4YV3LsWBnitSwpsmALT1NLnA5YedZn5ZRoeL6AgFo4gyy?= =?us-ascii?Q?oYtVtldoP8GO3MxDv/l/k9on?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB4220 Original-Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT019.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 56731f3e-3eea-4037-cedf-08d955da0b6e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vOblA49+rKoOm/BI3fibxUYENXf80esfrZlAGlAMBP6G/Ih+hyLC0bdeiAhsUSjua5UuIWfagrn2OZLJyXLx+nnQZ+wcNlKoiA3jLtkW2/hd3xLHf/liMkF+3+qTAUCmG+Lnv3LG4Wws5/qA7OgPMIxS5D0mMluG89v9Z+VN+1174oJlbA4W7s1dpsa0MW1Ff9Bl6xyozhiAZdslt9EbUzMxvlE+ZWJdGIZghZ+OyFBV0LW4sAYErWQ5Adu6NhSAUP7TOZNh3RDdxU6YeUo4IxRYntN17JFZdIvPjJRYiCi1TMmAu7VRYSWr6+GxzJyg+63XlfWbICmkPb6D5rEQfFJADK0bibNfwqEppnte/8T6KxvZIuW1WPbQXFwHh3kYn7qCE8hFSRjosrE7YWsv9v7ruvPYqM0w7pmV2i7//fP+E8K2SYKSs77wH/dzNY+A3jEpg/k6TqxzC5GsqFef6HhdLmP2ycGDfolPdA0HAgAsDZ5pRQH4Gve76HVivOTVas7luHLZhJwVLsVudtr8lFFdpUHIVQa2nTJRRdVs8SeAWg2WA7iwPVKFS8w74h+cfQnN0NYY0NGpga5EprIOnAY6JAeKFbF0vwPfUUfilbN65nnd0v17Dk0yGvuWLifnR6+AdD3i0BMCpD/UZAOVEOe48+Pb9PEodTNzWuWrgh4S4SSlEnu6qFp8QY4UIjy0u0rRkUcs4gUFHdOOeY+le3K2xITYR3QPKzpU3Vn6TLHe2WHfTRT+qgVWqGG4Z9AodieUdrZptXTlaQgMnLxagV2hFy8pQoYjgHjffdEWaNk= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(5660300002)(54906003)(36860700001)(110136005)(83380400001)(356005)(82310400003)(8676002)(86362001)(316002)(2906002)(52536014)(47076005)(508600001)(186003)(450100002)(8936002)(7696005)(6636002)(33656002)(26005)(6506007)(336012)(4326008)(81166007)(15650500001)(55016002)(9686003)(70586007)(70206006)(53546011); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2021 17:22:11.1313 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b8044f61-2170-4458-5d20-08d955da1020 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT019.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3009 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] doc: update atomic operation deprecation X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > -----Original Message----- > From: Thomas Monjalon > Sent: Saturday, July 31, 2021 3:27 PM > To: Honnappa Nagarahalli ; Ruifeng Wang > ; Joyce Kong > Cc: stephen@networkplumber.org; mdr@ashroe.eu; dev@dpdk.org; nd > ; stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] doc: update atomic operation deprecati= on >=20 > 23/07/2021 11:49, Joyce Kong: > > Update the incorrect description about atomic operations with provided > > wrappers in deprecation doc[1]. > > > > [1]https://mails.dpdk.org/archives/dev/2021-July/213333.html > > > > Fixes: 7518c5c4ae6a ("doc: announce adoption of C11 atomic operations > > semantics") > > Cc: stable@dpdk.org > > > > Signed-off-by: Joyce Kong > > Reviewed-by: Ruifeng Wang >=20 > Applied, thanks. >=20 > Considering all the questions regarding usage of atomics, I still think w= e need a > documentation about their correct use. I think few things to document are: 1) Use of __atomic_add_fetch vs __atomic_fetch_add 2) Using __ATOMIC_RELAXED for statistics 3) Using rte_atomic_thread_fence API Anything else? >=20