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 8BFB24301D; Wed, 9 Aug 2023 21:47:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 258CC40DFB; Wed, 9 Aug 2023 21:47:51 +0200 (CEST) Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3]) by mails.dpdk.org (Postfix) with ESMTP id 88DE540DDB for ; Wed, 9 Aug 2023 21:47:49 +0200 (CEST) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 3F93910F2 for ; Wed, 9 Aug 2023 21:47:49 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 3E43C1351; Wed, 9 Aug 2023 21:47:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on hermod.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=ALL_TRUSTED, AWL, NICE_REPLY_A autolearn=disabled version=3.4.6 X-Spam-Score: -3.5 Received: from [192.168.1.59] (h-62-63-215-114.A163.priv.bahnhof.se [62.63.215.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 84A6C1160; Wed, 9 Aug 2023 21:47:48 +0200 (CEST) Message-ID: <5ed8965f-1e2c-9c28-2cd2-fbf2bda9f6e3@lysator.liu.se> Date: Wed, 9 Aug 2023 21:47:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 09/15] eal: make seqcount and seqlock stable Content-Language: en-US To: Stephen Hemminger , dev@dpdk.org Cc: =?UTF-8?Q?Mattias_R=c3=b6nnblom?= References: <20230809164312.308093-1-stephen@networkplumber.org> <20230809164312.308093-10-stephen@networkplumber.org> From: =?UTF-8?Q?Mattias_R=c3=b6nnblom?= In-Reply-To: <20230809164312.308093-10-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP 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 On 2023-08-09 18:43, Stephen Hemminger wrote: > These were add back in 22.07 release. > > Signed-off-by: Stephen Hemminger > --- > lib/eal/include/rte_seqcount.h | 23 ----------------------- > lib/eal/include/rte_seqlock.h | 21 --------------------- > 2 files changed, 44 deletions(-) > Acked-by: Mattias Rönnblom > diff --git a/lib/eal/include/rte_seqcount.h b/lib/eal/include/rte_seqcount.h > index ff62708e1b7b..6390a5a72f7c 100644 > --- a/lib/eal/include/rte_seqcount.h > +++ b/lib/eal/include/rte_seqcount.h > @@ -40,15 +40,11 @@ typedef struct { > #define RTE_SEQCOUNT_INITIALIZER { .sn = 0 } > > /** > - * @warning > - * @b EXPERIMENTAL: this API may change without prior notice. > - * > * Initialize the sequence counter. > * > * @param seqcount > * A pointer to the sequence counter. > */ > -__rte_experimental > static inline void > rte_seqcount_init(rte_seqcount_t *seqcount) > { > @@ -56,9 +52,6 @@ rte_seqcount_init(rte_seqcount_t *seqcount) > } > > /** > - * @warning > - * @b EXPERIMENTAL: this API may change without prior notice. > - * > * Begin a read-side critical section. > * > * A call to this function marks the beginning of a read-side critical > @@ -100,8 +93,6 @@ rte_seqcount_init(rte_seqcount_t *seqcount) > * > * @see rte_seqcount_read_retry() > */ > - > -__rte_experimental > static inline uint32_t > rte_seqcount_read_begin(const rte_seqcount_t *seqcount) > { > @@ -113,9 +104,6 @@ rte_seqcount_read_begin(const rte_seqcount_t *seqcount) > } > > /** > - * @warning > - * @b EXPERIMENTAL: this API may change without prior notice. > - * > * End a read-side critical section. > * > * A call to this function marks the end of a read-side critical > @@ -145,8 +133,6 @@ rte_seqcount_read_begin(const rte_seqcount_t *seqcount) > * > * @see rte_seqcount_read_begin() > */ > - > -__rte_experimental > static inline bool > rte_seqcount_read_retry(const rte_seqcount_t *seqcount, uint32_t begin_sn) > { > @@ -171,9 +157,6 @@ rte_seqcount_read_retry(const rte_seqcount_t *seqcount, uint32_t begin_sn) > } > > /** > - * @warning > - * @b EXPERIMENTAL: this API may change without prior notice. > - * > * Begin a write-side critical section. > * > * A call to this function marks the beginning of a write-side > @@ -195,8 +178,6 @@ rte_seqcount_read_retry(const rte_seqcount_t *seqcount, uint32_t begin_sn) > * > * @see rte_seqcount_write_end() > */ > - > -__rte_experimental > static inline void > rte_seqcount_write_begin(rte_seqcount_t *seqcount) > { > @@ -213,9 +194,6 @@ rte_seqcount_write_begin(rte_seqcount_t *seqcount) > } > > /** > - * @warning > - * @b EXPERIMENTAL: this API may change without prior notice. > - * > * End a write-side critical section. > * > * A call to this function marks the end of the write-side critical > @@ -227,7 +205,6 @@ rte_seqcount_write_begin(rte_seqcount_t *seqcount) > * > * @see rte_seqcount_write_begin() > */ > -__rte_experimental > static inline void > rte_seqcount_write_end(rte_seqcount_t *seqcount) > { > diff --git a/lib/eal/include/rte_seqlock.h b/lib/eal/include/rte_seqlock.h > index fcbb9c586668..589c98188529 100644 > --- a/lib/eal/include/rte_seqlock.h > +++ b/lib/eal/include/rte_seqlock.h > @@ -114,9 +114,6 @@ typedef struct { > } > > /** > - * @warning > - * @b EXPERIMENTAL: this API may change without prior notice. > - * > * Initialize the seqlock. > * > * This function initializes the seqlock, and leaves the writer-side > @@ -125,7 +122,6 @@ typedef struct { > * @param seqlock > * A pointer to the seqlock. > */ > -__rte_experimental > static inline void > rte_seqlock_init(rte_seqlock_t *seqlock) > { > @@ -134,9 +130,6 @@ rte_seqlock_init(rte_seqlock_t *seqlock) > } > > /** > - * @warning > - * @b EXPERIMENTAL: this API may change without prior notice. > - * > * Begin a read-side critical section. > * > * See rte_seqcount_read_retry() for details. > @@ -150,8 +143,6 @@ rte_seqlock_init(rte_seqlock_t *seqlock) > * @see rte_seqlock_read_retry() > * @see rte_seqcount_read_retry() > */ > - > -__rte_experimental > static inline uint32_t > rte_seqlock_read_begin(const rte_seqlock_t *seqlock) > { > @@ -159,9 +150,6 @@ rte_seqlock_read_begin(const rte_seqlock_t *seqlock) > } > > /** > - * @warning > - * @b EXPERIMENTAL: this API may change without prior notice. > - * > * End a read-side critical section. > * > * See rte_seqcount_read_retry() for details. > @@ -177,7 +165,6 @@ rte_seqlock_read_begin(const rte_seqlock_t *seqlock) > * > * @see rte_seqlock_read_begin() > */ > -__rte_experimental > static inline bool > rte_seqlock_read_retry(const rte_seqlock_t *seqlock, uint32_t begin_sn) > { > @@ -185,9 +172,6 @@ rte_seqlock_read_retry(const rte_seqlock_t *seqlock, uint32_t begin_sn) > } > > /** > - * @warning > - * @b EXPERIMENTAL: this API may change without prior notice. > - * > * Begin a write-side critical section. > * > * A call to this function acquires the write lock associated @p > @@ -212,7 +196,6 @@ rte_seqlock_read_retry(const rte_seqlock_t *seqlock, uint32_t begin_sn) > * > * @see rte_seqlock_write_unlock() > */ > -__rte_experimental > static inline void > rte_seqlock_write_lock(rte_seqlock_t *seqlock) > __rte_exclusive_lock_function(&seqlock->lock) > @@ -224,9 +207,6 @@ rte_seqlock_write_lock(rte_seqlock_t *seqlock) > } > > /** > - * @warning > - * @b EXPERIMENTAL: this API may change without prior notice. > - * > * End a write-side critical section. > * > * A call to this function marks the end of the write-side critical > @@ -238,7 +218,6 @@ rte_seqlock_write_lock(rte_seqlock_t *seqlock) > * > * @see rte_seqlock_write_lock() > */ > -__rte_experimental > static inline void > rte_seqlock_write_unlock(rte_seqlock_t *seqlock) > __rte_unlock_function(&seqlock->lock)