From: Joyce Kong <joyce.kong@arm.com>
To: thomas@monjalon.net, honnappa.nagarahalli@arm.com,
phil.yang@arm.com, ruifeng.wang@arm.com
Cc: dev@dpdk.org, nd@arm.com
Subject: [dpdk-dev] [PATCH 2/4] eal/mcslock: remove experimental tag
Date: Fri, 11 Sep 2020 13:45:32 +0800 [thread overview]
Message-ID: <20200911054534.55378-3-joyce.kong@arm.com> (raw)
In-Reply-To: <20200911054534.55378-1-joyce.kong@arm.com>
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 <joyce.kong@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Phil Yang <phil.yang@arm.com>
---
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 <cristian.dumitrescu@intel.com>
F: lib/librte_eal/include/rte_bitmap.h
F: app/test/test_bitmap.c
-MCSlock - EXPERIMENTAL
+MCSlock
M: Phil Yang <phil.yang@arm.com>
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
next prev parent reply other threads:[~2020-09-11 5:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-11 5:45 [dpdk-dev] [PATCH 0/4] remove experimental tags from APIs Joyce Kong
2020-09-11 5:45 ` [dpdk-dev] [PATCH 1/4] eal/ticketlock: remove experimental tag Joyce Kong
2020-09-11 5:45 ` Joyce Kong [this message]
2020-09-11 5:45 ` [dpdk-dev] [PATCH 3/4] rcu: remove experimental tag from QSBR mechanism Joyce Kong
2020-10-05 8:54 ` Kinsella, Ray
2020-09-11 5:45 ` [dpdk-dev] [PATCH 4/4] eal/pause: remove experimental tag from wait until equal Joyce Kong
2021-07-07 14:42 ` Stephen Hemminger
2020-09-16 17:09 ` [dpdk-dev] [PATCH 0/4] remove experimental tags from APIs David Marchand
2020-09-25 14:12 ` David Marchand
2020-09-25 14:14 ` Ananyev, Konstantin
2020-10-05 19:39 ` David Christensen
2020-10-05 8:39 ` Kinsella, Ray
2020-10-05 12:18 ` David Marchand
2020-10-06 8:30 ` David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200911054534.55378-3-joyce.kong@arm.com \
--to=joyce.kong@arm.com \
--cc=dev@dpdk.org \
--cc=honnappa.nagarahalli@arm.com \
--cc=nd@arm.com \
--cc=phil.yang@arm.com \
--cc=ruifeng.wang@arm.com \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).