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 D561CA0503; Sat, 2 Apr 2022 21:32:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A42B14067E; Sat, 2 Apr 2022 21:32:01 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30059.outbound.protection.outlook.com [40.107.3.59]) by mails.dpdk.org (Postfix) with ESMTP id 313C04003F for ; Sat, 2 Apr 2022 21:32:00 +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=VKcP/R29nK79WeXQZ9zdVgTEWm/nkkT4R1rWJJGKe3w=; b=aROehv24hRwgF1Wr8VTmQTJOcwZj7AYNv4CrBbl2VBaDzWyPjgEI99OkbujAot4Y2TEqH/zzS7Q/G6dyhquf8TX+bYjUBXd6iZgHx6p0GRaTXq4unJ20VChDufjOf1V2JaGe1N7do68xN5JKoEKNBFumw9GceqZ8XDoZx7B+HOk= Received: from AM6PR04CA0040.eurprd04.prod.outlook.com (2603:10a6:20b:f0::17) by PAXPR08MB6399.eurprd08.prod.outlook.com (2603:10a6:102:158::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.25; Sat, 2 Apr 2022 19:31:46 +0000 Received: from VE1EUR03FT062.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:f0:cafe::29) by AM6PR04CA0040.outlook.office365.com (2603:10a6:20b:f0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.30 via Frontend Transport; Sat, 2 Apr 2022 19:31:46 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;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 VE1EUR03FT062.mail.protection.outlook.com (10.152.18.252) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.19 via Frontend Transport; Sat, 2 Apr 2022 19:31:45 +0000 Received: ("Tessian outbound 78191104f1b7:v118"); Sat, 02 Apr 2022 19:31:45 +0000 X-CR-MTA-TID: 64aa7808 Received: from 837826b4584c.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id EFC1EBCC-2CFF-4BFC-B6A7-BBF4CF28309F.1; Sat, 02 Apr 2022 19:31:37 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 837826b4584c.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Sat, 02 Apr 2022 19:31:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dEbO3wyiDzAXFt7PzbYcUEkbgEYHjZqe1NMNBS7XNRRpsvfiT3xEpUquF6xarlQy/UjqEiXd9HMIJdRyuTUmRIVMpHmngoR3VS1l5a44nHi1hTm4VYWSntopFk9YzBtWd7GXU64DJX+lKtsZKlQDAzBLb57/21dn4Kvf7TpCUANvGuqCi0/iEC2SXNKD3sw7K4ECytzqQ12g+kuvNGGHmEmznJxPcsUAM3OrMW0Az+z6EMUsgk7ebc39iCiYcWup6qGqHQO0rgEHd3TU/RUI6QU+1Fw6iYfrfn5dl9O0AN/0XMp6zCnh8QvIKFyJzglhcS+rApiqONwL24P0Rii8tg== 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=VKcP/R29nK79WeXQZ9zdVgTEWm/nkkT4R1rWJJGKe3w=; b=dO1lLYQiBszgm10NURvOduqPcYV9U6fOKiRbZsLdT3OSBIoMujF3OtCw8H2G384d9Hcpx2tx1t3azmtykU7UVjdmHFAv6e/2QA5LFJf7yPWnbA3LN2u/nhabLjBxg8VAi52XegQ/sPL3F+ZcBkW9WdBZYDLjo9q+8jMA+DUNOsoJ8oDJqhaOyDjVSU6TihhU/gkkfZKkxivpKGjjb5SVkpwVqgIWjKwr3vYIIvBHoHla8/NDL/ELquwelXD9WJvg/MS3aUyrVyBHngIVb/6KM/dI8g2FACwaHqZ402vdDJNFDqFdcWuhyQIIeAMmZ6YpsVgqw6jKrge9TcDqmPVElQ== 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=VKcP/R29nK79WeXQZ9zdVgTEWm/nkkT4R1rWJJGKe3w=; b=aROehv24hRwgF1Wr8VTmQTJOcwZj7AYNv4CrBbl2VBaDzWyPjgEI99OkbujAot4Y2TEqH/zzS7Q/G6dyhquf8TX+bYjUBXd6iZgHx6p0GRaTXq4unJ20VChDufjOf1V2JaGe1N7do68xN5JKoEKNBFumw9GceqZ8XDoZx7B+HOk= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by AS8PR08MB6661.eurprd08.prod.outlook.com (2603:10a6:20b:38f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.30; Sat, 2 Apr 2022 19:31:20 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::bdab:41f9:79b1:be0d]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::bdab:41f9:79b1:be0d%4]) with mapi id 15.20.5123.030; Sat, 2 Apr 2022 19:31:19 +0000 From: Honnappa Nagarahalli To: Ola Liljedahl , =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , "dev@dpdk.org" CC: "thomas@monjalon.net" , David Marchand , "onar.olsen@ericsson.com" , nd , "konstantin.ananyev@intel.com" , "mb@smartsharesystems.com" , "stephen@networkplumber.org" , nd Subject: RE: [PATCH v3] eal: add seqlock Thread-Topic: [PATCH v3] eal: add seqlock Thread-Index: AQHYRr2zyd0NqRrCTky+5vY5RMVxBKzc9NYw Date: Sat, 2 Apr 2022 19:31:19 +0000 Message-ID: References: <20220401150749.136921-1-mattias.ronnblom@ericsson.com> <3efba44b-1a2e-831e-1e2c-782639d83c24@arm.com> In-Reply-To: <3efba44b-1a2e-831e-1e2c-782639d83c24@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 22AE2D2646359640B7CC739BD3B6B413.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-Office365-Filtering-Correlation-Id: ebc20e16-9d2b-499b-e43d-08da14df6cb5 x-ms-traffictypediagnostic: AS8PR08MB6661:EE_|VE1EUR03FT062:EE_|PAXPR08MB6399:EE_ x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 6rM657fO+LhSqIiwNhpe0vAxw6xPrRPem28xqQI+7U6fiyDJXfP59SJzIoSfUQwJVzQHNzP5rVe6el5nHYlWw+88IUuHFzsQZAMZ3t/tu1zVCDS+TW/vBs1fzn5IlkuweWEp81zNUMOVFlG9wa6N6goonKHEGRKHoFCD5aa4ozoSUVv2JTzPRm23VvPF1pCkNvgaMbCTa7GtnPbkJeigSPCVvb7A6aEiiT2BB2YgfYXfQDpP9yWA3yWtMwcQnROZ2BPa5ZJtL6VrgWsxtuvqZovNR84h3JMV78k3Ug//4wlm/3NaYWJ0pyCbf9xN+s2F+pNR51dxaMwTAp9hNvJ+Hq/9ffbINTv1ctxN/6PzcHyfdnEVnk/xGScgXfRNt+HNWmtLzUl/qLqptz13/Z92YmfIY76d5G/xVKZXGKgAaVItA0ZdKtmBXt0Set9CklDi7VeFBbW/0XPgaGEGI10P8Ioc2hIcz4OVlFRZc/OoQSaGVPdKy/kOYZ7hAU3Cf9PaLfwnZFxX8+NlBLamzBpCN/iIjJqNLUpCKGremjLroaNr6IBnsWjmdWgn1yGzBUBJ+/lBBS3UW4qwC0lGQHVMftxIJ0v15FRT5lvkyCYVFupMQnMDC8U5Rx0NLJg6122GtM1bsdiyh+7rLTKdaaW3pmvhOUJtmTGEXc2OmiwRDNGNrjsnmvZyeUQupC5/Hk2Na+MgIDPbGS53Tir4B+2MKg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(508600001)(71200400001)(9686003)(64756008)(6506007)(86362001)(26005)(186003)(83380400001)(2906002)(7696005)(38070700005)(8936002)(5660300002)(52536014)(55016003)(122000001)(316002)(110136005)(38100700002)(66556008)(33656002)(66946007)(76116006)(66446008)(66476007)(4326008)(8676002)(54906003); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6661 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: VE1EUR03FT062.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 50dbb21d-ddc2-49e1-47a9-08da14df5cd8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ap613qCTNInH2fkQfrdBk82S7L9L2e69dCDdbgNwM1EzPM7cw7+sS1eXncH449je0qYm+EzwghSWPIBu/S02n0X2IdkIj8XMfjGfWZT6EZYHNGOwBCNldAG96lOFrgalJ7i7cCV/UqG9E4BQ8Lfdj9ywMKWKH9WRPushUH84OZaVtNfUYXMYj+wmSW3RZMzI2mp8lRwnFTo08Ie+AmkXsMjvI0YpZJAaEth7JyT6YTRoQPABKtueYuHs61G2ngBCP3rwbamtrvLJzFUc3amNg842UAgYdMWu3IyDqWB2Atm81F130bkgZ+V9E/eW9T9uAl1E0xu3f1dDkcS6YxMayfkKMoMBSomxhAqBqyuKOE9WW4gnfdGxRzLD6+lHZzZOBaBs9GtyK/ekaP0mcfFcBjmwNGQcP2hh3R3FZlUYNNYa029e4cquo9PHaVYFsIPSDaQ35Xf6t50t5LeWY72XNCyZgoc/3H5KxTiM3i/o42G+FwpMC8wsG4V3UrW8tuusXOiB2OkVbXlCE+838vGm9HAhV5n5tr5sRTleiisjcaPUlg0aZliCk/ZOx6KUZ+MDAXT9FvakcpKEO3eG4jeAzT5QAECglRzkz/qGj4o0zGcMp3ucSrTnrRqmleZYKZRSTzl0yw7SZiuf5q98c7zf+tMzPmpqxloJrBKOLUbvSpOzWx3Os533o85iGvdedvWf 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:(13230001)(4636009)(40470700004)(46966006)(36840700001)(9686003)(8936002)(2906002)(6506007)(70586007)(7696005)(70206006)(508600001)(33656002)(82310400004)(86362001)(52536014)(5660300002)(4326008)(36860700001)(8676002)(40460700003)(336012)(47076005)(55016003)(186003)(26005)(83380400001)(356005)(81166007)(54906003)(316002)(110136005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Apr 2022 19:31:45.9375 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ebc20e16-9d2b-499b-e43d-08da14df6cb5 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: VE1EUR03FT062.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6399 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 PHNuaXA+DQoNCj4gPiArX19ydGVfZXhwZXJpbWVudGFsDQo+ID4gK3N0YXRpYyBpbmxpbmUgYm9v bA0KPiA+ICtydGVfc2VxbG9ja19yZWFkX3RyeXVubG9jayhjb25zdCBydGVfc2VxbG9ja190ICpz ZXFsb2NrLCB1a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