From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 520C7A0527; Mon, 20 Jul 2020 21:36:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C7B942C6E; Mon, 20 Jul 2020 21:36:24 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60066.outbound.protection.outlook.com [40.107.6.66]) by dpdk.org (Postfix) with ESMTP id 87BBB2B9C; Mon, 20 Jul 2020 21:36:23 +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=NiPTe23v1T/tNYqLGrHKbWPyNTau6RngWaaT5eIDL6M=; b=dLiWhKymBDCXbf5NTARr5wpVkXvS2QuRe+AMHY3CFiFEtrZ1T+hj34/oYW+oM2la4++W6gVGoKXI/2UmFaf47Ilv4c6dwosxKjx4bGxmBaI0BuhszopWgaq2RPUQO4WAeVRgRGG+EC6IZkGKYsBp8lWhjhmidEqXOwgSZs5P3h8= Received: from DB6P18901CA0022.EURP189.PROD.OUTLOOK.COM (2603:10a6:4:16::32) by AM0PR08MB2980.eurprd08.prod.outlook.com (2603:10a6:208:5b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.23; Mon, 20 Jul 2020 19:36:21 +0000 Received: from DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:16:cafe::dd) by DB6P18901CA0022.outlook.office365.com (2603:10a6:4:16::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.17 via Frontend Transport; Mon, 20 Jul 2020 19:36:21 +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=bestguesspass 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 DB5EUR03FT046.mail.protection.outlook.com (10.152.21.230) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.18 via Frontend Transport; Mon, 20 Jul 2020 19:36:21 +0000 Received: ("Tessian outbound 1dc58800d5dd:v62"); Mon, 20 Jul 2020 19:36:20 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: fc14b37dddee4cb7 X-CR-MTA-TID: 64aa7808 Received: from 4521f769499a.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 38095D97-3C70-4FDC-BB49-65FD94AEEC7E.1; Mon, 20 Jul 2020 19:36:15 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4521f769499a.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 20 Jul 2020 19:36:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kl1ISuzImeKvnFgqcMSUAJ/XMcermrv3VRC4mXcWhtP29EwAX3Zb2DtLc53D+kPrp1xdfjJ0buGnUBwo7B9LcsJzGrDtvdSiihmSEBe84tJC1YQ0NnlNEMO+C7C750z9nCoKQw8dVAg3D3acXuGOJurONo+mIk4gL85viaO6X62W/HmCxo3b4jQB1s0X6pbs/PySm5hGMEFZUWxoDm2k+WkFbyrXl32INfs4SdNXencd6QhZekYZgygfDukyPDkF/Viz6kPrQQrsXpE/boIwqEMPNkIY2kZW7NqElafbtuKbe6DvnRtF88NoucnL+keApCdqEUWjKp+KZld0V6PCYQ== 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=NiPTe23v1T/tNYqLGrHKbWPyNTau6RngWaaT5eIDL6M=; b=KriMEE0awmYzYPwPEG7qFawEgqTN6omAbKSGnnwWdvPbb3XS9F3GJgiQ8HUagVXv7XJYrMklSW05Xz9L8H56iBu8twbDiDcbtc9cBozGOBlvvL/AaNU6gNRyCJoh6QMSsMGgasPi5JDF1fzhuGvePKMwhxIdBUce2SqfJFD/VhaZLBD0aUW1ux6UJ7MRikxnG8f/dUD58H9DkEf6Qh0EcCp6vN8/cVllXAthRcKBelh5BAKBtxQuXu5QiO1XCxWKljGFGeReosjhTxhcT8RbV1FMPxdFUAO+IsG4QLIvcyGcdiptYsLghjuagQKwG5mGPR1H63l2LKhfHICkNGGclw== 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=NiPTe23v1T/tNYqLGrHKbWPyNTau6RngWaaT5eIDL6M=; b=dLiWhKymBDCXbf5NTARr5wpVkXvS2QuRe+AMHY3CFiFEtrZ1T+hj34/oYW+oM2la4++W6gVGoKXI/2UmFaf47Ilv4c6dwosxKjx4bGxmBaI0BuhszopWgaq2RPUQO4WAeVRgRGG+EC6IZkGKYsBp8lWhjhmidEqXOwgSZs5P3h8= Received: from DB6PR0802MB2216.eurprd08.prod.outlook.com (2603:10a6:4:85::9) by DBBPR08MB4300.eurprd08.prod.outlook.com (2603:10a6:10:c5::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.24; Mon, 20 Jul 2020 19:36:13 +0000 Received: from DB6PR0802MB2216.eurprd08.prod.outlook.com ([fe80::9d1d:207b:e89d:199d]) by DB6PR0802MB2216.eurprd08.prod.outlook.com ([fe80::9d1d:207b:e89d:199d%10]) with mapi id 15.20.3195.025; Mon, 20 Jul 2020 19:36:13 +0000 From: Honnappa Nagarahalli To: "thomas@monjalon.net" CC: "ferruh.yigit@intel.com" , "david.marchand@redhat.com" , "dev@dpdk.org" , Phil Yang , "techboard@dpdk.org" , nd , Ruifeng Wang , Honnappa Nagarahalli , nd Thread-Topic: Using C11 atomic semantic Thread-Index: AQHWXqs6hE19i/gXsUuIF3yyAWSByakQmaZwgAARk4CAAC7GsA== Date: Mon, 20 Jul 2020 19:36:13 +0000 Message-ID: References: <7124002.r8JxatOC3Q@thomas> <3186466.fdGK1iNSLM@thomas> In-Reply-To: <3186466.fdGK1iNSLM@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 7fda976a-b0b2-40be-920b-1e9c444890fb.0 Authentication-Results-Original: monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=none action=none header.from=arm.com; x-originating-ip: [70.112.90.121] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 785b69df-35de-452c-9e66-08d82ce42e14 x-ms-traffictypediagnostic: DBBPR08MB4300:|AM0PR08MB2980: 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:10000;OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: sNcCOCPSisM89KUf4AVbxvjIKtHv8ER3PJsbjKBfGHdIl2EEGzuEM/3sUSekfr/eaTbwQxnTVM3dMDlEFDvRAdhuTX0Evsx7TOuiBS/W0tjisPxatK+NM2kaW8f5Mwh9s5UXNWrF2hVYb7G3T5k88VmZTQ7wPwZr32sxFrMZMUrbnAdIXS9BsmupbEF5eYIKBAIlOOEj5bad3eP23ictXfjTZVudLS2WpMniISusIsA9pXdVuMrV2u5Wcq27uJopm4v/xiWe7ND799neiipMZlS2UkNObYJ99RMTEMzCtQnsZ8XZD5koUWN9o00wmxkoYveq5nFaHyTtGcOJ1ZHof2ozLh6dtABsU7+yEMF7E9C7rDntP5cD6sQSP9z6SHlqasibKwSY0Z3to0lHrFeuWQ== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0802MB2216.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(39860400002)(396003)(136003)(376002)(346002)(2906002)(6506007)(54906003)(66476007)(478600001)(4326008)(966005)(8936002)(316002)(9686003)(8676002)(66946007)(186003)(64756008)(33656002)(83380400001)(6916009)(76116006)(5660300002)(26005)(55016002)(7696005)(52536014)(66556008)(71200400001)(66446008)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: vhcUBQx+6f7ZsskLr16FE+AC1MprL/GXtre1gyjlSrwa5bX8qEYHKgYzpMGlogRh6s3QA5P26aoTdgcSpB2HyOyzRG8s1LWCWTAYUBol3FoGzB6Hn+5Yan6q7PlUwB22QaswK4913EBnUsoUg1RFNYx1etiw9bcFVYFOS6+5W+3SDEqbOknv1c7doV93uT6bNYNz+ZruaRiLmdj5ieeigwXyrtWzMH3wDd/tduEq9M9vj2AqDW2qm1lD/btV5TJoJw2zpWEnLpnMHm/uw9IBy/pp43ly/QAAMvrUezMnke/mJTtrMVkl1XAa0NCFJui6+U1SDklVu8NRYZVD5YZBIfuuj6c6qO5uPSpsn/Wtq15fmBtg42tzB1thK5l5gfFsfPgxLAx/p1GBpL6Rk3vcWjWOg7f1rSqybEfgq4tXO5J2Mn1Cm0mUe5ioOAl8dHJc9gIESZR8p+jrQV3owZwUUdVehItcu4dxfQFVA32gOnE= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4300 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: DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com 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; SFTY:; SFS:(4636009)(39860400002)(346002)(136003)(376002)(396003)(46966005)(47076004)(54906003)(6862004)(316002)(9686003)(4326008)(186003)(26005)(450100002)(2906002)(70206006)(70586007)(52536014)(336012)(55016002)(6506007)(8676002)(83380400001)(356005)(33656002)(966005)(5660300002)(82310400002)(81166007)(478600001)(86362001)(7696005)(82740400003)(8936002)(2690400003); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 7466c0cc-668e-4a54-399d-08d82ce42979 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vwWS0xguJVmdwB82enTE3678q5bQvw4ilsZx45rlaDjFAmPUjZ5qbVI/5YOEazeM4NuFW+xE0Rx9UZbDVCwHRYRF+Vl9Z9bqiy6IDFKSkkS947q64suvCmuhruVmZQRzP7b9JANz7WOP/AJvHrGwAl0moZZy6OZo4erCJAyLWQBDdZgyzgzqxNC953oOVH4ONXb2RF4oths4xSjAUdddi4c1+0CGb8PwEIrjottuGNlrOB7ENYCIr/sq9TwcgtFcaWM7SjHcSJKOeW3FWRZ0wZDSlVUkm9K0UV3QSK+icRhscijbVOiDGh6PB+YmJS83WsPJ7AqCnA204qQNG5r/QAfFCk0mGoTgdvfKh2WvPUK+yPvkhWYU8G6XoxM01fHVKeKD+oMZG5TAJLRl8l/RSewQbcrtvGmj+Zv8WwmVrCUFa1QKN+AcZZS7S6YwcWCx0z1BIVKNSkwKMc5QovXOMZHjA4fVcSIWsMoYlTVVDGB7WRNtVhmwkfCz53FZ/btN X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2020 19:36:21.0104 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 785b69df-35de-452c-9e66-08d82ce42e14 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: DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB2980 Subject: Re: [dpdk-dev] Using C11 atomic semantic X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >=20 > 20/07/2020 17:44, Honnappa Nagarahalli: > > From: Thomas Monjalon > > > > > > In the techboard of April 22, it has been decided to block patches > > > using rte_atomicNN_xx and rte_smp_*mb APIs, starting DPDK 20.08. > > > Meeting minutes: > > > http://mails.dpdk.org/archives/dev/2020-April/165143.html > > > Deprecation notice: > > > http://doc.dpdk.org/guides/rel_notes/deprecation.html > > > > > > Some doc has been submitted to help understanding how to manage > atomics: > > > http://doc > .dpdk.org/guides/prog_guide/writing_efficient_code.html#locks-and- > > > atomic-operations > > > > > > Unfortunately the tool to check new code was merged last week: > > > http://git.dpdk.org/dpdk/commit/?id=3Df1602b4a86 > > > > > > As a consequence, I propose to apply the "reject rule" starting DPDK = 20.11. > > > > As far as I know no patch with rte_atomic has gone in 20.08 so far. Are= there > any patches in RC2/RC3 that need rte_atomic APIs? >=20 > Yes we have the case of an additional call added in 20.08-rc2 in mlx5 (no= t yet > converted to C11 atomics). There is one patch that Phil had put together [1] for mlx5. Since this is a unconverted module, suggest allowing for 20.08 instead of r= emoving the 'reject rule' patch. [1] https://patches.dpdk.org/patch/72007/ >=20 > > > Can we make this rule better advertised with an announce message? > > > > Do you mean an email on dpdk-announce mailing list? >=20 > Yes >=20 > > > Are the current technical explanations enough? > > > > The documentation patch you referenced above covers most common cases > people will encounter. Even the rte_ring/rte_stack algorithms work on the > same principles. > > > > > If not, it would be wonderful to have a blog post explaining the > > > details, as part of an announce. > > > > This is in the works. The plan is to send it to you soon and get it out= along > with the release. >=20 > Great >=20