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 EDFB4A00C5; Mon, 6 Jul 2020 10:03:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D41A71D698; Mon, 6 Jul 2020 10:03:19 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00079.outbound.protection.outlook.com [40.107.0.79]) by dpdk.org (Postfix) with ESMTP id 016591D524 for ; Mon, 6 Jul 2020 10:03:18 +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=fwjyOOLUU2dTrG5OSOJcjO758SPjQ6CVu5isUebsih4=; b=Sa6tvZoIBe3+XTVWaCwk4LL6bqgPIDQ+ZKrFSRiw1J5qOokAFlTWayfxRjMo5QpdzJHyWINGhyt/OTGf5TEX5nC85DI7CMUxE/736Y38bjzmYYjEQCaiyxsiAuWJO/coVOyC3WCK1rLGRsgv0qOuqj9qprACz21lED70dMeQaoo= Received: from MRXP264CA0004.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:15::16) by AM5PR0801MB1841.eurprd08.prod.outlook.com (2603:10a6:203:2e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.27; Mon, 6 Jul 2020 08:03:17 +0000 Received: from VE1EUR03FT041.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:15:cafe::b3) by MRXP264CA0004.outlook.office365.com (2603:10a6:500:15::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.20 via Frontend Transport; Mon, 6 Jul 2020 08:03:16 +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 VE1EUR03FT041.mail.protection.outlook.com (10.152.19.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.24 via Frontend Transport; Mon, 6 Jul 2020 08:03:16 +0000 Received: ("Tessian outbound 4e683f4039d5:v62"); Mon, 06 Jul 2020 08:03:16 +0000 X-CR-MTA-TID: 64aa7808 Received: from d699e81484eb.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 52389475-0391-418B-8EC2-747A0FBAA783.1; Mon, 06 Jul 2020 08:03:11 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d699e81484eb.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 06 Jul 2020 08:03:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LpG9LlIZTsddr9yuoMkmqQqKPQPsBpDalhbU2kBBkzonZNC06E/fKbPVOneYm3SfBDc3+fs9Iy3enabG+kSsvPL1ytBJEHf8Jy54IFFRmYtnQF4dykuu/yh7wN8nPQQ9zZlJHQ8mWq6u447Rsvr2QVHTLhpePKja8cc5aAi67jhnPeyiwZE1SKRuE2aqd9ZhH4lq/x05jWIWQS/K9s2chYRMwLhbjgH9gfTZ89qGpj0OXKGmwXyTyuWW6Gv6hgds5w6AOymQHFPNjjxRbIgxLf3Bty3j3Quq08apqZpDbEHx9nfmKWiFs49b19iuOU35WP1v/a0jJuwdWjq/96XMfg== 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=fwjyOOLUU2dTrG5OSOJcjO758SPjQ6CVu5isUebsih4=; b=OVYpdjMCIwjy3EeeISZ5KPx0PuhSSQ5eou9a8vxeTvaalAbcd9cR57v4pZFyOgLUrR0Q2vUH7MniV9KKfEOKt/wEcppmD0E/O0MWpYVWst0P4LNK2ubA/xsSpQJvpsieAzanKcPt4MTfRA+jT/GUtSz+T4zZfpe3xItthums3Y8dP4ElZ54WrjPlAShYiGQnn0Y1blDND2Geut9URw7J0KJWj42zKybtklK9kvX7NR4Z2lcKWBVZqMEc4DwWk6zT3zRumLM3pPJW8RHHbLmoM0NVS75Gj4Y5KIttoIIOm7gvGRekv2E5PA4/buswbQeEGscNY5weepaMRhSzRYe2GQ== 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=fwjyOOLUU2dTrG5OSOJcjO758SPjQ6CVu5isUebsih4=; b=Sa6tvZoIBe3+XTVWaCwk4LL6bqgPIDQ+ZKrFSRiw1J5qOokAFlTWayfxRjMo5QpdzJHyWINGhyt/OTGf5TEX5nC85DI7CMUxE/736Y38bjzmYYjEQCaiyxsiAuWJO/coVOyC3WCK1rLGRsgv0qOuqj9qprACz21lED70dMeQaoo= Received: from VE1PR08MB4640.eurprd08.prod.outlook.com (2603:10a6:802:b2::11) by VI1PR0802MB2624.eurprd08.prod.outlook.com (2603:10a6:800:ae::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.28; Mon, 6 Jul 2020 08:03:09 +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; Mon, 6 Jul 2020 08:03:09 +0000 From: Phil Yang To: David Marchand CC: dev , Olivier Matz , David Christensen , Honnappa Nagarahalli , Ruifeng Wang , nd Thread-Topic: [dpdk-dev] [PATCH] mbuf: use c11 atomics for refcnt operations Thread-Index: AQHWP9rcITXGelW04k229NxwzCMb+Kj2IE8AgAQ1TOA= Date: Mon, 6 Jul 2020 08:03:09 +0000 Message-ID: References: <1591871178-12542-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: f39ec18c-52c8-4425-8765-2fb4760656b2.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.112] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6d5e9c77-aedf-4658-f1d9-08d821830a1c x-ms-traffictypediagnostic: VI1PR0802MB2624:|AM5PR0801MB1841: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:9508;OLM:9508; x-forefront-prvs: 04569283F9 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: TDLFydQar1Fu5j1t5+PAHp4pO/Z6d9n93KRMyd14Exhm2i3+FaGkM1ZsCakZnc/K/rTrucb8PBE+MzDAx7SJW7lQaAGm2AqtzW66sSdI189TZEqI7AqjiypkIqzaogasbbvncr56lmOPlmijNaglfIt5c5MH2yT0TReD81S1LLODNVDVxQ3nFkqsaUho4+smCrpyklDIi1ZSYhtV9Zo3UuwkVrR2F7KvRoOIFd06CKLHknmbsshDz0V0EU7Y8F7TakluSqctrn9PD8bq5m9BJQm41B6/Epqdvkey2L03C9Cg65EpToNf7Ypwbke0I7+g 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)(39850400004)(346002)(366004)(376002)(136003)(396003)(66476007)(66556008)(64756008)(55016002)(2906002)(316002)(6506007)(53546011)(66946007)(6916009)(76116006)(83380400001)(52536014)(33656002)(8676002)(186003)(4326008)(66446008)(5660300002)(7696005)(4744005)(8936002)(26005)(9686003)(71200400001)(86362001)(478600001)(54906003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: UNQnD7TmvHfeBWLGeMS4oHvdX//thNgtTSp5LLSbGYT1jJ6rMQFA1ElUFP6fbv5+Glh1IzylDFBxsSJmCYFYI3vMa1ROWmxoyTYvxZRVhcbCD9HLVk81mkTi+FP9lBHTTbHGq0EWIwWXxJ3QsePMDY4Z6RW8TVy5nLlVJ434nE688KL5XjJYdI0LgUiSiif+dWU7LDLo8KBl3+FKe3Wso72gcN66NbqHB1Mb2++63iMXvCOJgvGMyhfsoNy4MH/5KNW7pAwN1/mDPY657WdCvgBdiXZDID68D/tAM3/eR38u6tOkJcXes+EHs7D9+sCCNlX5U3V8zcx4i99VTqYqA6QD8Q3b/10jg7+ifrCA0UhSXHY9eaEd5A2eAxnK9uEqTmozw6ck20qjnqcdqlrmLrhlhhsPyhQoHglzyQmJwSbpJAfbJdSzlWPpJ9EPmfr1MOLux5NjfE/DRlztOa3lBIrT4QlMexhtAZHtO51Lkxo= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2624 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: VE1EUR03FT041.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)(376002)(346002)(396003)(136003)(39850400004)(46966005)(2906002)(83380400001)(82740400003)(33656002)(55016002)(36906005)(8936002)(9686003)(478600001)(47076004)(82310400002)(186003)(7696005)(5660300002)(70586007)(8676002)(81166007)(356005)(26005)(86362001)(336012)(70206006)(54906003)(52536014)(53546011)(6506007)(316002)(6862004)(4326008); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: bc72a9a0-cdef-41fc-138a-08d82183059b X-Forefront-PRVS: 04569283F9 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MzH9YvuEhw5A0wuYx2B4hkdnXsEovADj7P6uBGYXwoXlnCd6XwmB79tDkpSlFqYUuHO5umJqwi8azz1kFzLo4ggYscnGOs1OmuCJTcumQiY1at6DGLT0Sov8BYBjc/mUx/+5xvDDxI7GhXLTJZPxrjOso6XYeuPUpSrqb99xbDBoyx9Acqep8kCt4jgh3Up0lyCRJUag/shTepQTgmiKtKp0tDB9Sm7oLMaJiiGFc5342wVbP1kA6vrzoK8p5XfBlYM5APFWpN0WX/WmYYWQGQeXh5hU35acIZO9U0brTbNfbqnurAoJ/wxdGJmVxp1iRS8RM7AGe64fKG7W0+iyYW5NoFVZw4RCmNpMistLWzxwtBgXuUCVal+8ZNSNg1RGSoktXswkj0pT0S418RSufg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2020 08:03:16.5467 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6d5e9c77-aedf-4658-f1d9-08d821830a1c 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: VE1EUR03FT041.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1841 Subject: Re: [dpdk-dev] [PATCH] mbuf: use c11 atomics 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 aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NCj4gU2VudDogRnJpZGF5LCBKdWx5IDMsIDIwMjAgMTE6 MzkgUE0NCj4gVG86IFBoaWwgWWFuZyA8UGhpbC5ZYW5nQGFybS5jb20+DQo+IENjOiBkZXYgPGRl dkBkcGRrLm9yZz47IE9saXZpZXIgTWF0eiA8b2xpdmllci5tYXR6QDZ3aW5kLmNvbT47IERhdmlk DQo+IENocmlzdGVuc2VuIDxkcmNAbGludXgudm5ldC5pYm0uY29tPjsgSG9ubmFwcGEgTmFnYXJh aGFsbGkNCj4gPEhvbm5hcHBhLk5hZ2FyYWhhbGxpQGFybS5jb20+OyBSdWlmZW5nIFdhbmcNCj4g PFJ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