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 29434A0548; Wed, 15 Jul 2020 18:29:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F1AA64C8A; Wed, 15 Jul 2020 18:29:18 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70085.outbound.protection.outlook.com [40.107.7.85]) by dpdk.org (Postfix) with ESMTP id DD15F3421 for ; Wed, 15 Jul 2020 18:29:17 +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=1EXtqzqyEx8Nri94CQMZfHr5INVkNe52Z42bxsHHhxw=; b=I1wA1QNkMWepk2u/pKHfRyaKdKVPf8N/QSWgPQ2iq1KgYl64q3cRb7tGCXkLsz1J+uoMLAM/8eMkbIVFu8L5mHK9jvtF5CfIjGp2SrKLFJUxI+Gb2p7Htu3754CJylqhKZ7Ujp/VNmjdXNqwI3c5lFd9cxqWydNN51iouy/8Bys= Received: from AM5PR0602CA0004.eurprd06.prod.outlook.com (2603:10a6:203:a3::14) by HE1PR0802MB2524.eurprd08.prod.outlook.com (2603:10a6:3:e0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Wed, 15 Jul 2020 16:29:15 +0000 Received: from VE1EUR03FT031.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:a3:cafe::ec) by AM5PR0602CA0004.outlook.office365.com (2603:10a6:203:a3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.17 via Frontend Transport; Wed, 15 Jul 2020 16:29:15 +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 VE1EUR03FT031.mail.protection.outlook.com (10.152.18.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.18 via Frontend Transport; Wed, 15 Jul 2020 16:29:15 +0000 Received: ("Tessian outbound 8f45de5545d6:v62"); Wed, 15 Jul 2020 16:29:14 +0000 X-CR-MTA-TID: 64aa7808 Received: from fab14cda9385.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 13820E2E-AA42-4DD9-836B-794998A8913F.1; Wed, 15 Jul 2020 16:29:09 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id fab14cda9385.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 15 Jul 2020 16:29:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NeIAHWfmiUOGah78Bi2Vz4Ya0pSL7k+6yUhsKCw/WEinjbVl//ZaoiccMW+k9rTB6hb8Xl8IU6nb5kQT/UkzdMvxyeLCNbuzD3pHa9HPJcStVZ1Q0ZLsysF6zF7ODuFE3jSqk7CgVq+1zBsEc+gXQwJQfE8t1YMoBRHisAFiOSV9TB9L9buxndDyrbNxQQ7phcG9fKYpbXDm3MHdQsMQcwf1F0fWBSp1s7TOVevr69zmz2Iaga7tBxT4n3ObVShkCLFlglfaXzYEQ0IUmJwH0FsxaoWYBbDzt0Wf26vwf2oF9z49PCZrDoJsZw1546mz5UsT81/osSWJVdzcWX3XPA== 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=1EXtqzqyEx8Nri94CQMZfHr5INVkNe52Z42bxsHHhxw=; b=GaAzqA1TLUJbCY/d04POCyogsEcPJUKUOjccqVuPDAJkKROA/hDve7A+cltwEeCFKIwPDn5tWvZ3bSaNp67t8IwLbek2pWfxGg4GBnssdzVsxfCCkRJyB/ViuhhHYtBjgwbPMvYNmDLs/tM3fzqboxZRXOmM0EHzd243ect4UlS3VPBJxD0lBQcS9rmwB1utYGY4OflVsNyMqyVWVL0jJBq4XhDzzdzEuGNXhp7h9yM8aZBeR03+Fysle/EQB+7/HRSa8yCe+OXJYWlV3SMmiIPijxKM0nPI2U26NtUHFd3MEyGf/ShxJ+UtfKhAAAQSgmIHV2VCuYX2cWDNN8otfQ== 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=1EXtqzqyEx8Nri94CQMZfHr5INVkNe52Z42bxsHHhxw=; b=I1wA1QNkMWepk2u/pKHfRyaKdKVPf8N/QSWgPQ2iq1KgYl64q3cRb7tGCXkLsz1J+uoMLAM/8eMkbIVFu8L5mHK9jvtF5CfIjGp2SrKLFJUxI+Gb2p7Htu3754CJylqhKZ7Ujp/VNmjdXNqwI3c5lFd9cxqWydNN51iouy/8Bys= Received: from VE1PR08MB4640.eurprd08.prod.outlook.com (2603:10a6:802:b2::11) by VI1PR08MB4400.eurprd08.prod.outlook.com (2603:10a6:803:f8::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Wed, 15 Jul 2020 16:29:08 +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; Wed, 15 Jul 2020 16:29:08 +0000 From: Phil Yang To: David Marchand CC: Olivier Matz , dev , Stephen Hemminger , David Christensen , Honnappa Nagarahalli , Ruifeng Wang , nd , Dodji Seketeli , Aaron Conole , nd Thread-Topic: [PATCH v4 1/2] mbuf: use C11 atomic built-ins for refcnt operations Thread-Index: AQHWWqOsOuWSG+SzTEeeTt2bR4JEhqkIzBaA Date: Wed, 15 Jul 2020 16:29:08 +0000 Message-ID: References: <1594289442-18594-1-git-send-email-phil.yang@arm.com> <1594310331-23345-1-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: 90227c3c-587f-4ea8-9f1f-744166d9a06e.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.113] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ba41aa0b-66f5-465e-2c64-08d828dc36e5 x-ms-traffictypediagnostic: VI1PR08MB4400:|HE1PR0802MB2524: 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: Ffcbghj2o/UsDwi4IWIiyJSsGxVuKRum5KSMdt46vvTSLJ605j+YOq9Vx4iz/XkF6DKfE8LeBMjTGxnhwTiC0gtwSSg4eIeqC8nkNI6LqsR/MIDR4GIMm/Vtq+YdIog0AP6jpnJ3xmPo3qNa/YQu8dJ9M8lXg8qqgzNGFZ9Jg2nI7bm1uqTywvtXG2vr3gKVdKHOv/yPqJKpnYQNHlyY5cwjS89XDL63pSfx0lhEtO5Bzl7hF+XoKwzWmKHWEZ69L198BsACquNiIfkbfxWlbNSEs0piisH/eyzs7HiZ2wiTsStBhK83JqwMtH5xkiVGn6BjDQ8pBZACa9E2X+FoLP7TOq9g8VgcaA3oUuuZV37IFov5pxzGr2956lTuMXWFoIW9A1DBQvR6mxnuj7wOOA== 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)(136003)(39860400002)(396003)(366004)(376002)(346002)(66946007)(76116006)(7696005)(966005)(55016002)(54906003)(478600001)(26005)(64756008)(66446008)(66556008)(9686003)(5660300002)(4326008)(66476007)(83380400001)(33656002)(2906002)(53546011)(6916009)(316002)(8936002)(86362001)(6506007)(8676002)(71200400001)(52536014)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: iqLG3csKwlxKZW0MrPvbKQGNCwF1tdNEJagao7R4f+E0W90PAMrTE7wZBQ6FBAHmJnWCzlxV/WVSQG6TQZlRQ1/EcYb3pA3HyXasxBJ4804yhxDkMl78XHV1ZMNNgu/KNGx0O8+ddMTWcEygP3RhbD3oWDlErPl8MZ1ezXw6ROxnJM1eAjvbj0SK5ewbN15maXBd8yf3QF4J+wu6Xb1D8yU67ZhrfHcPqkpaOyldpLWIFSNmntVWOdfM2wsWlHSaxM6pgUmos8QliPQBZ5IustyxoSduJr9lk98nEQDqH8yjJMvueHufmfeyZG1aL8+gt676k2dslg/N+ox/MGTyTaF+TPtxz5oSSMS7AJ6H33nRnLlBP5NJ/6In0J+9O5U6B3fnDKTPjTt5gX25/TFw1HuT0B6jJJ6e3SSAi1t4K12hjccj8N0FmnxFH264gCgnZLGHr/NmDvh1sz7anLYAe9YnXQgjlF3s2FD21LelFSA= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4400 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: VE1EUR03FT031.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)(136003)(376002)(346002)(396003)(46966005)(53546011)(6506007)(47076004)(54906003)(33656002)(82740400003)(8936002)(5660300002)(186003)(336012)(52536014)(26005)(2906002)(55016002)(9686003)(316002)(6862004)(356005)(70206006)(4326008)(70586007)(966005)(86362001)(7696005)(8676002)(82310400002)(83380400001)(81166007)(36906005)(478600001); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 54034aec-653b-4b82-f802-08d828dc32e8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wOsaA78q17Q3YSn4yxujtd+KsEahpx3R/Xm3B3EYyPaKyLIvBKgd44l0oODLzLZGUzhTFkKItgrWjYU6UuG6heFLZRAXq0VZ8XzaRWTa+3609OISWaNV91/CgVJuH9wR2Dma5lw6dAjvZfPMAVaZSeOtT2HjNzh8c9EQTvtn/BJb/j7FAog6YPdTZXrqK+auWeN3++DZlN4PoJKqZeVyP4X8wayeACJhYOP2mrSTNP8N+lbBGvVETf4P2zP04/94Sc0PcJ2WcQe1dn33nMm2X5dlHn1gbNAAPQd1QWhf5VgS5RQpNFcDcf8iN9N0JVfll9qGXT/uP2trxBkyg3YxJQttftwZttHOwaa2fqTJoce11AGSmGGkEBLFWqBYUdsd725MnHN2FERPvFWvZsel9jWy5ReSI3chs09cU4SYKCxVIrNDES0XFjqL2f9/SyFj8ECHqseUeIorFzclrIPs0GBBJGwERiPbWxnZZy5O8yM= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2020 16:29:15.0350 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ba41aa0b-66f5-465e-2c64-08d828dc36e5 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: VE1EUR03FT031.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2524 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYXZpZCBNYXJjaGFuZCA8ZGF2 aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NCj4gU2VudDogV2VkbmVzZGF5LCBKdWx5IDE1LCAyMDIw IDg6MjkgUE0NCj4gVG86IFBoaWwgWWFuZyA8UGhpbC5ZYW5nQGFybS5jb20+DQo+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