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 C9824A04AF; Sun, 3 May 2020 16:54:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 60AA71D509; Sun, 3 May 2020 16:54:32 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 70E4C1D381 for ; Sun, 3 May 2020 16:54:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588517670; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gM1uH5M3drVen532mWQ4oFiTuT82GJQF6hx8uFMgRYo=; b=jLGT6eay3NPYN130Ob12hOH+Cj2erYl0ML3jyV3+o+KbpN/jg8xbr9SPDDLqmmgx2v8K7G MmX8rGTYErdmGHoUsEFeNuPo7+8FXnxzlEl3p9FiBAVj7ViSFCRqgDJbYFwxO72JNx/xVo oZNH4eY0AXqGPrwfXtOJeoOqsO+yOUE= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-305-n2E7MTGKMMqzrHjISUKkiQ-1; Sun, 03 May 2020 10:54:22 -0400 X-MC-Unique: n2E7MTGKMMqzrHjISUKkiQ-1 Received: by mail-vk1-f200.google.com with SMTP id u4so3564402vkl.7 for ; Sun, 03 May 2020 07:54:22 -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=LB9hhrNGil4ijJTLiMsX0YdZOJBBDAWMmtWQYGD0WN0=; b=R/20TJUMMa8kQc1qT9ioy/rJVjg1BfHdbcpvS55QuP6LnI/ahOa1mEH5jRFWUYB8BR 83BZiocaN5NwitR8h6Y81l2eDRL4kRro4JIVTcTT3GE1zDNx3IcU2RnJ+hW/uo9fCPqJ Yt4MlLi7TGCy6mim/0cCrjJUO2OcCfbr4HWDbbkfynaM5gWpzIB4WEtqLRBRhZzh4eeb riX53ZvOo+7D2e1ZO/Z03GuPOtmi+Qv3Gboe7FknANmu9ZH5saHWyC4MypxWL4CTKzws CGIGZDtLrCwn8uTQ218TbnIQik7iythgLAYqTlxRmbnqWu0RZ4QJOMJfwzjXQ9rJjfjx AjUw== X-Gm-Message-State: AGi0Pub6Ab02hM0tlDX/bVEtQ8Xy5aT54YvKAUj7J7OOrZvXOzr3WSoM z+ntsLyozrd79kT6rgphJSEGhFLvE27tA382qQgOH46RU4c2ibqP/MecElAnnv3jm0+vutxEDav yeFbhHmF6LBR1scorzLo= X-Received: by 2002:a05:6102:4d:: with SMTP id k13mr9099219vsp.198.1588517662206; Sun, 03 May 2020 07:54:22 -0700 (PDT) X-Google-Smtp-Source: APiQypKSDbUWjtaRw2abUwFq22TaiNkZFecKTISV0+ZiIwQDnGa4l70/Kn43fICm4nQ0yxrceamApsQMhqFyA13Kifg= X-Received: by 2002:a05:6102:4d:: with SMTP id k13mr9099211vsp.198.1588517661937; Sun, 03 May 2020 07:54:21 -0700 (PDT) MIME-Version: 1.0 References: <20200424070741.16619-1-gavin.hu@arm.com> <20200426083909.897-1-gavin.hu@arm.com> In-Reply-To: <20200426083909.897-1-gavin.hu@arm.com> From: David Marchand Date: Sun, 3 May 2020 16:54:11 +0200 Message-ID: To: Gavin Hu Cc: dev , nd , Thomas Monjalon , Jerin Jacob Kollanukkaran , Honnappa Nagarahalli , "Ruifeng Wang (Arm Technology China)" , Phil Yang , Joyce Kong , "Ananyev, Konstantin" X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v2 0/2] Use WFE for spinlock and ring 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" On Sun, Apr 26, 2020 at 10:39 AM Gavin Hu 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. > > [1] http://patches.dpdk.org/cover/62703/ > > Gavin Hu (2): > spinlock: use wfe to reduce contention on aarch64 > ring: use wfe to wait for ring tail update on aarch64 This would result in rte_ring and rte_spinlock APIs becoming experimental and this breaks compilation for external applications using stable ring and spinlock APIs. IIRC, it was the reason why these patches were dropped with the introduction of the rte_wait_until_equal_* API. --=20 David Marchand