From patchwork Wed Aug 9 00:09:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129973 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 249E543011; Wed, 9 Aug 2023 02:11:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A28154327F; Wed, 9 Aug 2023 02:10:40 +0200 (CEST) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mails.dpdk.org (Postfix) with ESMTP id 0775E43276 for ; Wed, 9 Aug 2023 02:10:37 +0200 (CEST) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1bbd03cb7c1so41261105ad.3 for ; Tue, 08 Aug 2023 17:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691539836; x=1692144636; 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=FYf32FUjdEkVb7Wx43ng879dUh9AyXzUMKRqvQlsfA0=; b=fWBFx1xf2lnBSr+4YmAdyA7yZ/ishNfTTovd28HqDrQiU/ZIRcZGMxy9/E/lfDKMZo nbNSiDNQvjHs89LF1HwELKe1ypbJw/MLmqLhfdlnJXqQM7bbGBH4D/zWNrIQRRCYw3EP 7wdSE6b9zoB+lY1xAKT8+glyq3g3bjeJbCjLy6m9whj60Bwd7kvkSyTCQIx+Sk7qgX+u Cbx7HWLY7EktFZYUfO30XVkJlYj4QnQr5S1EQ0qwHxet4XGSEGaRg98fZGnDHq1S7+cP ncnlnfdcbmqJNG5WbDxvDunlR+MB/akyKM6OaJS2v27ittvP4khjxRfaZwTPmpp2y2aC IApQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691539836; x=1692144636; 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=FYf32FUjdEkVb7Wx43ng879dUh9AyXzUMKRqvQlsfA0=; b=FFkpX4lDRNM8JLhhtIh6BwSTS2+gCeYmT4mX4PM13fcTopOHPDVJvTzIceGP+UOxLE usqTxyYZN2QJro8PfCvbJeGibSEmPMIS+U1nk9ijRFBm5We5kGglgGj5y0XHCfcb7eY6 7/8QupGND1RqcFsYioD7+FMtqKjxrOKmOku83GOFiZCdCsHUEE0MYWOG5KNxwFRN0/at hAxn6L59S2tfxtz/8H0MPO6lUzIT9OrSmeARwUPJwSoXbhSjJ9Rp7YphmCCsekubiblU 86ekSOJt82Q5MJN9xZFx5l5G+n1HerkHelrHC85isJmXqwaJ0BhnqezZ7uGg6dQKDC86 FZAQ== X-Gm-Message-State: AOJu0YzXKvHDXo92UpLWRtu6J5NXvO6ojQv6OCZMkXAejpDBeqHcKdcL vOduQNrgiQJtnTtbXQMdWOwtI3vJSgA6BFBFuoGKfw== X-Google-Smtp-Source: AGHT+IHrTVDd77qQ72LHA+HwGCAHFngOYdbJdqHE+Ask1oypfqYSf38esW2E6UA5oZHJjYPUWvhwJg== X-Received: by 2002:a17:903:1cb:b0:1bb:8931:ee94 with SMTP id e11-20020a17090301cb00b001bb8931ee94mr1165358plh.67.1691539835918; Tue, 08 Aug 2023 17:10:35 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id ix11-20020a170902f80b00b001bc676df6a9sm5745629plb.132.2023.08.08.17.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 17:10:35 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Honnappa Nagarahalli Subject: [PATCH v2 08/29] rcu: remove experimental from rte_rcu_qbsr Date: Tue, 8 Aug 2023 17:09:56 -0700 Message-Id: <20230809001017.293037-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809001017.293037-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20230809001017.293037-1-stephen@networkplumber.org> MIME-Version: 1.0 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 --- 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: *; -};