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 00812431BE; Fri, 20 Oct 2023 22:59:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3D01C42D68; Fri, 20 Oct 2023 22:58:27 +0200 (CEST) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mails.dpdk.org (Postfix) with ESMTP id 49F9F42686 for ; Fri, 20 Oct 2023 22:58:22 +0200 (CEST) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1cac80292aeso8833525ad.1 for ; Fri, 20 Oct 2023 13:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697835501; x=1698440301; 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=PaxLEtrsNzL6oKplzWzRvcstHNw24KRCq+dpodfXq5U=; b=KrudiTzDIvECGCyz9hEAnF3ZjvyxFxNsl7X8DdbT19y3RCGNAt38vEaqJ+4mwV401R 6TupD6Gbv+1QYFwySs2VUraCtIlBqa0EZXg1vf4Im4RU9uBbYYYAnIXONve1ycOfb1ok eMUllgsE5v7Q4FGjoJaWdPh5DnXbKYzY/ix8x1ltHNHv196ZSJwAfFnmk+mLz3Gp2h9b 3UH9pSp+0UeBuJFNfFPZ6WF5/QcL0HKO98ax26zucwwyPpC1K75dzSeQ4ggiTVXCnqIK 8eX5tVQePbnY+5rA6b3pp/c/pzxJgR4CM5ZIrgTf/w9fKhFLMxWRk5VeEi+5F6yBBdC1 Ezeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697835501; x=1698440301; 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=PaxLEtrsNzL6oKplzWzRvcstHNw24KRCq+dpodfXq5U=; b=s1nNpFUs5AIET9NQ0v5TWzI7+VEpRatYJP+ZT0dKrIwn0c4VfHJWgs8aCY5b1RRb1k oARMO+wh+AbqQxcIE2+PAPZFUzRNNK0Ij4VQGM9i5+NBOOI7EzzTSrFIRfcXOjK80895 TSG9yb7AGXIQeGfoqZ/GGPDCspHf0KcVMNZSwrUlu2m7h58qwjMGJgPGp8FcK29x7+4h jA507SKLOpPw8lJmGkOk/w6rMHoyK4EzVo0/eVEz7mOFuuwtkprm6ISZOIqMT5JA69B6 qxBpU8Ww3S1xWmuQwq03ksQofZZb3K4VhQPVHAZmZ89DTojTa+utjyjC/PKVuY12OKH0 mX5g== X-Gm-Message-State: AOJu0YwF9fORaeEi+eYHPFBAek+XF/XY4EbfMCAaTKamtf9DO9Pfnnpd hKOm9xe+lsN/FyMsD2WJxOaddKflm1RBJUIwfnP4DQ== X-Google-Smtp-Source: AGHT+IFhSwBsQ1CuVLobi4FTEhvHCGJ9YXJIkzF5R1IdsIi+41ZjEkXQURZvpT7wprSyJp92JcNlRA== X-Received: by 2002:a17:902:e5c8:b0:1ca:85ae:3b4f with SMTP id u8-20020a170902e5c800b001ca85ae3b4fmr3338397plf.55.1697835501297; Fri, 20 Oct 2023 13:58:21 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id u17-20020a170902e5d100b001c61512f2a6sm1930961plf.220.2023.10.20.13.58.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 13:58:20 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu Subject: [PATCH v5 12/26] sched: remove experimental Date: Fri, 20 Oct 2023 13:57:45 -0700 Message-Id: <20231020205759.195126-13-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020205759.195126-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231020205759.195126-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 The overcommit and PIE support was added back in 2020. Remove experimental tag. Signed-off-by: Stephen Hemminger Acked-by: Cristian Dumitrescu --- lib/sched/rte_pie.h | 8 -------- lib/sched/rte_sched.h | 5 ----- lib/sched/version.map | 18 ++++-------------- 3 files changed, 4 insertions(+), 27 deletions(-) diff --git a/lib/sched/rte_pie.h b/lib/sched/rte_pie.h index e0d6d5a3cdcd..631c657980eb 100644 --- a/lib/sched/rte_pie.h +++ b/lib/sched/rte_pie.h @@ -78,7 +78,6 @@ struct rte_pie { * @retval !0 error */ int -__rte_experimental rte_pie_rt_data_init(struct rte_pie *pie); /** @@ -95,7 +94,6 @@ rte_pie_rt_data_init(struct rte_pie *pie); * @retval !0 error */ int -__rte_experimental rte_pie_config_init(struct rte_pie_config *pie_cfg, const uint16_t qdelay_ref, const uint16_t dp_update_interval, @@ -116,7 +114,6 @@ rte_pie_config_init(struct rte_pie_config *pie_cfg, * @retval !0 drop the packet */ static int -__rte_experimental rte_pie_enqueue_empty(const struct rte_pie_config *pie_cfg, struct rte_pie *pie, uint32_t pkt_len) @@ -148,7 +145,6 @@ rte_pie_enqueue_empty(const struct rte_pie_config *pie_cfg, * @param time [in] current time (measured in cpu cycles) */ static void -__rte_experimental _calc_drop_probability(const struct rte_pie_config *pie_cfg, struct rte_pie *pie, uint64_t time) { @@ -212,7 +208,6 @@ _calc_drop_probability(const struct rte_pie_config *pie_cfg, * @retval 1 drop the packet */ static inline int -__rte_experimental _rte_pie_drop(const struct rte_pie_config *pie_cfg, struct rte_pie *pie) { @@ -261,7 +256,6 @@ _rte_pie_drop(const struct rte_pie_config *pie_cfg, * @retval 2 drop the packet based on mark probability criterion */ static inline int -__rte_experimental rte_pie_enqueue_nonempty(const struct rte_pie_config *pie_cfg, struct rte_pie *pie, uint32_t pkt_len, @@ -329,7 +323,6 @@ rte_pie_enqueue_nonempty(const struct rte_pie_config *pie_cfg, * @retval 1 drop the packet based on drop probability criteria */ static inline int -__rte_experimental rte_pie_enqueue(const struct rte_pie_config *pie_cfg, struct rte_pie *pie, const unsigned int qlen, @@ -354,7 +347,6 @@ rte_pie_enqueue(const struct rte_pie_config *pie_cfg, * @param time [in] current time stamp in cpu cycles */ static inline void -__rte_experimental rte_pie_dequeue(struct rte_pie *pie, uint32_t pkt_len, uint64_t time) diff --git a/lib/sched/rte_sched.h b/lib/sched/rte_sched.h index a9ac5909ad0c..77fc78ce2fe9 100644 --- a/lib/sched/rte_sched.h +++ b/lib/sched/rte_sched.h @@ -353,9 +353,6 @@ rte_sched_subport_pipe_profile_add(struct rte_sched_port *port, uint32_t *pipe_profile_id); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Hierarchical scheduler subport bandwidth profile add * Note that this function is safe to use in runtime for adding new * subport bandwidth profile as it doesn't have any impact on hierarchical @@ -369,7 +366,6 @@ rte_sched_subport_pipe_profile_add(struct rte_sched_port *port, * @return * 0 upon success, error code otherwise */ -__rte_experimental int rte_sched_port_subport_profile_add(struct rte_sched_port *port, struct rte_sched_subport_profile_params *profile, @@ -592,7 +588,6 @@ rte_sched_port_dequeue(struct rte_sched_port *port, struct rte_mbuf **pkts, uint * @return * 0 upon success, error code otherwise */ -__rte_experimental int rte_sched_subport_tc_ov_config(struct rte_sched_port *port, uint32_t subport_id, bool tc_ov_enable); diff --git a/lib/sched/version.map b/lib/sched/version.map index d9ce68be1449..be1decaeee46 100644 --- a/lib/sched/version.map +++ b/lib/sched/version.map @@ -2,6 +2,8 @@ DPDK_24 { global: rte_approx; + rte_pie_config_init; + rte_pie_rt_data_init; rte_red_config_init; rte_red_log2_1_minus_Wq; rte_red_pow2_frac_inv; @@ -17,24 +19,12 @@ DPDK_24 { rte_sched_port_pkt_read_color; rte_sched_port_pkt_read_tree_path; rte_sched_port_pkt_write; + rte_sched_port_subport_profile_add; rte_sched_queue_read_stats; rte_sched_subport_config; rte_sched_subport_pipe_profile_add; rte_sched_subport_read_stats; + rte_sched_subport_tc_ov_config; local: *; }; - -EXPERIMENTAL { - global: - - # added in 20.11 - rte_sched_port_subport_profile_add; - - # added in 21.11 - rte_pie_rt_data_init; - rte_pie_config_init; - - # added in 22.07 - rte_sched_subport_tc_ov_config; -}; -- 2.39.2