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 8CA8943011; Wed, 9 Aug 2023 02:11:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8E9E43299; Wed, 9 Aug 2023 02:10:46 +0200 (CEST) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mails.dpdk.org (Postfix) with ESMTP id 265E243285 for ; Wed, 9 Aug 2023 02:10:42 +0200 (CEST) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-686b9964ae2so4556731b3a.3 for ; Tue, 08 Aug 2023 17:10:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691539841; x=1692144641; 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=WiznQ/BQ3V1OYpHWusX2CtmMSepNzTzJhw/O3J8JsVk=; b=hZKOHqnDq498Qd99MVh4kUoG+3NLwnBXdji6g510bzGTfdT47kZlJ1Gwe2Nfmqd0JJ ukFxixZ3n3yW9CrK5K1jvEJkMKIgXyX7vmJH3+jNb9++ENj3DJQ3w1PH+veZJHQbAzzu Vn1wIk4r2RV72INkB7iZ48Xxi66wJOj6T8UzIlUXPvcxYr2TqooxH9YoOO19KpvzBVYD SL4RNDny9lQ0nm8kHJawIhWHrW0ACpSp1q5Xp2K6CQEhV5peuW50uOTIMZutjr+wr+WM dF8zp5+C2al0vNbdXebppWdCUsz6iG2PPKzFJZwYlGFwsYhoPlx5tsjXwet6jlnN0GMV /8Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691539841; x=1692144641; 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=WiznQ/BQ3V1OYpHWusX2CtmMSepNzTzJhw/O3J8JsVk=; b=g5p82nd+jYVDYQfenooV3s3EPfg+N5fh4EeSvlRQXIWI5eUW7KITvm8BmJD+P8q7Zm TIqZPDN8xrWMUkVa0lMVxblWtfJinYIJNnb4eHB6LO0YG6gUoLCasQfGnNjiko0JyrFb GavfmGOUyuYm2SvGLEGE4S65B84qwuS1d1iDKNmCmRpVypdPgAqdxSTZJcdPpHKYJ7t1 Xc7/NdS/2CDzyb2MdYTXDJPtnDPLghmGacnrsljujF78FHNObXDTfwYbs0FJ6Ki6L1/M DFNETmtecie6RrK/ZLHKFug9AEMp36/p7l1KZnuvPpBqGeRuXklg/HQN9gMdWmAVNjJH okmg== X-Gm-Message-State: AOJu0YxvmCeesA78PyHl9NNpHz7gjGF9MsiUByWH980Ivh8DjLVmduSt Pj0iHT5w4kbPc/1WcHotvztw1z7IIvgS/WPpKiuxxw== X-Google-Smtp-Source: AGHT+IGUKBiYC3XvjOAAsFcZfYfJqiIzjgcCCLS3oEJVohSmJaF5Nvg+fkFh1tGQmcMuNCaB0VON4g== X-Received: by 2002:a05:6a20:9187:b0:13f:67b6:b65f with SMTP id v7-20020a056a20918700b0013f67b6b65fmr1141205pzd.54.1691539841105; Tue, 08 Aug 2023 17:10:41 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 17:10:40 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu Subject: [PATCH v2 13/29] sched: remove experimental Date: Tue, 8 Aug 2023 17:10:01 -0700 Message-Id: <20230809001017.293037-14-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 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 --- 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