From patchwork Tue Oct 24 02:54:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133246 X-Patchwork-Delegate: david.marchand@redhat.com 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 B7770431EB; Tue, 24 Oct 2023 04:55:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A43C42E02; Tue, 24 Oct 2023 04:54:50 +0200 (CEST) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mails.dpdk.org (Postfix) with ESMTP id 0C91442DD3 for ; Tue, 24 Oct 2023 04:54:45 +0200 (CEST) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6b1ef786b7fso3811092b3a.3 for ; Mon, 23 Oct 2023 19:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116084; x=1698720884; 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=im5Bfj2/OVO8ZEJkmT5IAmcRCM3aCQGiuvmw+0vTvgNYJkNIuK5LZBcB3nti011BF8 E62hqBcORF34S5lozEqYXSmg+WbCrV5CcbR1pHmei+j6nJmSdkwgsTXAQ3hqiZj7WFwu iGgee6Itl42KR+gq4s4vSVXaEMaJj+shtdzG/oX009qZBkcv9Gng1OWjgB32fu/fe1sf yOV0JkeZk/E5OtXC2o6GZhtK86SeVn54kIQFsthI5NqrMiUcptakEwrO7cMov2dTBE2Z C3ImO8lTQquIaBz6uZEpvTMMMoK2CcskPGT1RCUaT8yBnjlPbuny6vEbMD86+QiZSO/n G7/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116084; x=1698720884; 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=Xo1CNY84L+/isVYSNwXAeGSgSm34W+CPZFoDsltocElAWHnNuT675bhMlUwyJ6ysm3 tmpxVbtxV8uojIx1ZrvP6PqRloGkkd+XoX/3tOZTo3U1cPUJ6NipFnB/JAXhtUMMx0Sv N8HxallMez3XNtMmICefVZoAzl18mdMPawqRSepxesJVUSWaGRfMLXLZIhXvGw1iCnGB w1cuv37RDasHr39UlqsYsMgNSmZ1TyJPxOJhb9W0RbelpNkvx6FQ+npGl+wKfiKGG44U a7Efk8hE7ZGHq3cKl4Aj5Rwe0luT/2VqwVRoI+rk6XP+c9awU/V6wvwevzBBKJulSxd1 mcEA== X-Gm-Message-State: AOJu0YxyH15vf2OA/6ZRlYztcT5ck1h/dQyL5Maa4+HgXO4bucdEEokQ tSMKM9VNuonGVjb22Rmac9YLmtL3Fz+KMVKQJ3EEpg== X-Google-Smtp-Source: AGHT+IFMxsyfGPgc8dspez7FRg8HhmWPzylIcUlDxH4D5XA1AhGGBa2xfxzfdeVq1pACpFvoHAUqKw== X-Received: by 2002:a05:6a00:cd5:b0:6bc:62d0:fff6 with SMTP id b21-20020a056a000cd500b006bc62d0fff6mr11998709pfv.32.1698116084075; Mon, 23 Oct 2023 19:54:44 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:43 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu Subject: [PATCH v7 12/25] sched: remove experimental Date: Mon, 23 Oct 2023 19:54:09 -0700 Message-Id: <20231024025422.126021-13-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 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; -};