[RFC,v2,0/5] add new definitions for wait scheme
Message ID | 20210923095902.301762-1-feifei.wang2@arm.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1D1C1A0C43; Thu, 23 Sep 2021 11:59:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9CCAC4125D; Thu, 23 Sep 2021 11:59:11 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id F0DE941250 for <dev@dpdk.org>; Thu, 23 Sep 2021 11:59:10 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 579ED106F; Thu, 23 Sep 2021 02:59:10 -0700 (PDT) Received: from net-x86-dell-8268.shanghai.arm.com (net-x86-dell-8268.shanghai.arm.com [10.169.210.115]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 03B283F59C; Thu, 23 Sep 2021 02:59:08 -0700 (PDT) From: Feifei Wang <feifei.wang2@arm.com> To: Cc: dev@dpdk.org, nd@arm.com, Feifei Wang <feifei.wang2@arm.com> Date: Thu, 23 Sep 2021 17:58:57 +0800 Message-Id: <20210923095902.301762-1-feifei.wang2@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210902053253.3017858-1-feifei.wang2@arm.com> References: <20210902053253.3017858-1-feifei.wang2@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [RFC PATCH v2 0/5] add new definitions for wait scheme X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Feifei Wang
Sept. 23, 2021, 9:58 a.m. UTC
Add new definitions for wait scheme, and apply this new definitions into lib to replace rte_pause. v2: 1. use macro to create new wait scheme (Stephen) Feifei Wang (5): eal: add new definitions for wait scheme eal: use wait event for read pflock eal: use wait event scheme for mcslock lib/bpf: use wait event scheme for Rx/Tx iteration lib/distributor: use wait event scheme lib/bpf/bpf_pkt.c | 11 +- lib/distributor/rte_distributor_single.c | 10 +- lib/eal/arm/include/rte_pause_64.h | 151 +++++++++++++++-------- lib/eal/include/generic/rte_mcslock.h | 12 +- lib/eal/include/generic/rte_pause.h | 78 ++++++++++++ lib/eal/include/generic/rte_pflock.h | 4 +- 6 files changed, 192 insertions(+), 74 deletions(-)