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 D0742431EB; Tue, 24 Oct 2023 04:55:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3D64D42DCD; Tue, 24 Oct 2023 04:54:44 +0200 (CEST) Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) by mails.dpdk.org (Postfix) with ESMTP id 6D37042D72 for ; Tue, 24 Oct 2023 04:54:40 +0200 (CEST) Received: by mail-qk1-f178.google.com with SMTP id af79cd13be357-778af1b5b1eso240168685a.2 for ; Mon, 23 Oct 2023 19:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116079; x=1698720879; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=R4L6+6HkaxrgWVYchlYs7gCVrOyOL5iCGlIfk2KtL1g=; b=kn93NgEzoFqncIh1lB1piTM5pTSGfyS9sj0S0V6NCsEV//Z6F2XkBpguou+Onsu3/+ 7ERoBfnLdW1vkayI1yLywzaHT+ctAOqjcZ3xPP0GR7bSnzmTq3AUlwQ1mLn0itPk8CDe SuEW4rtFr20okPUxuIHp4WCy7zWGQGFRqtQISpBbAfjtMcqQKpDosxML7clrQxJ+SPwN IbMTURlEq/2uWEWjcpBpdEzfQFpv9OPeAl8owFkrRFXJWy+6STKnNxBhP97UvUWYaJqE 4Pn/2XV8wCg8IX1HYNV7VPT8NjLmS4y2SBWoMwLcjbyVFziQYitozCWjps/M33UbSz5g 5BFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116079; x=1698720879; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R4L6+6HkaxrgWVYchlYs7gCVrOyOL5iCGlIfk2KtL1g=; b=qr+kX40O7BlVc2Vzvz1BIv0F2ecRp5E4aSjGvyXmf0CW6XMAprD2h4dAebMbS0l7BL 7uv+BIWSlaXLdWTEJSL75nq7P+/6tSWxvkarrsD74L+JP2naGjGS94GUg+4JWp7yeleD i9FjT/2wH9SuT6VAhXpipeSVUZExj8uFWDbCE9J/eJLQ0vYAFacz70sEZlDMh6vT8v2b qLoM/T31NLgkaXourem26fGBaZ8zWj8C8rwYOwj2dv0dCEuG+C3r+GTAfwm6MGr89ZHC /wporTNCZZiFuh0WsQesRz8L04BZcGD4e+0Ol4ihfu7hYwl4P1P6O7433YGM9zt+x8tB 4quQ== X-Gm-Message-State: AOJu0YxkfLH9CBUtnop8PyIBuFbMU6GPpoMbSbWE4o4faBaJ17nInXwT IkPYzWpil2jjYMOmHtdWvpPSetYHzgoAK9AW2IiPSw== X-Google-Smtp-Source: AGHT+IHcbJfWl0ke/UCQnXW4/4ZXvGWcjF6iKx0BmQn1z750684vy2H4xdiKjodjmsVoc3C7lclQpg== X-Received: by 2002:a05:620a:4256:b0:777:5e79:d280 with SMTP id w22-20020a05620a425600b007775e79d280mr12248296qko.53.1698116079584; Mon, 23 Oct 2023 19:54:39 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:38 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Honnappa Nagarahalli Subject: [PATCH v7 07/25] rcu: remove experimental from rte_rcu_qbsr Date: Mon, 23 Oct 2023 19:54:04 -0700 Message-Id: <20231024025422.126021-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 These functions were added back in 2020. Remove experimental flag. Signed-off-by: Stephen Hemminger Reviewed-by: Honnappa Nagarahalli --- lib/rcu/rte_rcu_qsbr.h | 20 -------------------- lib/rcu/version.map | 15 ++++----------- 2 files changed, 4 insertions(+), 31 deletions(-) diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h index 87e1b55153b5..74ef41e0fac1 100644 --- a/lib/rcu/rte_rcu_qsbr.h +++ b/lib/rcu/rte_rcu_qsbr.h @@ -10,10 +10,6 @@ * * RTE Quiescent State Based Reclamation (QSBR). * - * @warning - * @b EXPERIMENTAL: - * All functions in this file may be changed or removed without prior notice. - * * Quiescent State (QS) is any point in the thread execution * where the thread does not hold a reference to a data structure * in shared memory. While using lock-less data structures, the writer @@ -727,9 +723,6 @@ int rte_rcu_qsbr_dump(FILE *f, struct rte_rcu_qsbr *v); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Create a queue used to store the data structure elements that can * be freed later. This queue is referred to as 'defer queue'. * @@ -742,14 +735,10 @@ rte_rcu_qsbr_dump(FILE *f, struct rte_rcu_qsbr *v); * - EINVAL - NULL parameters are passed * - ENOMEM - Not enough memory */ -__rte_experimental struct rte_rcu_qsbr_dq * rte_rcu_qsbr_dq_create(const struct rte_rcu_qsbr_dq_parameters *params); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Enqueue one resource to the defer queue and start the grace period. * The resource will be freed later after at least one grace period * is over. @@ -777,14 +766,10 @@ rte_rcu_qsbr_dq_create(const struct rte_rcu_qsbr_dq_parameters *params); * if the defer queue size is equal (or larger) than the * number of elements in the data structure. */ -__rte_experimental int rte_rcu_qsbr_dq_enqueue(struct rte_rcu_qsbr_dq *dq, void *e); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Free resources from the defer queue. * * This API is multi-thread safe. @@ -806,15 +791,11 @@ rte_rcu_qsbr_dq_enqueue(struct rte_rcu_qsbr_dq *dq, void *e); * On error - 1 with rte_errno set to * - EINVAL - NULL parameters are passed */ -__rte_experimental int rte_rcu_qsbr_dq_reclaim(struct rte_rcu_qsbr_dq *dq, unsigned int n, unsigned int *freed, unsigned int *pending, unsigned int *available); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Delete a defer queue. * * It tries to reclaim all the resources on the defer queue. @@ -832,7 +813,6 @@ rte_rcu_qsbr_dq_reclaim(struct rte_rcu_qsbr_dq *dq, unsigned int n, * - EAGAIN - Some of the resources have not completed at least 1 grace * period, try again. */ -__rte_experimental int rte_rcu_qsbr_dq_delete(struct rte_rcu_qsbr_dq *dq); diff --git a/lib/rcu/version.map b/lib/rcu/version.map index 9218ed1f3399..982ffd59d9cd 100644 --- a/lib/rcu/version.map +++ b/lib/rcu/version.map @@ -2,6 +2,10 @@ DPDK_24 { global: rte_rcu_log_type; + rte_rcu_qsbr_dq_create; + rte_rcu_qsbr_dq_delete; + rte_rcu_qsbr_dq_enqueue; + rte_rcu_qsbr_dq_reclaim; rte_rcu_qsbr_dump; rte_rcu_qsbr_get_memsize; rte_rcu_qsbr_init; @@ -11,14 +15,3 @@ DPDK_24 { local: *; }; - -EXPERIMENTAL { - global: - - rte_rcu_qsbr_dq_create; - rte_rcu_qsbr_dq_enqueue; - rte_rcu_qsbr_dq_reclaim; - rte_rcu_qsbr_dq_delete; - - local: *; -}; -- 2.39.2