From patchwork Thu Oct 19 19:10:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133042 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 5912C431B1; Thu, 19 Oct 2023 21:12:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DB7542E57; Thu, 19 Oct 2023 21:10:46 +0200 (CEST) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mails.dpdk.org (Postfix) with ESMTP id E681E42E0D for ; Thu, 19 Oct 2023 21:10:38 +0200 (CEST) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-6b497c8575aso72138b3a.1 for ; Thu, 19 Oct 2023 12:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697742638; x=1698347438; 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=WiznQ/BQ3V1OYpHWusX2CtmMSepNzTzJhw/O3J8JsVk=; b=XnQRiy1+tx+yQekcrk0Gp+mXF129xkLtkqZC5xxcileFyAH6gQ6voj2T7YhmZr2L38 1fcIdaQrgUDLxTDjmU3L/6tgjU9dIgbcR+Jc9GougSHO6zap42nCttNywMfEjLe3ZH/x kBWTx6i1Rg/I/5LcibRkZBz1ddxGuwyUATinrJEZG6BTbu2PxEM+8Ai2aLpObmsKe40c giG8A7K/OSKETBm49YcBqitU9rW7fx3tzC5ItW1pm4QqB64+Arq+tfy7SrYt3uWu7rOj WLPzpEvRFULNvvaUHDIAms+cNOZYPBfGjRvbQZ18NOBfGnMCfG6PZ7WIiVniT31PUOJA WMJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697742638; x=1698347438; 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=gjLh0HZoEbEbaVCbaIJjs/sScy40SfFyC8MMRg+kFnQtEIo/d6ET1NYglU7RRQ/bLP RJuI+AoDO6WNUWOWOoZwGe7/LtXKSU5L16MqOz5nO67O7DI/I40CedYMKABqRM+eAU7g y5dht7uooSkvABIJiiymPWVLar+JcjTMN1riTsBZ8dMMjCAVjt1zDc59I6QPNi6EyvVu rdz6+L/FVzcAQZGHr0BBpNaG9vcG59kjo/MptUNC8HSO9vWl0fEhU8bbWqsYJveNsSO6 g/ReHeVSCbIYI3Rgcm8WXq1FJpwxB06gc/mwWmuh3wDBNf7zU8mOAjWdBOCBrT0yoIMx 3HDA== X-Gm-Message-State: AOJu0Yxrdp4cpYe7pH+wUTMoupgov3XW4MmEt6qAcA7HVjf0mOwtPpy2 /Dj8If5GOUXmnHhSCsG+bVPyshj1W/bqDFPEywu9ZA== X-Google-Smtp-Source: AGHT+IE7BVty1idWn3IXsOtuOwaWhAHe1FGfW0YWtoSizb9f9btSukLUCYpHDW96dkQLxy9BFaFNDg== X-Received: by 2002:a17:902:bc47:b0:1ca:7086:60ec with SMTP id t7-20020a170902bc4700b001ca708660ecmr3309258plz.65.1697742637834; Thu, 19 Oct 2023 12:10:37 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id h12-20020a170902eecc00b001a9b29b6759sm52464plb.183.2023.10.19.12.10.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 12:10:37 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu Subject: [PATCH v4 13/28] sched: remove experimental Date: Thu, 19 Oct 2023 12:10:01 -0700 Message-Id: <20231019191016.156430-14-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231019191016.156430-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231019191016.156430-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 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; -};