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 BD867A0528; Fri, 17 Jul 2020 06:41:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 199142C4F; Fri, 17 Jul 2020 06:41:35 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70051.outbound.protection.outlook.com [40.107.7.51]) by dpdk.org (Postfix) with ESMTP id 8C2422C4F for ; Fri, 17 Jul 2020 06:41:33 +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=FnWg0iqDGw4bt77ZKRJrwJFGFFrsiuVV/qe6+MuLiWY=; b=Tdg5HCfynwoHGVdqc0T1Z5tCnIbh+fqneD5uNdDGaeJQlg6veS0oBUxuriGdKUwh2v9WWKmcMjIJLfsyBohnFQzSfZItnWvCb2xT2dGmRod0Fg7RlAw4bn4X3b5lfMXFFiybrtldZfBK2TRuZeFP8g/LgEoBOOddZI1G0IrhYKs= Received: from DB6PR0801CA0043.eurprd08.prod.outlook.com (2603:10a6:4:2b::11) by DBBPR08MB4459.eurprd08.prod.outlook.com (2603:10a6:10:ce::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.17; Fri, 17 Jul 2020 04:41:31 +0000 Received: from DB5EUR03FT008.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:2b:cafe::f1) by DB6PR0801CA0043.outlook.office365.com (2603:10a6:4:2b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.17 via Frontend Transport; Fri, 17 Jul 2020 04:41:31 +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 DB5EUR03FT008.mail.protection.outlook.com (10.152.20.98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.18 via Frontend Transport; Fri, 17 Jul 2020 04:41:31 +0000 Received: ("Tessian outbound c4059ed8d7bf:v62"); Fri, 17 Jul 2020 04:41:31 +0000 X-CR-MTA-TID: 64aa7808 Received: from 304217173a03.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A16B38E4-096F-4F0F-909C-382D7137DAC2.1; Fri, 17 Jul 2020 04:41:26 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 304217173a03.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 17 Jul 2020 04:41:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lBRPMc4hldGF5U+URtPyTEGVRoa0MSZ1ShbljfODqiiZfMrGHs+MHtZkF2M/soGn6PLSYCsBb4JgMagoTDWeSqwDt2VgU5hAfSlPDH9BqlnhHt6haMbQdjCdr6GGHEN/u+E09KU1qqRtXY4NjIyX9M0z/nG7EfUHy235KQdbxC2Cr9FcUyJ95Xx0lwDn8JL3pE14xRp30cRyrM8h0RLmSin1pi2kl0+27REKO/xXD1PCW04u9/6IVbFd84eugUHjs7xJHPlKSt4+5uK9mGZMPll9EBIDlHwGK6lvB52N8oYbUTIk+3qp1ZOJg0XbVwTG5ISZawtWs+n0NFauna2Q4g== 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=FnWg0iqDGw4bt77ZKRJrwJFGFFrsiuVV/qe6+MuLiWY=; b=HMSrTu5Sdw/lj5GtQrWakEJ8+Np4HZgm4EGuVUzBYU7dEFBZgO7rY4V4pb9Nv2NgPayLGmExVZ9147Nw71x4VQb5DlhNgzMryqsYrtmC1dkafq/zE6A/S5EHFXw+DeDp1lMaroN70flaGafzqNp5VzVZ7AkkjLP5gjA7ie2etHnOXxqG9YjLvcAZ3MIZbsfTLxL0OHgiXHHCniNJToEf61TynTT7jHd8OGOIZploHuQrnhTQ5QGOjETnGHe2QrxjyZYW5FV/igD2iMIgTZeXLmc2yMypXkEPL2v8+wNPHbtMa0GUtgEmYHTqJw5DxVjXDivaYmaTjEyRqq3Omhzf2A== 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=FnWg0iqDGw4bt77ZKRJrwJFGFFrsiuVV/qe6+MuLiWY=; b=Tdg5HCfynwoHGVdqc0T1Z5tCnIbh+fqneD5uNdDGaeJQlg6veS0oBUxuriGdKUwh2v9WWKmcMjIJLfsyBohnFQzSfZItnWvCb2xT2dGmRod0Fg7RlAw4bn4X3b5lfMXFFiybrtldZfBK2TRuZeFP8g/LgEoBOOddZI1G0IrhYKs= Received: from VE1PR08MB4640.eurprd08.prod.outlook.com (2603:10a6:802:b2::11) by VI1PR0802MB2288.eurprd08.prod.outlook.com (2603:10a6:800:a6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.23; Fri, 17 Jul 2020 04:41:25 +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.3174.026; Fri, 17 Jul 2020 04:41:25 +0000 From: Phil Yang To: David Marchand , Dodji Seketeli CC: Olivier Matz , Ray Kinsella , dev , Stephen Hemminger , David Christensen , Honnappa Nagarahalli , Ruifeng Wang , nd , Aaron Conole , nd Thread-Topic: [PATCH v4 1/2] mbuf: use C11 atomic built-ins for refcnt operations Thread-Index: AQHWWqOsOuWSG+SzTEeeTt2bR4JEhqkJmJ1AgAB7B4CAAB84AYAAYdGAgACegtA= Date: Fri, 17 Jul 2020 04:41:24 +0000 Message-ID: References: <1594289442-18594-1-git-send-email-phil.yang@arm.com> <1594310331-23345-1-git-send-email-phil.yang@arm.com> <87h7u7k344.fsf@redhat.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: aac59be5-8f45-4894-b033-d204c83c19a5.0 x-checkrecipientchecked: true Authentication-Results-Original: redhat.com; dkim=none (message not signed) header.d=none;redhat.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: 90b85942-19a2-4ab4-3b6d-08d82a0bad9d x-ms-traffictypediagnostic: VI1PR0802MB2288:|DBBPR08MB4459: 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: HU8Cj4L08R3RIjZskTycvBAqEcbaaNLSGO7S/MQAWBdp7c8Ojl5CIugrgBsCL9Z+PLCRuF9bF20/dqLxAQXoOtjcT3YguLeL0YvRZAUp9XhGQrYmIYTokp6tt8oM+8jtF1da1ljCnceq+F2n2psvRZwx5b+jO7ZhegvcYDiJWDqYcXRUqNyabSDiHZJiDBGlOdnzqk1LZ2IYDo/w6pGo/4dD4TTj3xUz4Os7WzBHzzZ1pHP0L8YSSifEaFpmK9xju6Ms6TjhK74jkLRZHrmToOQWPiL4hcGh3vUm7kyUwSfBKr/ScfB0BKevk+0HDVFUfIrlGiEKT6tfpYovCxWawQRRf5MqL+T5tw5NT3r9ZSLVkYUA/d+OivEmnL2mt6vS4mGKFWGZR/gx+TM+rtq3jw== 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)(346002)(136003)(376002)(366004)(39860400002)(396003)(52536014)(83380400001)(110136005)(478600001)(55016002)(86362001)(66446008)(66556008)(5660300002)(66946007)(71200400001)(76116006)(54906003)(66476007)(9686003)(2906002)(64756008)(26005)(6506007)(8936002)(53546011)(4326008)(7696005)(186003)(8676002)(966005)(316002)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: dZtDH1NHTIoI6xNMO/+fwhU8FRXUjMer0L1P5w3JHAGRnwaUchIKwkDTpZ0o+gO8w28SYOKD56fFkgV04AfEoMdjikBBqtQ/uPHcHPyz1sKtFsYVKtg3ISjGfp0o7YJrgW4zwziNRfLajraXNERancpMvKoVX4kJifS2DrR0aDf3mgNJ5wX2rBbtHlXKBjwuFYz/CtPDlnYeWD4GbOFqaDp+uPL/EZJyA8yjiYenswP+jdDqB81Noen85wtdXfENwESB71+zis4JDlYp01BCB62ZP4NdLnd31iAbfpzUyourGJrZhbGfQ0sRWDTktdQc3pyZ+HcALr5xcXWosKrb5XruYbBS/Tm2siACymXvvQuVXqNo6QCBPM/m3D9SmnKg8Km6QEZeiUi7wjDW3bBREgTSD2/LWovJNFWhSUJ8w6CHGjuqn03SiGECFxZR3J7IztWP3u5FBJmC1+SGqaC75q99HJcpyb+AkgsggieCs2E= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2288 Original-Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT008.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)(396003)(346002)(39860400002)(376002)(46966005)(478600001)(82310400002)(2906002)(53546011)(356005)(316002)(336012)(83380400001)(4326008)(8676002)(86362001)(47076004)(966005)(33656002)(7696005)(186003)(26005)(54906003)(82740400003)(70586007)(81166007)(6506007)(110136005)(9686003)(52536014)(8936002)(70206006)(5660300002)(55016002); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 27849e50-05b4-46d0-a76a-08d82a0ba995 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sw74lqEoQdNY0xSnRIAD+bilZgGFnvyHrofv7wmyyZcGdRryg1IEUUALHeRcgVZkS6yxQgyfU2KY8GR0jBf+wTSHwT+ZsYJJ7df7tRRyp9Zm+pnXDL05/vTCbjKY2qHWzrmYekSDnVQYq1BkaWt5AQhrY8ovC+rOLe2jkH/31ugvSnaFIkkJ/LbtI9+pzbSgnNFfS2QpgvoJa+LiagsYRpCvtrHevVzqqZzxT3yFd7EvtqFF6OvmZi9cYK5zYsF5ca+hZvM83oeErjO2G9jq+h6DEyG1LknmIsidfbJEvgvE8nwMm8rFIJ/utDM4vUOal0NYeGbt8UXwjYKfIZ9Dr9q/r11dt8HcXEg4bQqXJoEnh07POztuv5ap1lpbghGpOEOODawZlhPXd4+7rxma8qex8daHJCVeEuU/vDpOXdV2N/Yb7TaKw7Ncf5BdWGcsl+mEwnoXQEvYryzhIaxQBEPo1+aHuj2IqUJ8R/1R3U8= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2020 04:41:31.8564 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 90b85942-19a2-4ab4-3b6d-08d82a0bad9d 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: DB5EUR03FT008.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4459 Subject: Re: [dpdk-dev] [PATCH v4 1/2] mbuf: use C11 atomic built-ins for refcnt operations 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" PHNuaXA+DQoNCj4gT24gVGh1LCBKdWwgMTYsIDIwMjAgYXQgMzoyMSBQTSBEb2RqaSBTZWtldGVs aSA8ZG9kamlAcmVkaGF0LmNvbT4gd3JvdGU6DQo+ID4gSnVzdCBmb3IgdGhlIHNha2Ugb2YgcHJl Y2lzaW9uLCBJ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