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 73792A0C45; Wed, 27 Oct 2021 10:10:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1ADEB40040; Wed, 27 Oct 2021 10:10:30 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 62DE84003F for ; Wed, 27 Oct 2021 10:10:29 +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 D3C39106F; Wed, 27 Oct 2021 01:10:28 -0700 (PDT) Received: from net-x86-dell-8268.shanghai.arm.com (net-x86-dell-8268.shanghai.arm.com [10.169.210.103]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7F4A53F70D; Wed, 27 Oct 2021 01:10:27 -0700 (PDT) From: Feifei Wang To: Cc: dev@dpdk.org, nd@arm.com, Feifei Wang Date: Wed, 27 Oct 2021 16:10:14 +0800 Message-Id: <20211027081018.653746-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] [PATCH v6 0/4] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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) v3: 1. delete unnecessary bug fix in bpf (Konstantin) v4: 1. put size into the macro body (Konstantin) 2. replace assert with BUILD_BUG_ON (Stephen) 3. delete unnecessary compiler barrier for bpf (Konstantin) v5: 1. 'size' is not the parameter (Konstantin) 2. put () around macro parameters (Konstantin) 3. fix some original typo issue (Jerin) 4. swap 'rte_wait_event' parameter location (Jerin) 5. add new macro '__LOAD_EXC' 6. delete 'undef' to prevent compilation warning v6: 1. fix patch style check warning 2. delete 'bpf' patch due to 'const' limit Feifei Wang (4): eal: add new definitions for wait scheme eal: use wait event for read pflock eal: use wait event scheme for mcslock lib/distributor: use wait event scheme lib/distributor/rte_distributor_single.c | 10 +- lib/eal/arm/include/rte_pause_64.h | 136 +++++++++++++---------- lib/eal/include/generic/rte_mcslock.h | 9 +- lib/eal/include/generic/rte_pause.h | 28 +++++ lib/eal/include/generic/rte_pflock.h | 4 +- 5 files changed, 119 insertions(+), 68 deletions(-) -- 2.25.1