From patchwork Tue Oct 24 02:39:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133231 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 6994A431EB; Tue, 24 Oct 2023 04:40:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3365540C35; Tue, 24 Oct 2023 04:40:04 +0200 (CEST) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mails.dpdk.org (Postfix) with ESMTP id 01ADB400D5 for ; Tue, 24 Oct 2023 04:40:01 +0200 (CEST) Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-5a1d89ff4b9so2175395a12.0 for ; Mon, 23 Oct 2023 19:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698115200; x=1698720000; 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=irN5WZ0A1lRKdHj+1JrZLaBUexTIXx+1tX/EKKjfyMI=; b=SixivhuywkEh8yHR2SsjLs4fA8p9tZyC+GeCIe+CQPggBj504QRzH+SSXJu2ODK0Ro UHHIpeTLDZkuLrTTQKN92ez34OaWbypIPRpEdxc/99acM4sVXVFjEHRX8IKhN+693TWP xmbt39RaLmJ1UeHkmeykR/r0h6PPASuyLxCYmnHOGXoKNuUIXS/FlDFwE+8menvtdSGA VNzitcikcYYtiD6sanBiZ7KsRiVWOEUTYiNmjq9nlV8zVM7czpKfQu3dOcXbrf7vBxNE T1m/A/GJCkAy7tuSl4/N7n44uDKeufEbYRwhWvADfxLCF1cbE3bnbysBrxRp9rzhAz/r Ljfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698115200; x=1698720000; 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=irN5WZ0A1lRKdHj+1JrZLaBUexTIXx+1tX/EKKjfyMI=; b=I6XxUBYhAoikaICC3OXOvKdD4V2xfxLyKJKJh4XSArUh81o19U+wsCdbi33YyMhWcj ecNPIASNiCpv9p193KTaaY8PqRfwlo4813ha7kPb1mJM4s9gzTA8Xro0N6zqX0wK4PDj J8gCXq+ql/MDaiJbO6hH8z31TfZfnBQSxzmGQAo4XomOZbZISGo4ORnbvY/s6F9T/8la LkSXgW2E1Pm4DhlX5+IENLYTPurNCMEnDoHQoVZ057/s19oYKLgVC9IWqQ2yEJqhBmlh pesxNQex0e4NcqWMky7eCHgNpEmmXVBhtjBycBMR2+yvfgzMJdd5pHSZkfnK0gMaDJOy cUtA== X-Gm-Message-State: AOJu0YynocFA68lUth4ZjN260TBKDNt7M+NUmiJgoeMT8uaoC5gYD7oc SWx7F9cFAjr4DWwUB+V9il+AO951J0sRZt00qhB0ww== X-Google-Smtp-Source: AGHT+IFnOUb2mgzJj5chTweO5jvmqsiMdQHp1GTh816mBqKR/xlYSd1vVLVoo/mUXb4hsam58s+Hew== X-Received: by 2002:a05:6a21:7906:b0:17b:1ab9:5790 with SMTP id bg6-20020a056a21790600b0017b1ab95790mr1271046pzc.50.1698115199845; Mon, 23 Oct 2023 19:39:59 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 21-20020a17090a01d500b0027732eb24bbsm9069186pjd.4.2023.10.23.19.39.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:39:59 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH v6 01/25] bpf: make rte_bpf_dump and rte_bpf_convert stable API's Date: Mon, 23 Oct 2023 19:39:23 -0700 Message-Id: <20231024023947.15859-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024023947.15859-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024023947.15859-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 two API's were introduced in 22.11 and can now be made not experimental. Signed-off-by: Stephen Hemminger Acked-by: Konstantin Ananyev --- lib/bpf/rte_bpf.h | 2 -- lib/bpf/version.map | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/bpf/rte_bpf.h b/lib/bpf/rte_bpf.h index 4d71120dbd9d..f70d8dacd0d3 100644 --- a/lib/bpf/rte_bpf.h +++ b/lib/bpf/rte_bpf.h @@ -209,7 +209,6 @@ rte_bpf_get_jit(const struct rte_bpf *bpf, struct rte_bpf_jit *jit); * @param len * Number of BPF instructions to dump. */ -__rte_experimental void rte_bpf_dump(FILE *f, const struct ebpf_insn *buf, uint32_t len); @@ -229,7 +228,6 @@ struct bpf_program; * - ENOMEM - can't reserve enough memory * - ENOTSUP - operation not supported */ -__rte_experimental struct rte_bpf_prm * rte_bpf_convert(const struct bpf_program *prog); diff --git a/lib/bpf/version.map b/lib/bpf/version.map index c49bf1701f0a..2e957494e9df 100644 --- a/lib/bpf/version.map +++ b/lib/bpf/version.map @@ -1,7 +1,9 @@ DPDK_24 { global: + rte_bpf_convert; rte_bpf_destroy; + rte_bpf_dump; rte_bpf_elf_load; rte_bpf_eth_rx_elf_load; rte_bpf_eth_rx_unload; @@ -14,10 +16,3 @@ DPDK_24 { local: *; }; - -EXPERIMENTAL { - global: - - rte_bpf_convert; - rte_bpf_dump; -}; From patchwork Tue Oct 24 02:39:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133232 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 8674C431EB; Tue, 24 Oct 2023 04:40:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 61D6B40E64; Tue, 24 Oct 2023 04:40:05 +0200 (CEST) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTP id F389E40A71 for ; Tue, 24 Oct 2023 04:40:01 +0200 (CEST) Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-27d087c4276so2650678a91.0 for ; Mon, 23 Oct 2023 19:40:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698115201; x=1698720001; 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=tys2+Rbas78abmp2lZkxnmA5eQ/E9vQyCtq1vgD2nPg=; b=fF7KXL5R7cyTPVYsCUTqb3/VsADmohQtFg4xB+z+X7aKsnwcVHVX0puwKKhwAATb3o 2utiz+9nom0d/gXeD5tVjUmy3WpUWful36XMtp9wHDPFHRiFNe6B+x7J6ItnXFwOoNWx SaQISTu6aL9JPFaplFMtdn77J+9CBT4M0KFJNKk6++tJPMc++NIw/vv7JELGAwQE8SZZ zYEoV+hXlB4hY6bcxeFEDrAivfp5UCE7olSMEv7r/McPsepQuPyz0Wf34s28gLiRVrtb m0CmynP1i9MfUftrUnTPp9Cg46TEtrMQAoe7wGV8vhx4VfyEL0xbr4jPkn2kYlEHf4Ln p0Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698115201; x=1698720001; 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=tys2+Rbas78abmp2lZkxnmA5eQ/E9vQyCtq1vgD2nPg=; b=qZ/TFb/UhwwlklfBYCN1qC5z9D4JeugR1yv035HUa/Q2mHkk5ASoLWIyhjEHzIRC0T drpzmGHOEx/Xg/se0SEyAhyR4vfz/FtdTq0Lg4S+IbqJkBq3N9lY+vc28AuvVjsP1bPH KIs0hG8Y25Yqe6jTbGWmSBn0+7pst8S3g4zHPORlHE8XrH5s6NGXHEm4XGfWzCn8yQJ1 7BjHivhabQBJe143/bUnEfm4wnkkCK6G5J5uUkK/+1UT+VeCNbX0tvqmLLMSprREO2Bz 4TDUsb+TEH9M988s4kJPyz8+5n5KNLaXHHMG6CJTQzB+M2Fa2vbnBUjb2mtxeAveEZ+C 9Jqw== X-Gm-Message-State: AOJu0Yxq1BKak1yDX0dRwTXGqMbeDZGGDEhkubc6bWlRrLMfu7lVbY2k qvfYC79u9NaeiqyAYw/VdpgtI8WU5n2S475MDZAfwQ== X-Google-Smtp-Source: AGHT+IGMCusKE+v0VfQiaresRyGUNMwfT8Y3SOkcyVjHoZ6Y0XnYwLANY2aTmMaSoi+8iVbeY3Bpaw== X-Received: by 2002:a17:90a:9d85:b0:27d:839:52ae with SMTP id k5-20020a17090a9d8500b0027d083952aemr8108236pjp.32.1698115200875; Mon, 23 Oct 2023 19:40:00 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 21-20020a17090a01d500b0027732eb24bbsm9069186pjd.4.2023.10.23.19.40.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:40:00 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson Subject: [PATCH v6 02/25] cmdline: make experimental API's stable Date: Mon, 23 Oct 2023 19:39:24 -0700 Message-Id: <20231024023947.15859-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024023947.15859-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024023947.15859-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 API's have all ben around for several releases. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- lib/cmdline/cmdline.h | 1 - lib/cmdline/cmdline_parse.h | 4 ---- lib/cmdline/cmdline_rdline.h | 4 ---- lib/cmdline/version.map | 26 ++++++++------------------ 4 files changed, 8 insertions(+), 27 deletions(-) diff --git a/lib/cmdline/cmdline.h b/lib/cmdline/cmdline.h index 992c84591456..dd41e1054378 100644 --- a/lib/cmdline/cmdline.h +++ b/lib/cmdline/cmdline.h @@ -39,7 +39,6 @@ void cmdline_printf(const struct cmdline *cl, const char *fmt, ...) int cmdline_in(struct cmdline *cl, const char *buf, int size); int cmdline_write_char(struct rdline *rdl, char c); -__rte_experimental struct rdline * cmdline_get_rdline(struct cmdline *cl); diff --git a/lib/cmdline/cmdline_parse.h b/lib/cmdline/cmdline_parse.h index a852ac411c59..41b4db1f76f9 100644 --- a/lib/cmdline/cmdline_parse.h +++ b/lib/cmdline/cmdline_parse.h @@ -155,9 +155,6 @@ typedef cmdline_parse_inst_t *cmdline_parse_ctx_t; int cmdline_parse(struct cmdline *cl, const char *buf); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Try to parse a buffer according to the specified context, but do not * perform any function calls if parse is successful. * @@ -166,7 +163,6 @@ int cmdline_parse(struct cmdline *cl, const char *buf); * CMDLINE_PARSE_BAD_ARGS on error and returns the parsed line length (>=0) * on successful parse. */ -__rte_experimental int cmdline_parse_check(struct cmdline *cl, const char *buf); /** diff --git a/lib/cmdline/cmdline_rdline.h b/lib/cmdline/cmdline_rdline.h index 1b4cc7ce5773..c6bb6bbbb36a 100644 --- a/lib/cmdline/cmdline_rdline.h +++ b/lib/cmdline/cmdline_rdline.h @@ -58,7 +58,6 @@ typedef int (rdline_complete_t)(struct rdline *rdl, const char *buf, * * \return New rdline object on success, NULL on failure. */ -__rte_experimental struct rdline *rdline_new(rdline_write_char_t *write_char, rdline_validate_t *validate, rdline_complete_t *complete, @@ -70,7 +69,6 @@ struct rdline *rdline_new(rdline_write_char_t *write_char, * \param rdl A pointer to an initialized struct rdline. * If NULL, this function is a no-op. */ -__rte_experimental void rdline_free(struct rdline *rdl); /** @@ -163,13 +161,11 @@ char *rdline_get_history_item(struct rdline *rdl, unsigned int i); /** * Get maximum history buffer size. */ -__rte_experimental size_t rdline_get_history_buffer_size(struct rdline *rdl); /** * Get the opaque pointer supplied on struct rdline creation. */ -__rte_experimental void *rdline_get_opaque(struct rdline *rdl); #ifdef __cplusplus diff --git a/lib/cmdline/version.map b/lib/cmdline/version.map index 97166789016c..88174e39bcb7 100644 --- a/lib/cmdline/version.map +++ b/lib/cmdline/version.map @@ -30,11 +30,13 @@ DPDK_24 { cmdline_get_help_num; cmdline_get_help_portlist; cmdline_get_help_string; + cmdline_get_rdline; cmdline_in; cmdline_interact; cmdline_isendoftoken; cmdline_new; cmdline_parse; + cmdline_parse_check; cmdline_parse_etheraddr; cmdline_parse_ipaddr; cmdline_parse_num; @@ -51,37 +53,25 @@ DPDK_24 { cmdline_token_portlist_ops; cmdline_token_string_ops; cmdline_write_char; + rdline_add_history; rdline_char_in; rdline_clear_history; + rdline_free; rdline_get_buffer; + rdline_get_history_buffer_size; rdline_get_history_item; + rdline_get_opaque; + rdline_new; rdline_newline; rdline_quit; rdline_redisplay; rdline_reset; rdline_restart; rdline_stop; + vt100_init; vt100_parser; local: *; }; - -EXPERIMENTAL { - global: - - # added in 20.11 - cmdline_get_rdline; - - # added in 21.11 - rdline_new; - rdline_free; - rdline_get_history_buffer_size; - rdline_get_opaque; - - # added in 22.07 - cmdline_parse_check; - - local: *; -}; From patchwork Tue Oct 24 02:39:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133233 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 CA347431EB; Tue, 24 Oct 2023 04:40:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A5C2140EE5; Tue, 24 Oct 2023 04:40:06 +0200 (CEST) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mails.dpdk.org (Postfix) with ESMTP id 2B1FC40A71 for ; Tue, 24 Oct 2023 04:40:03 +0200 (CEST) Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-27d0e3d823fso2629678a91.1 for ; Mon, 23 Oct 2023 19:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698115202; x=1698720002; 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=iIT7nMm49dyv4Xz0D7v+7wWbb62qH3k7w7V5zb4zaD8=; b=aNiacr4sI9lAjf5IyQK9ua1Gq0ZTlILC7hLd53OljjRfJ10VLBJG0olnFPjVqHpNsd V3IcgWbjTvM3uYlgYFrKIQBv5u48lbkndF3BgGCXOrrFGwlTFi6EoKKNZ9apUSd5SR9e Wyaazs2krYzc7fdj8xi8+3yFibzqTR63MbIQBa1Ct3ejFhpD6+YYN+h9qFDhEPa+qbfu VUGO7/wXlQibpEdaV/QDJZbvHb+YSc/+bE2n0jPKErH/Kiwq4uxGSeW7K4O2KhzUtDVe w0mzlCc+gZvvY6k87EHijyv0XS99/WdfjO0MezmZQSQ6gN4Evnifp5GKURuFKyLxBIn4 smhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698115202; x=1698720002; 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=iIT7nMm49dyv4Xz0D7v+7wWbb62qH3k7w7V5zb4zaD8=; b=H8HaOFcX6YKtfM0raSdDKm18+yEfhu7NijtkrQgx8FktXnh3PBGLulo3q6iNxtiwL5 MNSDpPG9l0ZmXOBgR2hpCEetUYdAHWR0i6A8IWC7oCRLfaKpbzmbXfOysIXR4vYtzsdu ODoX/SpE3nSF1BMzaZ+k/+N2jgQe0tfro//2UQpv8ZxqWAa3JjB6xw94pKk//Q8ac/a7 5UpF63cquBg/zu+r5pB5VmD1YofYkYl6FI2NenXA1M3JbP9Ox6zUK3sUGyuvJ2fCLVtr Z2z4XX+vxmnlwMASON82BOIqK4P4f415JASVsc7WMgT46zH8Uindf1oqhdlTuxIBPKiS 44rQ== X-Gm-Message-State: AOJu0YxHk8ZyDEjgcHK0fZlP+v9z2VhXBGxKAy/WShKDvKKotYpZOn9t 3YaH5l9MAFB0C3Cae2tl6H/WIxPe8nSeOs11RAZO8g== X-Google-Smtp-Source: AGHT+IErMh2nKMtlBVpvAqZAdOx+g2jDET5J8hNlSkvLu4uYFS3rWIoyGL9Asg+WCWGDwLDb48XSug== X-Received: by 2002:a17:90a:b38c:b0:27c:f80a:2c8a with SMTP id e12-20020a17090ab38c00b0027cf80a2c8amr1267223pjr.0.1698115202076; Mon, 23 Oct 2023 19:40:02 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 21-20020a17090a01d500b0027732eb24bbsm9069186pjd.4.2023.10.23.19.40.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:40:01 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko Subject: [PATCH v6 03/25] ethdev: mark rte_tm API's as stable Date: Mon, 23 Oct 2023 19:39:25 -0700 Message-Id: <20231024023947.15859-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024023947.15859-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024023947.15859-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 API's have been around since 20.11, mark them as not experimental. Signed-off-by: Stephen Hemminger Acked-by: Cristian Dumitrescu --- MAINTAINERS | 2 +- lib/ethdev/rte_tm.h | 34 ----------------------- lib/ethdev/version.map | 62 ++++++++++++++++++++---------------------- 3 files changed, 31 insertions(+), 67 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4083658697fb..e5d92aa74926 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -421,7 +421,7 @@ F: app/test-pmd/cmdline_flow.c F: doc/guides/prog_guide/rte_flow.rst F: lib/ethdev/rte_flow* -Traffic Management API - EXPERIMENTAL +Traffic Management API M: Cristian Dumitrescu T: git://dpdk.org/next/dpdk-next-net F: lib/ethdev/rte_tm* diff --git a/lib/ethdev/rte_tm.h b/lib/ethdev/rte_tm.h index 08c5fafecdf3..799b92aadaa9 100644 --- a/lib/ethdev/rte_tm.h +++ b/lib/ethdev/rte_tm.h @@ -14,10 +14,6 @@ * This interface provides the ability to configure the traffic manager in a * generic way. It includes features such as: hierarchical scheduling, * traffic shaping, congestion management, packet marking, etc. - * - * @warning - * @b EXPERIMENTAL: - * All functions in this file may be changed or removed without prior notice. */ #include @@ -1242,7 +1238,6 @@ struct rte_tm_error { * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_tm_get_number_of_leaf_nodes(uint16_t port_id, uint32_t *n_leaf_nodes, @@ -1267,7 +1262,6 @@ rte_tm_get_number_of_leaf_nodes(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_tm_node_type_get(uint16_t port_id, uint32_t node_id, @@ -1286,7 +1280,6 @@ rte_tm_node_type_get(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_tm_capabilities_get(uint16_t port_id, struct rte_tm_capabilities *cap, @@ -1307,7 +1300,6 @@ rte_tm_capabilities_get(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_tm_level_capabilities_get(uint16_t port_id, uint32_t level_id, @@ -1328,7 +1320,6 @@ rte_tm_level_capabilities_get(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_tm_node_capabilities_get(uint16_t port_id, uint32_t node_id, @@ -1354,7 +1345,6 @@ rte_tm_node_capabilities_get(uint16_t port_id, * * @see struct rte_tm_capabilities::cman_wred_context_n_max */ -__rte_experimental int rte_tm_wred_profile_add(uint16_t port_id, uint32_t wred_profile_id, @@ -1378,7 +1368,6 @@ rte_tm_wred_profile_add(uint16_t port_id, * * @see struct rte_tm_capabilities::cman_wred_context_n_max */ -__rte_experimental int rte_tm_wred_profile_delete(uint16_t port_id, uint32_t wred_profile_id, @@ -1410,7 +1399,6 @@ rte_tm_wred_profile_delete(uint16_t port_id, * * @see struct rte_tm_capabilities::cman_wred_context_shared_n_max */ -__rte_experimental int rte_tm_shared_wred_context_add_update(uint16_t port_id, uint32_t shared_wred_context_id, @@ -1435,7 +1423,6 @@ rte_tm_shared_wred_context_add_update(uint16_t port_id, * * @see struct rte_tm_capabilities::cman_wred_context_shared_n_max */ -__rte_experimental int rte_tm_shared_wred_context_delete(uint16_t port_id, uint32_t shared_wred_context_id, @@ -1460,7 +1447,6 @@ rte_tm_shared_wred_context_delete(uint16_t port_id, * * @see struct rte_tm_capabilities::shaper_n_max */ -__rte_experimental int rte_tm_shaper_profile_add(uint16_t port_id, uint32_t shaper_profile_id, @@ -1484,7 +1470,6 @@ rte_tm_shaper_profile_add(uint16_t port_id, * * @see struct rte_tm_capabilities::shaper_n_max */ -__rte_experimental int rte_tm_shaper_profile_delete(uint16_t port_id, uint32_t shaper_profile_id, @@ -1514,7 +1499,6 @@ rte_tm_shaper_profile_delete(uint16_t port_id, * * @see struct rte_tm_capabilities::shaper_shared_n_max */ -__rte_experimental int rte_tm_shared_shaper_add_update(uint16_t port_id, uint32_t shared_shaper_id, @@ -1538,7 +1522,6 @@ rte_tm_shared_shaper_add_update(uint16_t port_id, * * @see struct rte_tm_capabilities::shaper_shared_n_max */ -__rte_experimental int rte_tm_shared_shaper_delete(uint16_t port_id, uint32_t shared_shaper_id, @@ -1607,7 +1590,6 @@ rte_tm_shared_shaper_delete(uint16_t port_id, * @see RTE_TM_NODE_LEVEL_ID_ANY * @see struct rte_tm_capabilities */ -__rte_experimental int rte_tm_node_add(uint16_t port_id, uint32_t node_id, @@ -1641,7 +1623,6 @@ rte_tm_node_add(uint16_t port_id, * * @see RTE_TM_UPDATE_NODE_ADD_DELETE */ -__rte_experimental int rte_tm_node_delete(uint16_t port_id, uint32_t node_id, @@ -1666,7 +1647,6 @@ rte_tm_node_delete(uint16_t port_id, * @see rte_tm_node_resume() * @see RTE_TM_UPDATE_NODE_SUSPEND_RESUME */ -__rte_experimental int rte_tm_node_suspend(uint16_t port_id, uint32_t node_id, @@ -1690,7 +1670,6 @@ rte_tm_node_suspend(uint16_t port_id, * @see rte_tm_node_suspend() * @see RTE_TM_UPDATE_NODE_SUSPEND_RESUME */ -__rte_experimental int rte_tm_node_resume(uint16_t port_id, uint32_t node_id, @@ -1732,7 +1711,6 @@ rte_tm_node_resume(uint16_t port_id, * @see rte_tm_node_add() * @see rte_tm_node_delete() */ -__rte_experimental int rte_tm_hierarchy_commit(uint16_t port_id, int clear_on_fail, @@ -1773,7 +1751,6 @@ rte_tm_hierarchy_commit(uint16_t port_id, * @see RTE_TM_UPDATE_NODE_PARENT_KEEP_LEVEL * @see RTE_TM_UPDATE_NODE_PARENT_CHANGE_LEVEL */ -__rte_experimental int rte_tm_node_parent_update(uint16_t port_id, uint32_t node_id, @@ -1803,7 +1780,6 @@ rte_tm_node_parent_update(uint16_t port_id, * * @see struct rte_tm_capabilities::shaper_private_n_max */ -__rte_experimental int rte_tm_node_shaper_update(uint16_t port_id, uint32_t node_id, @@ -1831,7 +1807,6 @@ rte_tm_node_shaper_update(uint16_t port_id, * * @see struct rte_tm_capabilities::shaper_shared_n_max */ -__rte_experimental int rte_tm_node_shared_shaper_update(uint16_t port_id, uint32_t node_id, @@ -1859,7 +1834,6 @@ rte_tm_node_shared_shaper_update(uint16_t port_id, * @see enum rte_tm_stats_type * @see RTE_TM_UPDATE_NODE_STATS */ -__rte_experimental int rte_tm_node_stats_update(uint16_t port_id, uint32_t node_id, @@ -1888,7 +1862,6 @@ rte_tm_node_stats_update(uint16_t port_id, * @see RTE_TM_UPDATE_NODE_WFQ_WEIGHT_MODE * @see RTE_TM_UPDATE_NODE_N_SP_PRIORITIES */ -__rte_experimental int rte_tm_node_wfq_weight_mode_update(uint16_t port_id, uint32_t node_id, @@ -1912,7 +1885,6 @@ rte_tm_node_wfq_weight_mode_update(uint16_t port_id, * * @see RTE_TM_UPDATE_NODE_CMAN */ -__rte_experimental int rte_tm_node_cman_update(uint16_t port_id, uint32_t node_id, @@ -1937,7 +1909,6 @@ rte_tm_node_cman_update(uint16_t port_id, * * @see struct rte_tm_capabilities::cman_wred_context_private_n_max */ -__rte_experimental int rte_tm_node_wred_context_update(uint16_t port_id, uint32_t node_id, @@ -1963,7 +1934,6 @@ rte_tm_node_wred_context_update(uint16_t port_id, * * @see struct rte_tm_capabilities::cman_wred_context_shared_n_max */ -__rte_experimental int rte_tm_node_shared_wred_context_update(uint16_t port_id, uint32_t node_id, @@ -1996,7 +1966,6 @@ rte_tm_node_shared_wred_context_update(uint16_t port_id, * * @see enum rte_tm_stats_type */ -__rte_experimental int rte_tm_node_stats_read(uint16_t port_id, uint32_t node_id, @@ -2034,7 +2003,6 @@ rte_tm_node_stats_read(uint16_t port_id, * * @see struct rte_tm_capabilities::mark_vlan_dei_supported */ -__rte_experimental int rte_tm_mark_vlan_dei(uint16_t port_id, int mark_green, @@ -2085,7 +2053,6 @@ rte_tm_mark_vlan_dei(uint16_t port_id, * @see struct rte_tm_capabilities::mark_ip_ecn_tcp_supported * @see struct rte_tm_capabilities::mark_ip_ecn_sctp_supported */ -__rte_experimental int rte_tm_mark_ip_ecn(uint16_t port_id, int mark_green, @@ -2134,7 +2101,6 @@ rte_tm_mark_ip_ecn(uint16_t port_id, * * @see struct rte_tm_capabilities::mark_ip_dscp_supported */ -__rte_experimental int rte_tm_mark_ip_dscp(uint16_t port_id, int mark_green, diff --git a/lib/ethdev/version.map b/lib/ethdev/version.map index 919ba5b8e65b..072ad3401235 100644 --- a/lib/ethdev/version.map +++ b/lib/ethdev/version.map @@ -135,6 +135,36 @@ DPDK_24 { rte_flow_pick_transfer_proxy; rte_flow_query; rte_flow_validate; + rte_tm_capabilities_get; + rte_tm_get_number_of_leaf_nodes; + rte_tm_hierarchy_commit; + rte_tm_level_capabilities_get; + rte_tm_mark_ip_dscp; + rte_tm_mark_ip_ecn; + rte_tm_mark_vlan_dei; + rte_tm_node_add; + rte_tm_node_capabilities_get; + rte_tm_node_cman_update; + rte_tm_node_delete; + rte_tm_node_parent_update; + rte_tm_node_resume; + rte_tm_node_shaper_update; + rte_tm_node_shared_shaper_update; + rte_tm_node_shared_wred_context_update; + rte_tm_node_stats_read; + rte_tm_node_stats_update; + rte_tm_node_suspend; + rte_tm_node_type_get; + rte_tm_node_wfq_weight_mode_update; + rte_tm_node_wred_context_update; + rte_tm_shaper_profile_add; + rte_tm_shaper_profile_delete; + rte_tm_shared_shaper_add_update; + rte_tm_shared_shaper_delete; + rte_tm_shared_wred_context_add_update; + rte_tm_shared_wred_context_delete; + rte_tm_wred_profile_add; + rte_tm_wred_profile_delete; local: *; }; @@ -181,38 +211,6 @@ EXPERIMENTAL { __rte_ethdev_trace_tx_burst; rte_flow_get_aged_flows; - # Marked as experimental in 20.11 - rte_tm_capabilities_get; - rte_tm_get_number_of_leaf_nodes; - rte_tm_hierarchy_commit; - rte_tm_level_capabilities_get; - rte_tm_mark_ip_dscp; - rte_tm_mark_ip_ecn; - rte_tm_mark_vlan_dei; - rte_tm_node_add; - rte_tm_node_capabilities_get; - rte_tm_node_cman_update; - rte_tm_node_delete; - rte_tm_node_parent_update; - rte_tm_node_resume; - rte_tm_node_shaper_update; - rte_tm_node_shared_shaper_update; - rte_tm_node_shared_wred_context_update; - rte_tm_node_stats_read; - rte_tm_node_stats_update; - rte_tm_node_suspend; - rte_tm_node_type_get; - rte_tm_node_wfq_weight_mode_update; - rte_tm_node_wred_context_update; - rte_tm_shaper_profile_add; - rte_tm_shaper_profile_delete; - rte_tm_shared_shaper_add_update; - rte_tm_shared_shaper_delete; - rte_tm_shared_wred_context_add_update; - rte_tm_shared_wred_context_delete; - rte_tm_wred_profile_add; - rte_tm_wred_profile_delete; - # added in 20.11 rte_eth_hairpin_bind; rte_eth_hairpin_get_peer_ports; From patchwork Tue Oct 24 02:39:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133234 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 EAA42431EB; Tue, 24 Oct 2023 04:40:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7B511427E0; Tue, 24 Oct 2023 04:40:08 +0200 (CEST) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTP id 08AE3402CB for ; Tue, 24 Oct 2023 04:40:04 +0200 (CEST) Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-27d18475ed4so2944332a91.0 for ; Mon, 23 Oct 2023 19:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698115203; x=1698720003; 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=nPUV3R0J/IEovMk82s4xxf5K18pUfR5DDwiPDvPaeYU=; b=AbJZ9bqJxF4uFaCmh0SUUOIS3B5VmPiGLd5KfT+tAvxhj0xDNX9IWSh5OSXZt7W+vp woUAOwkSminvdC2lsE1lbocIE7NnAzOH+/xiDk5hUcpjSOBMUlUUMAa55WyIpvoVKWtf 4jpmbtBkN+bjGg5A4/8Rp/9JyatisclwTeV8l5kSDSSOjLuPOXAInHpGtqljcYTWN6ig 2oiNzkPiU/IURDF7Jsxo6LNAaVLBlqOPKiHbDk1pyIWO3DbChxQzc99J+qNcyrq9Tji1 Mw3dK6ttpP9LpcisgUQSyzM6/T2WR+lZW3tk7/jI+X6IGguWHmv4UD7QOuJN7Hy/ZjxG VM6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698115203; x=1698720003; 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=nPUV3R0J/IEovMk82s4xxf5K18pUfR5DDwiPDvPaeYU=; b=cDwqtuVqLit0RFSBayYoIGVeAmuViUIssEjofK54j53slzGpemRlc22xWsdgSJauCN 3SqFN15VEZz99X8B0GrsRbN7VXDEjrAwvNTlKN8s6CmljaYkAA/MhMH/GbwNdeWoqm4C cE4uRGuvZeDi0NRu8PcTLH1lGnb2wbawB4H5SJd9YWg6lIDv5pHcjE2aT82D+rASKZch cA3a/qfqr2CnPPhKEXtmGqP5wy7xb0Ol6xNzKOOxsZ5SNcg4ZFHU02te85gtkKlcgMKI uWR91RVZcZseu/5rbsG5mUuLC5hOt2mzYPU9IBO/DN3Kiub38bJOsEUwxQXpgpG/LxC6 Empg== X-Gm-Message-State: AOJu0Yz1kC5dodkA69Dr2rPv5kbnMcdKT8Lz2t0vdn0uuXhlEBey6/9Y 9dkidWCGZr1DERp4Zm3tEPiPvsXjG2S82aganHNJFQ== X-Google-Smtp-Source: AGHT+IEMEPkoJjdLbLIPbr16mokBBBLFcLOBiYHR6BprG7ulvDi5KXF3KZAXMGoy5njnAYTbw1gZXA== X-Received: by 2002:a17:90a:359:b0:27e:277:3014 with SMTP id 25-20020a17090a035900b0027e02773014mr8545598pjf.11.1698115203067; Mon, 23 Oct 2023 19:40:03 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 21-20020a17090a01d500b0027732eb24bbsm9069186pjd.4.2023.10.23.19.40.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:40:02 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson , Reshma Pattan Subject: [PATCH v6 04/25] pdump: make API's stable Date: Mon, 23 Oct 2023 19:39:26 -0700 Message-Id: <20231024023947.15859-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024023947.15859-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024023947.15859-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 filtering API's were added in 22.11 and can now be marked as not experimental. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- lib/pdump/rte_pdump.h | 12 ------------ lib/pdump/version.map | 11 +++-------- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/lib/pdump/rte_pdump.h b/lib/pdump/rte_pdump.h index b1a391830c1d..414931a12cce 100644 --- a/lib/pdump/rte_pdump.h +++ b/lib/pdump/rte_pdump.h @@ -83,9 +83,6 @@ rte_pdump_enable(uint16_t port, uint16_t queue, uint32_t flags, void *filter); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Enables packet capturing on given port and queue with filtering. * * @param port_id @@ -109,7 +106,6 @@ rte_pdump_enable(uint16_t port, uint16_t queue, uint32_t flags, * @return * 0 on success, -1 on error, rte_errno is set accordingly. */ -__rte_experimental int rte_pdump_enable_bpf(uint16_t port_id, uint16_t queue, uint32_t flags, uint32_t snaplen, @@ -169,9 +165,6 @@ rte_pdump_enable_by_deviceid(char *device_id, uint16_t queue, void *filter); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Enables packet capturing on given device id and queue with filtering. * device_id can be name or pci address of device. * @@ -196,7 +189,6 @@ rte_pdump_enable_by_deviceid(char *device_id, uint16_t queue, * @return * 0 on success, -1 on error, rte_errno is set accordingly. */ -__rte_experimental int rte_pdump_enable_bpf_by_deviceid(const char *device_id, uint16_t queue, uint32_t flags, uint32_t snaplen, @@ -242,9 +234,6 @@ struct rte_pdump_stats { }; /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Retrieve the packet capture statistics for a queue. * * @param port_id @@ -254,7 +243,6 @@ struct rte_pdump_stats { * @return * Zero if successful. -1 on error and rte_errno is set. */ -__rte_experimental int rte_pdump_stats(uint16_t port_id, struct rte_pdump_stats *stats); diff --git a/lib/pdump/version.map b/lib/pdump/version.map index 225830dc85a7..ea5bd157cdb1 100644 --- a/lib/pdump/version.map +++ b/lib/pdump/version.map @@ -4,17 +4,12 @@ DPDK_24 { rte_pdump_disable; rte_pdump_disable_by_deviceid; rte_pdump_enable; + rte_pdump_enable_bpf; + rte_pdump_enable_bpf_by_deviceid; rte_pdump_enable_by_deviceid; rte_pdump_init; + rte_pdump_stats; rte_pdump_uninit; local: *; }; - -EXPERIMENTAL { - global: - - rte_pdump_enable_bpf; - rte_pdump_enable_bpf_by_deviceid; - rte_pdump_stats; -};