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 249FCA0C4D; Thu, 2 Sep 2021 07:33:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F5D44013F; Thu, 2 Sep 2021 07:33:06 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 4E6AB40041 for ; Thu, 2 Sep 2021 07:33:05 +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 AABA41FB; Wed, 1 Sep 2021 22:33:04 -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 55F443F5A1; Wed, 1 Sep 2021 22:33:03 -0700 (PDT) From: Feifei Wang To: Cc: dev@dpdk.org, nd@arm.com, Feifei Wang Date: Thu, 2 Sep 2021 13:32:48 +0800 Message-Id: <20210902053253.3017858-1-feifei.wang2@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [RFC PATCH v1 0/5] add new API for wait until scheme 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" Add new API for wait_until scheme, and apply this new API into lib to replace rte_pause. Feifei Wang (5): eal: add new API for wait until scheme eal: use wait until scheme for read pflock eal: use wait until scheme for mcslock lib/bpf: use wait until scheme for Rx/Tx iteration lib/distributor: use wait until scheme lib/bpf/bpf_pkt.c | 11 +- lib/distributor/rte_distributor_single.c | 10 +- lib/eal/arm/include/rte_pause_64.h | 271 ++++++++++++++++---- lib/eal/include/generic/rte_mcslock.h | 9 +- lib/eal/include/generic/rte_pause.h | 309 +++++++++++++++++++++++ lib/eal/include/generic/rte_pflock.h | 5 +- 6 files changed, 543 insertions(+), 72 deletions(-) -- 2.25.1