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 30811A0A0C; Tue, 29 Jun 2021 19:05:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E49B1411C0; Tue, 29 Jun 2021 19:05:12 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2051.outbound.protection.outlook.com [40.107.21.51]) by mails.dpdk.org (Postfix) with ESMTP id 97F0C40E01; Tue, 29 Jun 2021 19:05:11 +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=+5qiqC6LrdqLZE5DLYpigQFTf3k3ma9jEdyyQso+eHA=; b=7lAtdARcuOfxjvh2LHNAHAL7rVl+KV6T1mYHz4uHShXo/myG4oaADxmCHILyOCa2ndhS+TdFycP0BXkGzLZhlBUi1mOxjyTHtgG38OzQU8oGBc194am9HlEXEIG5wDVJPIGosj7+bA4rC2wjcfIDmK+cfq95NwIE2MoMkYVtcnA= Received: from AS8P189CA0028.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:31f::13) by PAXPR08MB6591.eurprd08.prod.outlook.com (2603:10a6:102:150::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.20; Tue, 29 Jun 2021 17:05:10 +0000 Received: from VE1EUR03FT048.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:31f:cafe::98) by AS8P189CA0028.outlook.office365.com (2603:10a6:20b:31f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.21 via Frontend Transport; Tue, 29 Jun 2021 17:05:09 +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 VE1EUR03FT048.mail.protection.outlook.com (10.152.19.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18 via Frontend Transport; Tue, 29 Jun 2021 17:05:09 +0000 Received: ("Tessian outbound 615e3db0526a:v97"); Tue, 29 Jun 2021 17:05:08 +0000 X-CR-MTA-TID: 64aa7808 Received: from c6968cf540c7.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CE82B248-8882-4EA4-8031-CDEF8522A9B7.1; Tue, 29 Jun 2021 17:04:58 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c6968cf540c7.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 29 Jun 2021 17:04:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YBSsEhjGW+p3JM9XuNezcLXglG8ubFZ8BrhDqyuJ5zykUtvrWTT7osZO9mRyasrds4UbADpYYGDmT5yaWjykfTo6gx1HAK9DEUNRfpmKdMpCsPtyL7io/zxAy331W4fNpfmHfeL79R64rxGFFM8YVRkqOwnV0lS7r/oOIzI05YW8x+Dwkpsi4WvPQwHDVi4wLGnirbg2bNWsv9CUqX73a/LREtrXWZdTMqhAT430LPU5LCELRWPb4aQWHI7kKmux++ilgLPnwhtw0wZuWd/DYndxJskd2MTKyUFk5ucRFJgqhVUxqWRb3mJdaRwxvSlCHDqkTqxnBU4HpJv4+58Ohw== 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=+5qiqC6LrdqLZE5DLYpigQFTf3k3ma9jEdyyQso+eHA=; b=O4eH1QxDXQ4ufEtBPMZRXWamxtQnFCGCaeFTmBpELGLLZmI+A587fQ3+BEBuCag8XUxTDr7xvbc9dg9n4O0psF6GqEX2Jhnn5VKx00VmXAtSNE7SKVGIEnOseuNO0d7uKekvzT6k4ygqsRSrdhKP5aUejBA0DMCretFUV0Up0DqDZ8fyequtg5+/fUF40h9zJaNLkyuF12Q2HKilWgOpQm8PtDSrFIrmvZDSEFxbfCtrRJ+PwGfN8eyw/QCiD0rxCpt5WFbKiMsMUFGcPGGSaTponhwRhBm9eZpSnFX8Znvu6ZI+Y6f0PMRmQN00uKpsil0UXR0FbaZSJM5qAYIGUQ== 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=+5qiqC6LrdqLZE5DLYpigQFTf3k3ma9jEdyyQso+eHA=; b=7lAtdARcuOfxjvh2LHNAHAL7rVl+KV6T1mYHz4uHShXo/myG4oaADxmCHILyOCa2ndhS+TdFycP0BXkGzLZhlBUi1mOxjyTHtgG38OzQU8oGBc194am9HlEXEIG5wDVJPIGosj7+bA4rC2wjcfIDmK+cfq95NwIE2MoMkYVtcnA= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DBBPR08MB6235.eurprd08.prod.outlook.com (2603:10a6:10:201::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18; Tue, 29 Jun 2021 17:04:55 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::f15f:821c:74c5:2482]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::f15f:821c:74c5:2482%2]) with mapi id 15.20.4264.026; Tue, 29 Jun 2021 17:04:55 +0000 From: Honnappa Nagarahalli To: "thomas@monjalon.net" , Tyler Retzlaff CC: Joyce Kong , "dev@dpdk.org" , "david.marchand@redhat.com" , "stephen@networkplumber.org" , "olivier.matz@6wind.com" , "andrew.rybchenko@oktetlabs.ru" , "harry.van.haaren@intel.com" , Ruifeng Wang , "dev@dpdk.org" , nd , "techboard@dpdk.org" , nd , nd Thread-Topic: [dpdk-dev] [PATCH v2 0/8] use GCC's C11 atomic builtins for test Thread-Index: AQHXYlsX55q9L1IEsEyhls7s9yhriasYVEyAgACD8ECACJcSgIAJ3QFw Date: Tue, 29 Jun 2021 17:04:55 +0000 Message-ID: References: <20210604094624.31308-1-joyce.kong@arm.com> <20210617152155.GD29777@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <7557795.l8Y19qOmnl@thomas> In-Reply-To: <7557795.l8Y19qOmnl@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: A7DA6F113327BC44AC69AD0DBF6CD11C.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-originating-ip: [70.113.13.105] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: fd6b8aff-b5f8-412a-e4ba-08d93b200d1b x-ms-traffictypediagnostic: DBBPR08MB6235:|PAXPR08MB6591: 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:8882;OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 2tzVOt0M7pJZxP/jkVXcj7ePRZk4hRx9BnnUmVkNAI2vgETbNQQj7/Zi54OB86sP0+3/WiyUpfxHrJ+yU5Km7Yn5bbyuWotn8c2sSEPodJUDBmZSAUEclsuMDQRq1RxHUsV5oZ/Fb8QkBhsmBzCfz0lUnr6CvbtZTXpwYaHKlSEV7s+cKDbfVVajXLFNNFcGmCCedKn3a6tga9lV/jHfPdHFQBc9RESPLEytoSY1wMrsKGLtGP3YQaSXWIEUjHi2wm81evNtpJgZnW6P0IHU19dSMxWiHZa3YWvy9ldwrucSEbzYRvucHC/dBkLkWXxIv8zIobyKxLv1AziJ/omyKKJSPEfet8xGnux5B3DLr1X48dRGBNgZVKsrYxGJz6pWEoTp2zGNZJizzkcvzxtOBRdAncoF93RhZCfjVC8k8POlZWQFsDyiHenyUuxCBWB0n4EpezO4FIDBeVehWgJBiqJhMQm7jJt9/2D+s7qkyCieblUvKM18LUa+6PZ1cDgfv/3UAlbR1/B9LRmOmFyoeEEfFKElDepxoIcJU0D0CxpcNXb4/pHnUqcTRRpvgSm7Tt0LIYZ0IHKtXlNGrlR1lIRJFXVFMsVPvuB8LOqFwoS/dDostiTk9JCr5jh+laCI52sByY2P57t1rOoq563XK1wYsTK/SG/iSyOihFsvc9GDQTKFBkIbCniLPvSqCd4gF/vq2BGPoVPnVZGd7gmzwe1nKTSwAVV0K55UvRiSww9TnJkZozr8gLiSNUg+QoIqKNTJzudLjfE0Lk6Pgp3tQgvfsF4s/y1URKeBCCmm3DTWdeR15fnkzIMpAyk80nVdsvdhwr8J91Jb4EXc/d0hnKyd+l+ovmphLo6FLw/sILo= 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)(376002)(346002)(39860400002)(136003)(396003)(83380400001)(5660300002)(110136005)(55016002)(76116006)(9686003)(8676002)(66946007)(2906002)(478600001)(66476007)(66556008)(8936002)(7696005)(54906003)(4326008)(33656002)(64756008)(66446008)(26005)(186003)(966005)(6506007)(52536014)(122000001)(71200400001)(86362001)(316002)(38100700002)(21314003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?TscTF9BNqgnqqId351Ghjj2WSKFCJj+rKsRXYgy2F+dK0dx+AywwZrCRpU39?= =?us-ascii?Q?AR+6GUTayLmpC4gtmzfT8qm1jPMRfm5lQ5KL7tvwh8SxiP4wCPdoullSdB5h?= =?us-ascii?Q?90yPN7JE46MnZ/GIzkDD2FI6Bf2xfFkfOaZ2eD8u3/dHUOu8yLc4QAB+WXGs?= =?us-ascii?Q?qkWofKmDuu3DXlYgKEMARuQnZXwIRQEhBW9IUv48VbQhXWedKEqbCMwDcokR?= =?us-ascii?Q?HsqM/spjRNrRGz0gpTVyXYHBJrbpCdd3yAqE2NELgQA/fVY/qWbBD1ymhU2r?= =?us-ascii?Q?S2+TgwButdaexF20GpEtFWonkItfu5dDYp+QHUL+cCp0UWwLNHtzFIO0rIye?= =?us-ascii?Q?kxl1SeNKzNWSS37Rgaoo0v+GzimrbQHGGdLmRLklbrywPJcZcjZUFiiXqDMl?= =?us-ascii?Q?/liVS2QLsJzHl0tbgjwa3/VmGVF9pwvAOt4VUB3VG0ibWBF2AmLj/JttQ7/+?= =?us-ascii?Q?9eDCrI038h09r8E0q8rKwFKUZjmeua21oYVMGQ8Joh9M0xH/e2XF5vqW16kk?= =?us-ascii?Q?mX9MtvYV4l4uVXD+TSHoA486qYDXh/NxqATaSP35mZSbu1O8VwYE3fx2fgN5?= =?us-ascii?Q?BH9GFt+yEfA90xFl2AA5Ys70UmK3HkGdicFJAgzBMYObnnDw09Grg+iQDCVP?= =?us-ascii?Q?ZL+IbhuCOMUPcYccZ6HlU3X5pjVuzwAFod+eHY1Q/3Nmj8taELbwZjeIW+jp?= =?us-ascii?Q?//NzqnmWPxs4wVzQEkUImbqyNwT0FV2cNxnmrKgZolkBrALsBh70VRT0gVov?= =?us-ascii?Q?3X+R0oq+CYpuQpi81QhPVHg9kq5VDvfGvYsoRVbaaId/aCLtGfVweueedbO0?= =?us-ascii?Q?crgoE+z8ZH+r1xAFozTaOLKDb59SvDRYdunfC8tXXVlBrfjZ1Z9Pyr9gE8vO?= =?us-ascii?Q?nX7+aJCUftRd+H7Yp2JhbjVCuW1VtaleRBNydz1hAYTU701NND7VfD/619Of?= =?us-ascii?Q?IiJDSljEGgvIM+zHA5aq5cdxGOZcLqgtPaCz2pQeko4tNnBvN3W7EkOKhAhK?= =?us-ascii?Q?DozMRacJFnKIJ60hCe58pZMYJENB0UD71LYMgPpcaW5HWc1SsSTMb/bjMha1?= =?us-ascii?Q?EidimMDiA9MDe7XmhgNB+5Ca5rCMHU6EtoIdtF4JqFuPzV10+lRr/gMkFrqs?= =?us-ascii?Q?h2NNdpbQ7QJeRCfhty0g/NgRwaCWeGUcO5Fz0V9GiKjqfQTGXVNK/VVoxDiq?= =?us-ascii?Q?vv81BSB9fpFeJvQjlWxl0LKRWKC42ubFLqBzkECtQE1OFT4trCMbI8ce4hqn?= =?us-ascii?Q?AT51mutXvPrmJxZpWfBjVLHSoMYV0Jn6IZt8h/182Wc/ul2sr9a1b/F9K7In?= =?us-ascii?Q?Qv3Npv+oV/sjwGocZD6FWqg8?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6235 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: VE1EUR03FT048.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: c006dce4-5ce4-4730-6f87-08d93b2004ce X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vbf3SctE7rhG8dXQzNr2CH/Tb40NqkXQ2Zpn6kOfqiBBi2J6y0ayOyNTKzcCJGmqdqDu56SZ21eSRomE5hw79B2qIxg9WGmJ7r4qlTIfKXWfuMlt4KjSCz276+9xjL+u3XQ/hktRcOHfvz3guDqyE4lUi/LLR0grkD0JUXGMglJEWRcU3ayaKKMV9FlCT4qKRxbERBt4PdxKy5LOeEQJD26wGIOh2eseQRh15eHwN03gAPvp5Ohkwabat9a3ppPJUNxhPq4AhDTQXDbI21ZKtkAPuVV2Z0j9bEowNmfA5pyYN2zz6+zGsKC1FP2wPTOyK9PyUlFKdMmc9f4op43f4LmkGNIFR+t0BZTtwdurZFjF+6sYOC7OCZ+ZYW5wAXBdL5VZM20ttrioRK/UMlY/Cwaou6k/vH8jzzkrEUt3juvTNJUXPZD8clXs358DJxLhiDbNPuiAwelwwZeKXN6gXc8ywnxLTdUvycBDdQE/tBGH/SeuIHu1ehv/fNRD/LKu0L8vq8II6NTDWl+v47JsFUbHVy3A66Jxi7bQbTaFq266b+82UV6KGwCPENXnAlx52PD/T4a84Sq7tlSSzY/x2zsg7d67Cz+kpdPKibp9RWlBFyAES7TmvA8wcJvxW44pScviNBTgdTldBr53zoWqkrahBmLoEiNn5oD4vh0NwfGcVjr8BR+gjeAQ2s55eheqdVZ8zGg03LXCSb51Gvx7T9zhFz6x44QgQ4aTbxCbYphraoi/BbyQZl36MQ8JQ1y1f6hXQUK4vT5jCOBwwz0cuJYgYL1prMzUX2dcCp13I0vVySDPHFaPwHophr6wozewRNGCEyXtgUCc9bLdSPuBwtIZPTbhptxiJsgzjHSxeMfAmqr+2fEOu2TEN+49uH78 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)(396003)(376002)(136003)(39860400002)(346002)(46966006)(36840700001)(316002)(5660300002)(478600001)(7696005)(966005)(4326008)(26005)(55016002)(82310400003)(336012)(81166007)(9686003)(52536014)(186003)(33656002)(8936002)(450100002)(6506007)(356005)(83380400001)(86362001)(70206006)(47076005)(110136005)(54906003)(2906002)(36860700001)(82740400003)(70586007)(8676002)(21314003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2021 17:05:09.2940 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fd6b8aff-b5f8-412a-e4ba-08d93b200d1b 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: VE1EUR03FT048.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6591 Subject: Re: [dpdk-dev] [PATCH v2 0/8] use GCC's C11 atomic builtins for test 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 Sender: "dev" >=20 > 18/06/2021 01:26, Honnappa Nagarahalli: > > > On Tue, Jun 15, 2021 at 09:54:51PM -0500, Joyce Kong wrote: > > > > Since C11 memory model is adopted in DPDK now[1], use GCC's atomic > > > > builtins in test cases. > > > > > > as previously discussed these atomics are not "C11" they are direct > > > use of gcc builtins. please don't incorporate C11 into the title of > > > the patches or commit messages since it isn't. > > > > GCC supports 2 types of built-in atomics, __atomic_xxx[1] and > > __sync_xxx [2]. > > We need a way to distinguish between them. > > We are using "C11" as [1] says they match C++11 memory model. >=20 > I agree it would be more correct to mention "compiler builtin" > as it is not strictly the C11 API. The log already mentions "GCC's C11 atomic builtins". I think that is corre= ct enough and represents the change correctly. >=20 > > [1] https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html > > [2] https://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Atomic-Builtins.html > > > > > > > > please do not integrate a patch that directly uses gcc builtins and > > > extensions please maintain abstractions under the rte_ namespace. > >