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 1435BA0503; Thu, 31 Mar 2022 11:25:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B202B428E2; Thu, 31 Mar 2022 11:25:17 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 26BA0410FA for ; Thu, 31 Mar 2022 11:25:16 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: [PATCH v2] eal: add seqlock Date: Thu, 31 Mar 2022 11:25:12 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D86F8D@smartserver.smartshare.dk> In-Reply-To: <37d60d0f-9911-7692-cdb6-62cd5da540ac@arm.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v2] eal: add seqlock Thread-Index: AdhE3n2WK9/Dkyi1S2upTPJFWSxAJQAAEUwQ References: <98CBD80474FA8B44BF855DF32C47DC35D86F84@smartserver.smartshare.dk> <20220330142602.108061-1-mattias.ronnblom@ericsson.com> <3888e595-de18-3cf0-707b-309b153c2b02@ericsson.com> <37d60d0f-9911-7692-cdb6-62cd5da540ac@arm.com> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Ola Liljedahl" , =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , Cc: "Thomas Monjalon" , "David Marchand" , "Onar Olsen" , , , , 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 PiBGcm9tOiBPbGEgTGl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