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 0014EA00BE; Tue, 7 Jul 2020 17:57:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D67BC1DE99; Tue, 7 Jul 2020 17:57:04 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50071.outbound.protection.outlook.com [40.107.5.71]) by dpdk.org (Postfix) with ESMTP id 71EC81D664 for ; Tue, 7 Jul 2020 17:57:03 +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=RDCr0lNhq86Uv+OFKwPWGCZI0nbhxf/AvUo4NCzx+Z0=; b=76QIA3ytmsiRUCnRF7WTMxOcDmzOiMO7K1ga4ObQWP8yKJtkTUZChw2ntS3WBwgHZRxZ0IqgfkzCbxNGUFE4cZ0pDII9zSRLmMqyWLQLZwZzwqigt/0tbW2gZnY7UlHnSZeZi5netq/Io1b4g7o/W47wKOBmBoN/9b2aYvR1xAI= Received: from AM5P194CA0012.EURP194.PROD.OUTLOOK.COM (2603:10a6:203:8f::22) by AM4PR0802MB2322.eurprd08.prod.outlook.com (2603:10a6:200:62::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.28; Tue, 7 Jul 2020 15:57:01 +0000 Received: from AM5EUR03FT062.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:8f:cafe::37) by AM5P194CA0012.outlook.office365.com (2603:10a6:203:8f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.22 via Frontend Transport; Tue, 7 Jul 2020 15:57:01 +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 AM5EUR03FT062.mail.protection.outlook.com (10.152.17.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.24 via Frontend Transport; Tue, 7 Jul 2020 15:57:01 +0000 Received: ("Tessian outbound 2dd9eeca983c:v62"); Tue, 07 Jul 2020 15:57:01 +0000 X-CR-MTA-TID: 64aa7808 Received: from 282417addad1.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 66A9ABA8-9E90-4694-A510-E36A11FF930E.1; Tue, 07 Jul 2020 15:56:56 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 282417addad1.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 07 Jul 2020 15:56:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XBOUgqi8lxGtmViCMd8Nb2cLSl6h8FyTgS6GumvLF3x1fxZvBicBzjKHSLZxCz/43gbOiIl8LGEhJgYSZzEU2WaVqy9QWF5QcandGzXuqNOiudqNV5Q2dk3boVPcrol+zazB8uvfcSsIvavf75S0FYQP+SzwNaR3z+WGT9MLTPand1+Xz5oD7N7ZcMdtTmyx6bNZTOSmmV8Fuhe8h7IsJrqj/58A0fAWwC3xOe3gcdYuIqeVIQII30ptKpXwYIvs69jA3cLTVLCtzdEvJn5U1yDjmFG2xRaAniopG5KTiBShYKu/KBx0g/rPLoOBr4bqHCXXsqhYozX2aLPw3PFaSg== 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=RDCr0lNhq86Uv+OFKwPWGCZI0nbhxf/AvUo4NCzx+Z0=; b=PhiLBxFrkB7q/5bMLTyJPMxFB47iaY6wfjjHeGNvN4f01wGioHUlvPA3C2gNuUV7zb/DyqujFCmkz0RDee7Qho3XJAZygsVAb7l54HA8R2zbkFS2NeHtxBomm4mP2cTpsrybpUV7n8wrzpUQ126O4iBhX8BcMdZjXe2zEJd/2MlkYAZUS7rOektyTYyM31vI7PRcL7bYWZWBByO1zgbauAEuD6Q7OsPu/kk61sl5hMC3iUzyUHzOEAQzwVSpnlKxYXWhOHlvhlJo2AqK/hAOce3v9sXdLR9OaXKkFzBKPQWeA54Kmu3jPVjGEu2C4Pn7a6Ry/EjJy6l2VKxCoPgx4w== 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=RDCr0lNhq86Uv+OFKwPWGCZI0nbhxf/AvUo4NCzx+Z0=; b=76QIA3ytmsiRUCnRF7WTMxOcDmzOiMO7K1ga4ObQWP8yKJtkTUZChw2ntS3WBwgHZRxZ0IqgfkzCbxNGUFE4cZ0pDII9zSRLmMqyWLQLZwZzwqigt/0tbW2gZnY7UlHnSZeZi5netq/Io1b4g7o/W47wKOBmBoN/9b2aYvR1xAI= Received: from VE1PR08MB4640.eurprd08.prod.outlook.com (2603:10a6:802:b2::11) by VI1PR08MB4416.eurprd08.prod.outlook.com (2603:10a6:803:ff::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.28; Tue, 7 Jul 2020 15:56:54 +0000 Received: from VE1PR08MB4640.eurprd08.prod.outlook.com ([fe80::c2e:9ccb:a690:6863]) by VE1PR08MB4640.eurprd08.prod.outlook.com ([fe80::c2e:9ccb:a690:6863%6]) with mapi id 15.20.3153.029; Tue, 7 Jul 2020 15:56:54 +0000 From: Phil Yang To: Jerin Jacob CC: "thomas@monjalon.net" , Erik Gabriel Carrillo , dpdk-dev , "jerinj@marvell.com" , Honnappa Nagarahalli , David Christensen , Ruifeng Wang , Dharmik Thakkar , nd , David Marchand , Ray Kinsella , Neil Horman , "dodji@redhat.com" Thread-Topic: [dpdk-dev] [PATCH v3 4/4] eventdev: relax smp barriers with C11 atomics Thread-Index: AQHWVGstz2Ufalxq2EOENxAbsu7jbaj8RTnA Date: Tue, 7 Jul 2020 15:56:53 +0000 Message-ID: References: <1593667604-12029-1-git-send-email-phil.yang@arm.com> <1594120403-17643-1-git-send-email-phil.yang@arm.com> <1594120403-17643-4-git-send-email-phil.yang@arm.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 32e7a13d-08e0-4e35-80d9-17324a59edc9.0 x-checkrecipientchecked: true Authentication-Results-Original: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [203.126.0.111] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: e759c6b9-e161-45c7-a448-08d8228e6304 x-ms-traffictypediagnostic: VI1PR08MB4416:|AM4PR0802MB2322: 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:8273;OLM:8273; x-forefront-prvs: 0457F11EAF X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: SgDZjzrcTFr1kHAdAQSHqathrOkwXE3wF53YHNqSocpC/qgyC8u4cVF2du9EF+akWbtMvioRSJFScsfF4cLd4726o6E6p4Ks8U7uMFwPbp+zv9eAMJ766owi4NtFP1gWEfVKXvxOsy3I8jw6/rdrd2LdtuWCdEurgk4U4mQg9aP9drIYrYaOX2kydHP+yF3q8rEuDRGXEQzxT6rrJb7S5hHKCo0egt4Jviz9FlK3h+N25h3r8AVUl8tCFdbmbfQWGtsX7B13iZqjXKrUpG++M7Ets4HHjuC3AsVOCrwO6iXxZwHEUYhSM65TLS7xV66BGU7KGAsGNcVAvXarJezq7g== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR08MB4640.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(346002)(136003)(366004)(39860400002)(396003)(6916009)(86362001)(33656002)(55016002)(5660300002)(52536014)(9686003)(26005)(6506007)(53546011)(71200400001)(66446008)(2906002)(186003)(316002)(54906003)(7696005)(478600001)(66946007)(66476007)(66556008)(64756008)(76116006)(8936002)(83380400001)(4326008)(8676002)(7416002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: VWBCP3ioM3bmxISWzSV1HcO16WdSr6HZ0vr0nc6f8QKs0uT0TwUc2uQJSYxIK8f4z59f6P4oVnyrwEu/eOwiR4/1dndV9Kd2VHbMm2WcBIuVQiE9p32NxDMhqg8ATt9bLId9Us8E/IF1VFZnrfzvweVuTBldYAimVyD5SZKuLTBnzJTS9Ioy8K866RIU18dJojbxDEbxCFySXpdOtPz3Jqog2SysNgDKzGv4/fMb+1id8MzUnUblCkVnpBKdRZrZr5DOMA9xKP2SLStfmD/2PlQBsDExFubQjYDGMkZ0fJ1cFvYRk101KKAlZbSDQ1P2XoVkQ0DIPA7PFnw8GgN4hjoUU5vgPCX73PIOFDPiEPS8k8j4cEjMcFzVvOVMZ2WsaFpoiJecrmJEiwe/haMw4rxYa8sEsBk+MVWlAaQB/MccuYjrqaQ33L+vYIN63c43U7BpZGX6kEKT2yC6Gt2O4MxOUBbKC900GdII8MbdUV11+0C7hhpxExOGGKlVZvNC Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4416 Original-Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT062.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)(136003)(346002)(39860400002)(396003)(376002)(46966005)(70206006)(4326008)(8676002)(55016002)(9686003)(186003)(6862004)(26005)(86362001)(36906005)(6506007)(53546011)(107886003)(82740400003)(316002)(52536014)(8936002)(54906003)(5660300002)(82310400002)(356005)(33656002)(70586007)(478600001)(2906002)(7696005)(336012)(47076004)(83380400001)(81166007); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 6cdce0f2-9041-41ad-a2ac-08d8228e5e95 X-Forefront-PRVS: 0457F11EAF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e9+THWHHfP3dyv1ZwgceB6WlB0b9xhev9e2HZzMqGqaqIVJx/gA6bML09XRtRdA7zFDE4iIlmowCbnVTSbl1Xmt+52b//IfSENb4ys6D58Mt2w/CzP2a4Kk9Iura+70F0HK0hlz6NUZKvVu4Uge0hvKdjqiSv5UC5U5bnmkNL//E4qbjuEXYXmigs8zI8x1g+66/MOEWb6mOW/cC7XyZvk+uka1e+pmwXhPewAixXnTW2cY4HlE72jVjns2mm7OH3KWKgCacNDSHcLS2IDZQxhcK/xulOVMgMfWQKLnmhnOc7RLz9guZqzGuwEClxDPm3e1BbDYWSgrMT6PqgUWBcvpu13DZPvNUAlwMUtfd3qFS7jRaISCsMys7RkLefHNqkwm0F2TWFcZIFGPnyO6Q0w== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2020 15:57:01.4294 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e759c6b9-e161-45c7-a448-08d8228e6304 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: AM5EUR03FT062.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0802MB2322 Subject: Re: [dpdk-dev] [PATCH v3 4/4] eventdev: relax smp barriers with C11 atomics 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKZXJpbiBKYWNvYiA8amVyaW5q YWNvYmtAZ21haWwuY29tPg0KPiBTZW50OiBUdWVzZGF5LCBKdWx5IDcsIDIwMjAgMTA6MzAgUE0N Cj4gVG86IFBoaWwgWWFuZy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