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 33283A0A0E; Wed, 28 Apr 2021 09:42:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A2E1340147; Wed, 28 Apr 2021 09:42:41 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id CE5DB40041 for ; Wed, 28 Apr 2021 09:42:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619595760; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IEjnsUT95byTbGA7N8ou7Gm2q4FUFseM2Wg8Crjpqw0=; b=Hyjthrsl/xje9sqQl1BDj4SDH/Zu7V5KenV+5qji8xkXWSmaOwOFC6NSaMlLT6CSDZeGNK qAeHL0SmRt8RCLVzOTd3bVD4kcQJ3Us8Isv90yPTnHD+17//oIiG1uyOL6OytAYGa1GugB d/7NU02tX1+t5LUTSSPGkMSwZKerY1g= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-368-VEoh_sDeMmCLN5hxv-sCKQ-1; Wed, 28 Apr 2021 03:42:38 -0400 X-MC-Unique: VEoh_sDeMmCLN5hxv-sCKQ-1 Received: by mail-ua1-f69.google.com with SMTP id c19-20020ab023d30000b02901e86b51467eso6283501uan.12 for ; Wed, 28 Apr 2021 00:42:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IEjnsUT95byTbGA7N8ou7Gm2q4FUFseM2Wg8Crjpqw0=; b=gOm/NZZG4QFHoSjzzfwqjS90cC67MIX3dEtdQzQvQgN1WvKfyBTxnR7MT1KsKZPOTN HS1IWrOqmecaBrK+rxLaobsT6lzGSihNGuyv+grZlFt0qmmIQxyzBaG0t0HvYyiDN/eo 2AtxmjGOSM8TYjwmpXSnFlzuGFqdUO/39Wb3nYB5/Tl4QM3xkhhoYNxK+oVbeJqIm/ki 0snVaM6YF++GCuiYS8BJldECAt3bPHJb2Ndg3nLfDlaelafXzq4viwdtQfDbj4JCxb+t wa8rMLXmg+4U5efKhCX8CvSPm3POC/zz5WZtI7uEp2wuW4G5+RqMZ9qtpO3L8AuHbYTi lcBA== X-Gm-Message-State: AOAM5308SpMA/WK1sXDxkYnhKWuQchlPZONSE1HRG+NkmENarQRMOTB8 24Z2Gi8xGG/qqDEtIfe0hj01c4oyxhXkzAa8pPNPWDmOS6cSatY6a6nypx4u36L/uKBqkzOqPLJ 4pnLSk3MOMomMv7TjGdQ= X-Received: by 2002:a9f:368f:: with SMTP id p15mr16271009uap.41.1619595758080; Wed, 28 Apr 2021 00:42:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsE2iocTGCd4tgppv6I1Dd+ugBlNTatwBa4OsFMaT78izFmaF3zdxF2iDxLIKwAr4HRSrTca5kVUv7oBEsSaQ= X-Received: by 2002:a9f:368f:: with SMTP id p15mr16270993uap.41.1619595757872; Wed, 28 Apr 2021 00:42:37 -0700 (PDT) MIME-Version: 1.0 References: <20200424070741.16619-1-gavin.hu@arm.com> <20210425055653.1509261-1-ruifeng.wang@arm.com> In-Reply-To: <20210425055653.1509261-1-ruifeng.wang@arm.com> From: David Marchand Date: Wed, 28 Apr 2021 09:42:26 +0200 Message-ID: To: Ruifeng Wang Cc: dev , Thomas Monjalon , Jerin Jacob Kollanukkaran , nd , Honnappa Nagarahalli Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] Use WFE for spinlock and ring 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 Sender: "dev" Hello Ruifeng, On Sun, Apr 25, 2021 at 7:57 AM Ruifeng Wang wrote: > > The rte_wait_until_equal_xxx APIs abstract the functionality of 'polling > for a memory location to become equal to a given value'[1]. > > Use the API for the rte spinlock and ring implementations. > With the wait until equal APIs being stable, changes will not impact ABI. Afaics, there is no ARM target with WFE enabled and we lost ability to enable WFE support with removal of the make build system. $ git grep RTE_ARM_USE_WFE config/arm/meson.build: ['RTE_ARM_USE_WFE', false], lib/eal/arm/include/rte_pause_64.h:#ifdef RTE_ARM_USE_WFE How did you enable WFE to test this series? -- David Marchand