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 77D5FA04B5; Fri, 11 Sep 2020 07:46:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 173EB1C0D4; Fri, 11 Sep 2020 07:46:01 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id B52A81C0D2 for ; Fri, 11 Sep 2020 07:45:59 +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 42674106F; Thu, 10 Sep 2020 22:45:59 -0700 (PDT) Received: from net-arm-thunderx2-03.shanghai.arm.com (net-arm-thunderx2-03.shanghai.arm.com [10.169.210.123]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 1101F3F68F; Thu, 10 Sep 2020 22:45:56 -0700 (PDT) From: Joyce Kong To: thomas@monjalon.net, honnappa.nagarahalli@arm.com, phil.yang@arm.com, ruifeng.wang@arm.com Cc: dev@dpdk.org, nd@arm.com Date: Fri, 11 Sep 2020 13:45:32 +0800 Message-Id: <20200911054534.55378-3-joyce.kong@arm.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200911054534.55378-1-joyce.kong@arm.com> References: <20200911054534.55378-1-joyce.kong@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 2/4] eal/mcslock: remove experimental tag 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" Since rte_mcslock APIs were introduced in 19.08 release, it is now possible to remove the experimental tag from: rte_mcslock_lock() rte_mcslock_unlock() rte_mcslock_trylock() rte_mcslock_is_locked() Signed-off-by: Joyce Kong Reviewed-by: Ruifeng Wang Acked-by: Phil Yang --- MAINTAINERS | 2 +- lib/librte_eal/include/generic/rte_mcslock.h | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3003852b5..0e43a28bf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -264,7 +264,7 @@ M: Cristian Dumitrescu F: lib/librte_eal/include/rte_bitmap.h F: app/test/test_bitmap.c -MCSlock - EXPERIMENTAL +MCSlock M: Phil Yang F: lib/librte_eal/include/generic/rte_mcslock.h F: app/test/test_mcslock.c diff --git a/lib/librte_eal/include/generic/rte_mcslock.h b/lib/librte_eal/include/generic/rte_mcslock.h index 2bef28351..78b0df295 100644 --- a/lib/librte_eal/include/generic/rte_mcslock.h +++ b/lib/librte_eal/include/generic/rte_mcslock.h @@ -32,9 +32,6 @@ typedef struct rte_mcslock { } rte_mcslock_t; /** - * @warning - * @b EXPERIMENTAL: This API may change without prior notice - * * Take the MCS lock. * * @param msl @@ -45,7 +42,6 @@ typedef struct rte_mcslock { * A pointer to a new node of MCS lock. Each CPU/thread acquiring the * lock should use its 'own node'. */ -__rte_experimental static inline void rte_mcslock_lock(rte_mcslock_t **msl, rte_mcslock_t *me) { @@ -85,9 +81,6 @@ rte_mcslock_lock(rte_mcslock_t **msl, rte_mcslock_t *me) } /** - * @warning - * @b EXPERIMENTAL: This API may change without prior notice - * * Release the MCS lock. * * @param msl @@ -95,7 +88,6 @@ rte_mcslock_lock(rte_mcslock_t **msl, rte_mcslock_t *me) * @param me * A pointer to the node of MCS lock passed in rte_mcslock_lock. */ -__rte_experimental static inline void rte_mcslock_unlock(rte_mcslock_t **msl, rte_mcslock_t *me) { @@ -126,9 +118,6 @@ rte_mcslock_unlock(rte_mcslock_t **msl, rte_mcslock_t *me) } /** - * @warning - * @b EXPERIMENTAL: This API may change without prior notice - * * Try to take the lock. * * @param msl @@ -138,7 +127,6 @@ rte_mcslock_unlock(rte_mcslock_t **msl, rte_mcslock_t *me) * @return * 1 if the lock is successfully taken; 0 otherwise. */ -__rte_experimental static inline int rte_mcslock_trylock(rte_mcslock_t **msl, rte_mcslock_t *me) { @@ -159,9 +147,6 @@ rte_mcslock_trylock(rte_mcslock_t **msl, rte_mcslock_t *me) } /** - * @warning - * @b EXPERIMENTAL: This API may change without prior notice - * * Test if the lock is taken. * * @param msl @@ -169,7 +154,6 @@ rte_mcslock_trylock(rte_mcslock_t **msl, rte_mcslock_t *me) * @return * 1 if the lock is currently taken; 0 otherwise. */ -__rte_experimental static inline int rte_mcslock_is_locked(rte_mcslock_t *msl) { -- 2.28.0