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 51B3AA0C4B; Thu, 21 Oct 2021 08:36:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3BABC410E2; Thu, 21 Oct 2021 08:36:56 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70054.outbound.protection.outlook.com [40.107.7.54]) by mails.dpdk.org (Postfix) with ESMTP id 9D44140142 for ; Thu, 21 Oct 2021 08:36:55 +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=x17eVf7DckSNTI0b7dRGKnJlU7HxihtHwBpa7CpeaKo=; b=A5XG9jAMMtoLx595zxw8odojl6iZd1xnJUgnwI5kOS4SNbNPcnfHVq67nsy6TZwP1Jvr9cyj2Spp10LzHZoP/E9bxcsNW63aenZBPGNoIk/MX2xipQ6CvQ9WOeGHI8Jb0wO1Hysq9Sa7FgNpPbHxuZ/2eC2T5uU+vqfN2AsWOdg= Received: from AM5PR0402CA0022.eurprd04.prod.outlook.com (2603:10a6:203:90::32) by AM0PR08MB4228.eurprd08.prod.outlook.com (2603:10a6:208:138::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18; Thu, 21 Oct 2021 06:36:21 +0000 Received: from VE1EUR03FT064.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:90:cafe::69) by AM5PR0402CA0022.outlook.office365.com (2603:10a6:203:90::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16 via Frontend Transport; Thu, 21 Oct 2021 06: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=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 VE1EUR03FT064.mail.protection.outlook.com (10.152.19.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18 via Frontend Transport; Thu, 21 Oct 2021 06:36:21 +0000 Received: ("Tessian outbound a8bfe25d7364:v103"); Thu, 21 Oct 2021 06:36:21 +0000 X-CR-MTA-TID: 64aa7808 Received: from c08fe9dd82ee.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 181EB99F-5472-4BDB-80EE-41E3AD005297.1; Thu, 21 Oct 2021 06:36:10 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c08fe9dd82ee.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 21 Oct 2021 06:36:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h73EOumGVhYl4XADOXKNAX5zzZQ+F94j5bt4DrP1usOITw55uAXAzisDVqcFAYAmIICD9Ao2XVjHx4dvIHc3agz6F0sB1ayD3Drhwr9/y4Sohr87u/FvzSd/yJD0xrPXQI5V+relKcpGvLKCJ+lczsqT7qzShyl56p/9RPDwdIesqQK/PG3Dum/PAtwXke6Rnqwm8uYzxVK00Z4erKIUUFjOsdyyzhmix4g11sy1IS12KPoho1wMQ//zcPfF0+poQAw7jTa9OUYqZQ6cbtCyyg4aY4hsIjdHALb0bQD4xv9KIAKQblRSDfu+GNjiaKhUmMGd2RSmy1KZw2FjwJpvIg== 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=x17eVf7DckSNTI0b7dRGKnJlU7HxihtHwBpa7CpeaKo=; b=LTifXSoGaYW6+eM2RoGUUMd1NQx8gOjL7Usl/fbXG0IcKIK3EiuP+8I/b78gfnfQmv6FI7Fc/pDoUFqVTwul90iqONO3czdFV45hTLgZid0tmspRmetqtdDGexVakE6Ss2MYadbncUv0qFJkIKFsN8QfFefgSzf34+RDea+A85KR6xESICHctOZjZvu3OHdXiFwPHeVyujY9A842qnsVCoxS4uG9b050nTlNAY0xHZQ9gyPc0CUOn+YaJ97r5wKqQB/4e980nqMyGIPCiMAbWjJjABX2cdfUCoepFnaw8d99MWeBtUEY2Hicba33Cl05ewLAu4taPuFT7c+imR+Kcg== 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=x17eVf7DckSNTI0b7dRGKnJlU7HxihtHwBpa7CpeaKo=; b=A5XG9jAMMtoLx595zxw8odojl6iZd1xnJUgnwI5kOS4SNbNPcnfHVq67nsy6TZwP1Jvr9cyj2Spp10LzHZoP/E9bxcsNW63aenZBPGNoIk/MX2xipQ6CvQ9WOeGHI8Jb0wO1Hysq9Sa7FgNpPbHxuZ/2eC2T5uU+vqfN2AsWOdg= Received: from AM9PR08MB7292.eurprd08.prod.outlook.com (2603:10a6:20b:437::20) by AM9PR08MB7241.eurprd08.prod.outlook.com (2603:10a6:20b:430::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.15; Thu, 21 Oct 2021 06:35:57 +0000 Received: from AM9PR08MB7292.eurprd08.prod.outlook.com ([fe80::bd9c:5dc0:ca0:cd6a]) by AM9PR08MB7292.eurprd08.prod.outlook.com ([fe80::bd9c:5dc0:ca0:cd6a%3]) with mapi id 15.20.4608.018; Thu, 21 Oct 2021 06:35:57 +0000 From: Joyce Kong To: "thomas@monjalon.net" , "david.marchand@redhat.com" , Honnappa Nagarahalli , Ruifeng Wang , "konstantin.ananyev@intel.com" , "rsanford@akamai.com" , "erik.g.carrillo@intel.com" , "olivier.matz@6wind.com" , "yipeng1.wang@intel.com" , "sameh.gobriel@intel.com" , "bruce.richardson@intel.com" , "vladimir.medvedkin@intel.com" , "anatoly.burakov@intel.com" , "andrew.rybchenko@oktetlabs.ru" , "jerinj@marvell.com" , "declan.doherty@intel.com" , "ciara.power@intel.com" , "xiaoyun.li@intel.com" , "nicolas.chautru@intel.com" , "maryam.tahhan@intel.com" , "reshma.pattan@intel.com" , "cristian.dumitrescu@intel.com" CC: "dev@dpdk.org" , nd Thread-Topic: [dpdk-dev] [PATCH v1 00/12] use compiler atomic builtins for app Thread-Index: AQHXh4f5LA3srMfaFUqyUjtyzhNWg6vde/hQ Date: Thu, 21 Oct 2021 06:35:56 +0000 Message-ID: References: <20210802101847.3462-1-joyce.kong@arm.com> In-Reply-To: <20210802101847.3462-1-joyce.kong@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: D68C04B917921549BCC5665407F6DC24.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 80eb663b-9aa6-4d53-baa3-08d9945d189a x-ms-traffictypediagnostic: AM9PR08MB7241:|AM0PR08MB4228: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:8882;OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: +bdZ18B+yvg7M0pEjp7fnoZtvdpMuzcga1ZKBaYVR1E7f7f6+ZTAoW9qIVtn2rTYj2Vri0sfInMlzVBY03bHl+TybTk6LnUUa8bV1ctcCNfTwwV3GYxxZbHEouNS3tvRpv3dVCxkVOCy5luHA4gb7rAtiIfmT1Zzd2BRW2Ur55sy85CNOJqYLLlQh+VqpgPq/Sfr3ul8AmxLFlsDlNgSTvTuj6331+W6Khsp1gsm3gvFEtKXq5853af7oROLyUMqgv6YaKjIaqLYXmbKJgly4N1vIV6mBC875j3Rh3eTww6OhjHUDZzb4uojP1Rwgk25V+OFZWQkz7Tk5tV/8Xf4Kj0KHVqNqbv4m51n6eIwmnRr3sRuqpET9ZnaD4tLs0qnLqBwwL9s6XxZFpsGF5vOTFter27pRK+/8eH9UWGBNeiLK9awkFI6xl04XjbC9ELHuWbgGyrUkLa96DtrELYYHeqXL6GjYGLog1CXYRXmIA7KniMH62lB8U955MPdjdwAemRnTJxvFRExjSVscLlGy+41y7bm2DLZNHzDBAQNJ5qV61srGfnLnjWNa6KGE+CpzO8IjIotz3hyxxSjLeqd9oIKLp0cIo+4rSyu2YroFL31gIIXGTxQwV/JMzM/ZsAL8e/SVoxoM9w+QY1xVBDH9DbUJZ40NKSuoA0zVPRXneRK9RWC8jWUd8DrS3Koimjgexlbrk5D4vDfqxgPjDe5BgXRaDm95BcR+JD/N40o6EaToHC7rkMzzc3OZBpB9NnO8iS6l3FKZvcU1y7WzPImz1q+nnLvjPVTL/s0T/1zuYAqIP92SUbGbQQp4fesrtXBMclAWASDQtuEWCX0YofCIDsWMcMyd/JIHibK/vaTnYA64/oHAfRN8PU/rDk2RnoM X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM9PR08MB7292.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(66446008)(26005)(921005)(66946007)(52536014)(64756008)(76116006)(5660300002)(33656002)(53546011)(186003)(66476007)(71200400001)(66556008)(38070700005)(110136005)(8676002)(54906003)(4326008)(8936002)(122000001)(316002)(38100700002)(2906002)(86362001)(7416002)(7696005)(6506007)(83380400001)(966005)(508600001)(55016002)(9686003)(21314003); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB7241 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT064.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: be6fcb45-4de8-443e-c298-08d9945d0a09 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l21pjSqyCLixsfcmwyG25cz1OndFaFYikMjFMYxkRZ2nnkCQuLwV0F3Iv+3IZvS3rWyxxq3EmGbKXMe5Ud6B7ZvSqye4oYB62ac0CewdNbhLmoGkoeGoLCeyMl8JLSw8rmfAVQdJmlKdOEcTtrwAtQuzl89Y3mhAbWRGgjFdvY2pQRJLYCytG9HnECrCdmOLfiL0VH4JpH7RVLDPTCGmMcFW6c5NX/1FhO8nEy0LI/Cn12igc6G9r82C503P+1AccFob2KnsCHYaYTkALOhRKNa/QkVETi+HK9irgFBsSjO5EpAV7pc3kGEm0UM/I3acCOVJvjs3SGMe2eYgDdWaGNwp8YH/MXEZdqElhIJD6VNlQdbsnWGWT4eymQAqWXs7dkXgo/xe6aNKeSMVMsEY+ZChsyheAvN0rsrG3G3DFsUISK7b8gA1P5UPO9YrkKXMh1kSDOUo7RxAimzPL0QxUP/TkjBO/xXv4tcrHzttcMPdBnJg20H3BQ0Qiy3PsOfYkNWhH6ruFkR32PbknV5zRVrX+0BMVJV4ANJT9RoC7thlmVXM0s3c2uVd3+WHdOPyIXrixQxvjeiTO5fcUzvWHRlBbL+3AosUHaFn4wPGPzdDD4+jS38EcsjZgrXXGbCNQy4Pz0U2Wrps8RjOF8BD2ZlEDrDT4MxzYX7385mXJPHVhBjiyrnDDppP9a5O5MOM59nQeZcMU45sv9xHLD70ephDKCNU7kiJ9900RKjIWxaZk5zJsfqnSyq2PDXD+PmdfKsJbbnGe8yhyL/8tfa7n0+mC2oWVZTzFMtjBZ5Ei24x/lSh37bAHH5xntHVBdbXf0dLLPRYfqPm5ch+/QdZJ0sEm0Jvo3b5K/mXxo2jYm3YIb/9ghH80NJ88shaNgF+ 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)(46966006)(36840700001)(5660300002)(81166007)(6506007)(26005)(921005)(186003)(110136005)(70206006)(966005)(47076005)(8936002)(316002)(336012)(8676002)(7696005)(70586007)(82310400003)(36860700001)(2906002)(4326008)(54906003)(52536014)(9686003)(86362001)(55016002)(83380400001)(53546011)(33656002)(356005)(508600001)(21314003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2021 06:36:21.4219 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 80eb663b-9aa6-4d53-baa3-08d9945d189a 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: VE1EUR03FT064.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4228 Subject: Re: [dpdk-dev] [PATCH v1 00/12] use compiler atomic builtins for app 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" Hi all, Would you please help review the patch series? Thanks! Best Regards, Joyce > -----Original Message----- > From: dev On Behalf Of Joyce Kong > Sent: Monday, August 2, 2021 6:19 PM > To: thomas@monjalon.net; david.marchand@redhat.com; Honnappa > Nagarahalli ; Ruifeng Wang > ; konstantin.ananyev@intel.com; > rsanford@akamai.com; erik.g.carrillo@intel.com; olivier.matz@6wind.com; > yipeng1.wang@intel.com; sameh.gobriel@intel.com; > bruce.richardson@intel.com; vladimir.medvedkin@intel.com; > anatoly.burakov@intel.com; andrew.rybchenko@oktetlabs.ru; > jerinj@marvell.com; declan.doherty@intel.com; ciara.power@intel.com; > xiaoyun.li@intel.com; nicolas.chautru@intel.com; > maryam.tahhan@intel.com; reshma.pattan@intel.com; > cristian.dumitrescu@intel.com > Cc: dev@dpdk.org; nd > Subject: [dpdk-dev] [PATCH v1 00/12] use compiler atomic builtins for app >=20 > Since atomic operations have been adopted in DPDK now[1], change > rte_atomicNN_xxx APIs to compiler's atomic built-ins in app module[2]. >=20 > [1] https://www.dpdk.org/blog/2021/03/26/dpdk-adopts-the-c11-memory- > model/ > [2] https://doc.dpdk.org/guides/rel_notes/deprecation.html >=20 > Joyce Kong (12): > test/pmd_perf: use compiler atomic builtins for polling sync > test/ring_perf: use compiler atomic builtins for lcores sync > test/timer: use compiler atomic builtins for sync > test/stack_perf: use compiler atomics for lcore sync > test/bpf: use compiler atomics for calculation > test/func_reentrancy: use compiler atomic for data sync > app/eventdev: use compiler atomic builtins for packets sync > app/crypto: use compiler atomic builtins for display sync > app/compress: use compiler atomic builtins for display sync > app/testpmd: use compiler atomic builtins for port sync > app/bbdev: use compiler atomics for thread sync > app: remove unnecessary include of atomic >=20 > app/proc-info/main.c | 1 - > app/test-bbdev/test_bbdev_perf.c | 135 ++++++++---------- > .../comp_perf_test_common.h | 2 +- > .../comp_perf_test_cyclecount.c | 10 +- > .../comp_perf_test_throughput.c | 11 +- > .../comp_perf_test_verify.c | 6 +- > app/test-crypto-perf/cperf_test_latency.c | 6 +- > .../cperf_test_pmd_cyclecount.c | 9 +- > app/test-crypto-perf/cperf_test_throughput.c | 9 +- > app/test-crypto-perf/cperf_test_verify.c | 9 +- > app/test-eventdev/evt_main.c | 1 - > app/test-eventdev/test_order_atq.c | 4 +- > app/test-eventdev/test_order_common.c | 4 +- > app/test-eventdev/test_order_common.h | 8 +- > app/test-eventdev/test_order_queue.c | 4 +- > app/test-pipeline/config.c | 1 - > app/test-pipeline/init.c | 1 - > app/test-pipeline/main.c | 1 - > app/test-pipeline/runtime.c | 1 - > app/test-pmd/cmdline.c | 1 - > app/test-pmd/config.c | 1 - > app/test-pmd/csumonly.c | 1 - > app/test-pmd/flowgen.c | 1 - > app/test-pmd/icmpecho.c | 1 - > app/test-pmd/iofwd.c | 1 - > app/test-pmd/macfwd.c | 1 - > app/test-pmd/macswap.c | 1 - > app/test-pmd/parameters.c | 1 - > app/test-pmd/rxonly.c | 1 - > app/test-pmd/testpmd.c | 75 ++++++---- > app/test-pmd/txonly.c | 1 - > app/test/test_barrier.c | 1 - > app/test/test_bpf.c | 28 ++-- > app/test/test_func_reentrancy.c | 27 ++-- > app/test/test_mbuf.c | 1 - > app/test/test_mp_secondary.c | 1 - > app/test/test_pmd_perf.c | 12 +- > app/test/test_ring.c | 1 - > app/test/test_ring_perf.c | 9 +- > app/test/test_stack_perf.c | 14 +- > app/test/test_timer.c | 28 ++-- > app/test/test_timer_secondary.c | 1 - > 42 files changed, 213 insertions(+), 219 deletions(-) >=20 > -- > 2.17.1