From patchwork Tue Aug 8 17:35:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129946 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 1AE2F4300E; Tue, 8 Aug 2023 19:35:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C47E43254; Tue, 8 Aug 2023 19:35:42 +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 2A2FD410E6 for ; Tue, 8 Aug 2023 19:35:40 +0200 (CEST) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-686ba29ccb1so59853b3a.1 for ; Tue, 08 Aug 2023 10:35:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516139; x=1692120939; 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=CLvDiI/6LMNTjDiaqK1p+6ugD0d2ZxNrI9i4h1xZpLU=; b=0AMDWEaBEsMHueDtxi0IikiFkb03v9NIEs8obFCf1eH/v8D14hf41PSj5IparYLIoA X/6X9osYiTBAaMIPpD56IOByPQAfkq8niRAxs3dTvBUPvYsrK4y2ku8Y5t+j6D3SfvOh 8zkbwoGdYzzxKMK7wWo4B07T7kfy2KbdBV5lFoaNqBngMUyqUl5s+n+xhMaC8fB8x2ZU Bu/BWCyUVFXgAdyPfNl5vVCmgge3Q1yAVP85/m2vWOEQX5GOBEU1929cq+olORtYZhN6 UeVKqlwnTcpNkm5IDcuFW8TxrdvnGluyqEVw/HKdMGUVXpRzPcgL8BsWNE85p/MbA83e YkjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516139; x=1692120939; 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=CLvDiI/6LMNTjDiaqK1p+6ugD0d2ZxNrI9i4h1xZpLU=; b=l68KQ7a+Gj2HLk9Sv1DYLQiKakkzJST+d6qgfmFmf1jrDNA7Qal5mjV3l+YhrP//eJ UJ5s4/9fLRXGNocZXLce3tizBJvEI9M+DEA2SbPoTFPp5K3OGbclIgu3iAZXkKrlmLpf zYFMx+6RGVTilqRFqRf9/eZf7olFpOcQnFvDOwgDGs05w+pM7Uj86ERw4sXz7DAdjMEB qW0k4wyLCiFUct9yAWj4G8vBcpGzfBlU9T1KZct6KRyCdCH/5a2iC5z9sG1PIMh1mwa5 1t4h3cA1uYOWrOhcELTGx0u4shve5WqRCjzZH59NlspknChX8Pru2Cqd70Zw3AREy9Ya nO0g== X-Gm-Message-State: AOJu0YwaUd2WGc804nrRpl6v7IJedpPhbjfxvakuTjoFhxLCmkdDOk0K DaxXEKil3PKImjeIVD1gjUuFvRVQ4QDp++vjm7UkQg== X-Google-Smtp-Source: AGHT+IG9fOnH+Vyti8UmzH3Hi4KqRBmxNBYamEVCwxtuO5bFofZ1FXvIl3vto9ZaS+A0fEKKjhRIgw== X-Received: by 2002:a05:6a00:1948:b0:666:b22d:c6e0 with SMTP id s8-20020a056a00194800b00666b22dc6e0mr560714pfk.11.1691516139078; Tue, 08 Aug 2023 10:35:39 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:38 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH 01/20] bpf: make rte_bpf_dump and rte_bpf_convert stable API's Date: Tue, 8 Aug 2023 10:35:08 -0700 Message-Id: <20230808173527.186042-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 23.11 and can now be made not experimental. Signed-off-by: Stephen Hemminger --- 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 Aug 8 17:35: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: 129947 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 00E244300E; Tue, 8 Aug 2023 19:35:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B4D143262; Tue, 8 Aug 2023 19:35:43 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id 4A75642D0B for ; Tue, 8 Aug 2023 19:35:41 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-686ea67195dso4355865b3a.2 for ; Tue, 08 Aug 2023 10:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516140; x=1692120940; 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=22y+tBqiBCHk0grbjOfxkDdS6gs6cK21fSqb7LCRaKk=; b=vM1vn6CPHmGK4hlo5CDwBdhm85xhMIY55u+x2egKmDlrG7A83FWU00+86EA2uvAEBj 0Q1zS4ZU8RM2yBp6tCrcj6IZqJwK/OaV7dM2a4T3uT7tCgOOZC4zvcsLVhlaXr/OuxzX 5R+RmVAAgu2TD0s0Si4S9aw1kJlFiZciLC0fOiULigW9LfXRpa9+ZbZeltUPra0JNZC6 VSNlghZpvnTY1tTVd9n81PL5L6gEmZ609itI7FHStr9R03PKqjoMvxFJ4J9XkOO2m0Qv EBVbRlf7GeYWfhmq9hlo0+qjP9lHrDy8aWgt4zbc2L63zI7Yo1tt30d8c7ZpyiRMxvWo Mzbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516140; x=1692120940; 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=22y+tBqiBCHk0grbjOfxkDdS6gs6cK21fSqb7LCRaKk=; b=VvXNsEgWiwCMWcG97MMDV5cKXht0r1UtqUCzx9vqX8Razp6paHdLnDKaqLql+Usgm8 DkE/NC1OEds6gGVIK5l0ijwGVzG9xCKQlvRLG6Zo8Moj5y8WUMuBnJ6sUSVeQeIRt7QS xlgJxdBohwGklxGdk2QGkY8WEMpWfvo4IH+tO+54A9LmHCPpiz4pblwDALtRoPyQsOF5 Cv76pH1bMXJDxRbJlZ522npaTsvWX2KEZhwGQGy8TmxEqZSGnz+5bnFOEmO8VrH5Lf9k ZkDRWKkZQOZEW2ZDB9Mlji55xTuMMcy5atUr25UEbYSZ57KRNPZPUhrSUhHfjshacouT ddJA== X-Gm-Message-State: AOJu0YyCxatHUD5T3zXK+qP52PtICq/e90b38Gv6pY7rFV0pRkjzOpPG Ebr7DrNBUQjo7bgB5OC1ApdkqAmEdzbfg3+GTwLqOQ== X-Google-Smtp-Source: AGHT+IGwGNxbmnYjEYjSWslHLF1/opBd9SHgOCs0DjJ0AvEzAsamakxpansjWFA/s/Gv7VT4UbZvCA== X-Received: by 2002:a05:6a00:1a91:b0:67f:48a2:5d9f with SMTP id e17-20020a056a001a9100b0067f48a25d9fmr164723pfv.11.1691516140088; Tue, 08 Aug 2023 10:35:40 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:39 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Olivier Matz Subject: [PATCH 02/20] cmdline: make experimental API's stable Date: Tue, 8 Aug 2023 10:35:09 -0700 Message-Id: <20230808173527.186042-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 --- 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 d631cd4bd459..c41b0ca0b80e 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 db4d904ffbdb..4f87027e1774 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; @@ -52,37 +54,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 Aug 8 17:35:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129948 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 1A2564300E; Tue, 8 Aug 2023 19:36:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 763D643267; Tue, 8 Aug 2023 19:35:44 +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 4FFD643257 for ; Tue, 8 Aug 2023 19:35:42 +0200 (CEST) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-686f38692b3so5873605b3a.2 for ; Tue, 08 Aug 2023 10:35:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516141; x=1692120941; 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=4tw50+KVabhsw1zKOFsOdNUwwUnExSQ9jAPIC4HKDO0=; b=Cg0lqKEJ4wFIGeC8g4XKUFeAwE4Ph6Lhib5wFFUrO4igheG0Y3WrGMRPElKOyf6aA3 h9v7QXqQqrM7Yuvfl04UMLNJG2bh5ieohP6xjKkO9rslacgR739YhLwGxL5W8uJvVg1+ +/PMqvgolnH0p0trj6vWMmPZe8L9FiWj0YvAqFdYn7XXDLDqVy3IyGGtNSM9NRMIvZXQ p2EwjIrdAQrPYtzifC+3geOmEKXfAkMxPsf4pSrpgxMlNHJr2pCq6ug81+GTKGTwe5kZ 6EHpskrb1FK7V6VDczNijZtN7KV1cytR9RtnOlNQhsZet0d6KhRrd7h0ZlbEgzrNnnib G41g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516141; x=1692120941; 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=4tw50+KVabhsw1zKOFsOdNUwwUnExSQ9jAPIC4HKDO0=; b=kDPXa931j+xWORPjCTx1GWJCqq8RCkRVSvA1rZmvPX+7Hs9kARYPpY8d9c9A3fm0za yPbyARS6gGuhCRrz9iKEAL2du7WkmFFsTXluW8f7OM/QNkZ8V9ErcAvxGWaHbJAM3UrM 3pVdzMvbRe6J+R5cI/txv2NGo1HC/GvfM674DF4gG2O07yQtxIen1TNhdZeReEyWObhc sDCWpCqg9D5Xd77Z5TXu9B9ITe+7fmhl/oERPaJjfT839GIpzv1RL7m3Rdh7c8qm1g1q dD7MpsCI3G4IifUvH7ysp2w3FEKCWrtKFXHMtB4KZTFnzMhT3QfkJAbllpOs4mH3OvP+ ObEw== X-Gm-Message-State: AOJu0Yxz/lQrVlo34FdLSvYVwAi8cq9gm2iNTNC9lygBYPNy+g6SMBUv +STn97b2MyVRTEVkX8HSvDK822LsDdMrPhoa/0OoHQ== X-Google-Smtp-Source: AGHT+IF8jHlUdiOrLhsW7mG1+mJdvCqjk8Frxur3Q0y31mSZO9DwbEmClK1SzwRgBdE1QDnwb0y46Q== X-Received: by 2002:a05:6a20:1585:b0:140:6d68:ce07 with SMTP id h5-20020a056a20158500b001406d68ce07mr215912pzj.52.1691516141255; Tue, 08 Aug 2023 10:35:41 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:40 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko Subject: [PATCH 03/20] ethdev: mark rte_mtr API's as stable Date: Tue, 8 Aug 2023 10:35:10 -0700 Message-Id: <20230808173527.186042-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 haven't changed in a while, time has come to make them not experimental. Signed-off-by: Stephen Hemminger --- lib/ethdev/rte_mtr.h | 25 +------------------------ lib/ethdev/version.map | 34 ++++++++++++++++------------------ 2 files changed, 17 insertions(+), 42 deletions(-) diff --git a/lib/ethdev/rte_mtr.h b/lib/ethdev/rte_mtr.h index 7e6a66b938bf..ed498f36b179 100644 --- a/lib/ethdev/rte_mtr.h +++ b/lib/ethdev/rte_mtr.h @@ -41,10 +41,8 @@ * A) Whether an MTR object is private to a flow or potentially shared by * several flows has to be specified at creation time. * B) Several meter actions can be potentially registered for the same flow. - * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice */ + #include #include #include @@ -570,7 +568,6 @@ struct rte_mtr_error { * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_capabilities_get(uint16_t port_id, struct rte_mtr_capabilities *cap, @@ -594,7 +591,6 @@ rte_mtr_capabilities_get(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_meter_profile_add(uint16_t port_id, uint32_t meter_profile_id, @@ -616,7 +612,6 @@ rte_mtr_meter_profile_add(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_meter_profile_delete(uint16_t port_id, uint32_t meter_profile_id, @@ -636,7 +631,6 @@ rte_mtr_meter_profile_delete(uint16_t port_id, * @return * A valid handle in case of success, NULL otherwise. */ -__rte_experimental struct rte_flow_meter_profile * rte_mtr_meter_profile_get(uint16_t port_id, uint32_t meter_profile_id, @@ -664,7 +658,6 @@ rte_mtr_meter_profile_get(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_meter_policy_validate(uint16_t port_id, struct rte_mtr_meter_policy_params *policy, @@ -691,7 +684,6 @@ rte_mtr_meter_policy_validate(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_meter_policy_add(uint16_t port_id, uint32_t policy_id, @@ -712,7 +704,6 @@ rte_mtr_meter_policy_add(uint16_t port_id, * @return * A valid handle in case of success, NULL otherwise. */ -__rte_experimental struct rte_flow_meter_policy * rte_mtr_meter_policy_get(uint16_t port_id, uint32_t policy_id, @@ -794,7 +785,6 @@ struct rte_mtr_meter_policy_params policy = \ * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_meter_policy_delete(uint16_t port_id, uint32_t policy_id, @@ -823,7 +813,6 @@ rte_mtr_meter_policy_delete(uint16_t port_id, * * @see enum rte_flow_action_type::RTE_FLOW_ACTION_TYPE_METER */ -__rte_experimental int rte_mtr_create(uint16_t port_id, uint32_t mtr_id, @@ -847,7 +836,6 @@ rte_mtr_create(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_destroy(uint16_t port_id, uint32_t mtr_id, @@ -875,7 +863,6 @@ rte_mtr_destroy(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_meter_disable(uint16_t port_id, uint32_t mtr_id, @@ -897,7 +884,6 @@ rte_mtr_meter_disable(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_meter_enable(uint16_t port_id, uint32_t mtr_id, @@ -917,7 +903,6 @@ rte_mtr_meter_enable(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_meter_profile_update(uint16_t port_id, uint32_t mtr_id, @@ -938,7 +923,6 @@ rte_mtr_meter_profile_update(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_meter_policy_update(uint16_t port_id, uint32_t mtr_id, @@ -965,7 +949,6 @@ rte_mtr_meter_policy_update(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_meter_dscp_table_update(uint16_t port_id, uint32_t mtr_id, enum rte_mtr_color_in_protocol proto, @@ -992,7 +975,6 @@ rte_mtr_meter_dscp_table_update(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_meter_vlan_table_update(uint16_t port_id, uint32_t mtr_id, enum rte_mtr_color_in_protocol proto, @@ -1023,7 +1005,6 @@ rte_mtr_meter_vlan_table_update(uint16_t port_id, uint32_t mtr_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_color_in_protocol_set(uint16_t port_id, uint32_t mtr_id, enum rte_mtr_color_in_protocol proto, uint32_t priority, @@ -1043,7 +1024,6 @@ rte_mtr_color_in_protocol_set(uint16_t port_id, uint32_t mtr_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_color_in_protocol_get(uint16_t port_id, uint32_t mtr_id, uint64_t *proto_mask, @@ -1065,7 +1045,6 @@ rte_mtr_color_in_protocol_get(uint16_t port_id, uint32_t mtr_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_mtr_color_in_protocol_priority_get(uint16_t port_id, uint32_t mtr_id, enum rte_mtr_color_in_protocol proto, uint32_t *priority, @@ -1089,7 +1068,6 @@ rte_mtr_color_in_protocol_priority_get(uint16_t port_id, uint32_t mtr_id, * * @see enum rte_mtr_stats_type */ -__rte_experimental int rte_mtr_stats_update(uint16_t port_id, uint32_t mtr_id, @@ -1121,7 +1099,6 @@ rte_mtr_stats_update(uint16_t port_id, * * @see enum rte_mtr_stats_type */ -__rte_experimental int rte_mtr_stats_read(uint16_t port_id, uint32_t mtr_id, diff --git a/lib/ethdev/version.map b/lib/ethdev/version.map index b965d6aa5274..a275cce48164 100644 --- a/lib/ethdev/version.map +++ b/lib/ethdev/version.map @@ -135,26 +135,34 @@ DPDK_24 { rte_flow_pick_transfer_proxy; rte_flow_query; rte_flow_validate; - - local: *; -}; - -EXPERIMENTAL { - global: - - # added in 17.11 rte_mtr_capabilities_get; + rte_mtr_color_in_protocol_get; + rte_mtr_color_in_protocol_priority_get; + rte_mtr_color_in_protocol_set; rte_mtr_create; rte_mtr_destroy; rte_mtr_meter_disable; rte_mtr_meter_dscp_table_update; rte_mtr_meter_enable; + rte_mtr_meter_policy_add; + rte_mtr_meter_policy_delete; + rte_mtr_meter_policy_get; + rte_mtr_meter_policy_update; + rte_mtr_meter_policy_validate; rte_mtr_meter_profile_add; rte_mtr_meter_profile_delete; + rte_mtr_meter_profile_get; rte_mtr_meter_profile_update; + rte_mtr_meter_vlan_table_update; rte_mtr_stats_read; rte_mtr_stats_update; + local: *; +}; + +EXPERIMENTAL { + global: + # added in 18.05 rte_eth_dev_get_module_eeprom; rte_eth_dev_get_module_info; @@ -237,10 +245,6 @@ EXPERIMENTAL { rte_flow_action_handle_destroy; rte_flow_action_handle_update; rte_flow_action_handle_query; - rte_mtr_meter_policy_add; - rte_mtr_meter_policy_delete; - rte_mtr_meter_policy_update; - rte_mtr_meter_policy_validate; # added in 21.11 rte_eth_dev_capability_name; @@ -275,10 +279,6 @@ EXPERIMENTAL { # added in 22.07 rte_eth_rx_avail_thresh_query; rte_eth_rx_avail_thresh_set; - rte_mtr_color_in_protocol_get; - rte_mtr_color_in_protocol_priority_get; - rte_mtr_color_in_protocol_set; - rte_mtr_meter_vlan_table_update; # added in 22.11 rte_eth_buffer_split_get_supported_hdr_ptypes; @@ -290,8 +290,6 @@ EXPERIMENTAL { rte_eth_tx_descriptor_dump; rte_flow_async_action_handle_query; rte_flow_get_q_aged_flows; - rte_mtr_meter_policy_get; - rte_mtr_meter_profile_get; # added in 23.03 rte_eth_dev_count_aggr_ports; From patchwork Tue Aug 8 17:35:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129949 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 76A7F4300E; Tue, 8 Aug 2023 19:36:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 825454326C; Tue, 8 Aug 2023 19:35:45 +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 5BBB54325F for ; Tue, 8 Aug 2023 19:35:43 +0200 (CEST) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-687ca37628eso1444499b3a.1 for ; Tue, 08 Aug 2023 10:35:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516142; x=1692120942; 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=NCo0Sf4LQ+D/x50cS06CHs7PG77x9MjUGnsduFvmsMI=; b=o4wNteXZfGKdO8qWoAQFxOlBOIDf6DNTrcU4rVxauVyw+Wcgtmn5ip9ejG3C39s9z5 VAyiijLlLRlyCOhQUxJpw73t4876OUGv6ViVyJcxXF9gq4tVlA5+6ls8lZOEExq1C7uh 0gQL1C1mj3XVUZY2eoA4shPO51hqhaouHPKN7dHnyVtRQWvQzs+adwcyFe9GCjsu3UEq YlEpzptw43AmzimuNSMJuZ/5YkUFt7+JfSXe4QOv0j6RpsEKookcU99Y/GCgFqFvkXV8 H8gBvoauMS6fKwZPYhpGkQAyeyjmxvA2baGKe/xgFu2wS8ZNp0LzQ1MvP1BkZ1u2HZn5 PvPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516142; x=1692120942; 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=NCo0Sf4LQ+D/x50cS06CHs7PG77x9MjUGnsduFvmsMI=; b=LsJM7panShmlaQADN94Genv+Px9QySfDea1H+9L+c1JMLwEG6hnUGuKaUc6uy3sLIK C0xN5q3PBy8+28RZyTAjD5g5NaXGLCZP5yEWsVevEyHi1iRq1nhk0iDPtsZ9RJUlUQHt kkVPBbZ5R25hxVlKw2Z9jTcXChHnf1RmVjhIbIMzW+BjS2AweQfqfi5XF5il30hR6Zsd C0toSC6voMRoGctvCR5mqoybT9jvE1+NMoHzzhWLmbRQnQunCvR/aix2S2Hw6nlTIA0b jTu5oEZqqUAxtMJxVFfqS5+DLL8lcAFFS6wQZ0fovJbEfNRoQcW8NGAuiT+caBD+jjWF VCrg== X-Gm-Message-State: AOJu0YzaH8N2I3h0gUoiiUsDstga4SW+KmXNeg4U0v69nJ0COaosTQ0C QiYY8xkqYX26CuDinKman5vpqRxx9R2HFc3HZ2/I2w== X-Google-Smtp-Source: AGHT+IEE7MIe+Ql4MN+kZ60+RlN7xzlV+cumWADoQK79IMDMq3nyVnr0MiO3iRvQs1mVqze4vCHAuA== X-Received: by 2002:a05:6a00:15c6:b0:687:8417:ab58 with SMTP id o6-20020a056a0015c600b006878417ab58mr205279pfu.32.1691516142280; Tue, 08 Aug 2023 10:35:42 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:41 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko Subject: [PATCH 04/20] ethdev: mark rte_tm API's as stable Date: Tue, 8 Aug 2023 10:35:11 -0700 Message-Id: <20230808173527.186042-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 --- lib/ethdev/rte_tm.h | 34 ----------------------- lib/ethdev/version.map | 62 ++++++++++++++++++++---------------------- 2 files changed, 30 insertions(+), 66 deletions(-) diff --git a/lib/ethdev/rte_tm.h b/lib/ethdev/rte_tm.h index 4103c49a3f0f..08cb3d37394c 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 @@ -1245,7 +1241,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, @@ -1270,7 +1265,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, @@ -1289,7 +1283,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, @@ -1310,7 +1303,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, @@ -1331,7 +1323,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, @@ -1357,7 +1348,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, @@ -1381,7 +1371,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, @@ -1413,7 +1402,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, @@ -1438,7 +1426,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, @@ -1463,7 +1450,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, @@ -1487,7 +1473,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, @@ -1517,7 +1502,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, @@ -1541,7 +1525,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, @@ -1610,7 +1593,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, @@ -1644,7 +1626,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, @@ -1669,7 +1650,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, @@ -1693,7 +1673,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, @@ -1735,7 +1714,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, @@ -1776,7 +1754,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, @@ -1806,7 +1783,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, @@ -1834,7 +1810,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, @@ -1862,7 +1837,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, @@ -1891,7 +1865,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, @@ -1915,7 +1888,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, @@ -1940,7 +1912,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, @@ -1966,7 +1937,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, @@ -1999,7 +1969,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, @@ -2037,7 +2006,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, @@ -2088,7 +2056,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, @@ -2137,7 +2104,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 a275cce48164..1f8e5dec4076 100644 --- a/lib/ethdev/version.map +++ b/lib/ethdev/version.map @@ -156,6 +156,36 @@ DPDK_24 { rte_mtr_meter_vlan_table_update; rte_mtr_stats_read; rte_mtr_stats_update; + 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: *; }; @@ -189,38 +219,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 Aug 8 17:35:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129950 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 36D954300E; Tue, 8 Aug 2023 19:36:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 97C2A4326F; Tue, 8 Aug 2023 19:35:46 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id 633C043265 for ; Tue, 8 Aug 2023 19:35:44 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-686e29b058cso4246309b3a.1 for ; Tue, 08 Aug 2023 10:35:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516143; x=1692120943; 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=Xn81oAq1m1gfdSq2LkJzwfUYnEjF85fpIDHQS1AtQuY=; b=5BExX+tsmUzGTe/nFfhRRffGgvnKyku4H97shUo7vjNbQSwIW0wt3ZBCikAXYzMpQV pZfE3QqhTSFX7TXt9U3LmibNDkH/gODh2Y0EPuuYLnR2e8UnNiBLkwBLAcELt+Sumldk v5HFu+CCW7WO2+FLbG/MTSqMvlhe78s1yaC9pDsSPFVfODrbzYZuJ9T15u/bwv4wtS0v KZtxI5qn9ao4bQFp704tspBryWJxDl3MlV1/N7G/BZ4PMcvIQCqf3/+BXxvX8rmu8w3R UJ5EAmc+FT8be0lU6v3zm+yJhhyXEPz/wByFaohRAIFEh52rXeCAuO16a7zNr+FCawPp xGiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516143; x=1692120943; 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=Xn81oAq1m1gfdSq2LkJzwfUYnEjF85fpIDHQS1AtQuY=; b=bQT/k+3UPcIjOPkSSWf5vwZPjPAtHV/v06qNKz8xw/yU1Ys2wkbzbZIXilR9D98qy5 Q0U4A9c/GYsxFn2QIgB0ouRNXnqNUMTNvMFvFhGYQyKMJoLuOOAh2Bwlm5rAEkfsxzzS qU226FxKIM7W2WDmTF8QRanHaS+LtqLzShkBFSFIny/fk4J4IEdXgnznYCEWslTi7V4J 3md1YZeFQY3Pe3H1ZYtdPaQ1esqtKpED6CqWu1IVXEbRWSH5+kEFhd9LmdoZ0IIWFOa8 dsfzdIGLCeDbb+6EliCaeZOY02bXzj2WEUy7uto51yJTRdkW3Cp3mWelYfGfGBqctzo5 NveA== X-Gm-Message-State: AOJu0YzTSUubHn9hBEiVqbMP13fylzujB4ZYUbzwMpJU4LWvW4Atn4O1 XkEpNj9Mbkv5ir+vlpJMdSkMSO4FOZhtpRTuusC2rQ== X-Google-Smtp-Source: AGHT+IEEA27cMKPxiT9QEQ1J5nsOcdDDBHlRA5b3j1Kp8OUhW1c08f9q3mlhxuitZjHA+NPWSGj56A== X-Received: by 2002:a05:6a20:394a:b0:13e:904b:5f8 with SMTP id r10-20020a056a20394a00b0013e904b05f8mr144299pzg.61.1691516143330; Tue, 08 Aug 2023 10:35:43 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:42 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Reshma Pattan Subject: [PATCH 05/20] pdump: make API's stable Date: Tue, 8 Aug 2023 10:35:12 -0700 Message-Id: <20230808173527.186042-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 23.11 and can now be marked as not experimental. Signed-off-by: Stephen Hemminger --- 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; -}; From patchwork Tue Aug 8 17:35:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129951 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 5683E4300E; Tue, 8 Aug 2023 19:36:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 012F243256; Tue, 8 Aug 2023 19:35:48 +0200 (CEST) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id 735424326A for ; Tue, 8 Aug 2023 19:35:45 +0200 (CEST) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-686f94328a4so69042b3a.0 for ; Tue, 08 Aug 2023 10:35:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516144; x=1692120944; 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=6GCqkFBE1/lyTj4zhwSeujQOQFBXsOxFgsCFGMg/bNI=; b=tgiab5fIb/wX+4FnHNo0S+pj9lBOvRdWsts9lbK88FHl3i4YY5ZrCfKqjpoONWYQzG KaXrpCb3OXg/hDPRKhXYwGgYs8hPqM/2plNqDopzgzbSkAObBesp6kTIfzFpnrrH6CMv 4ZSFRQTuX7TAEUnGdzViWSjkz3CmHu51J0oY7oJSAZsRoOINN0uFVmWaQhwLTj7BTjw4 OHAxb2HYlIiN6x43roGWIhrH4j0iuINpdTiR7k3a9pF9DJdFAfu3ldr8Nqb/MKEEsxhT R73glmLFxHaOW3MoHWTJqMmMsIx0ZJhGwp7F2rMx+sM9grsx+mWuXhECVDSni83B8bor XzCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516144; x=1692120944; 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=6GCqkFBE1/lyTj4zhwSeujQOQFBXsOxFgsCFGMg/bNI=; b=KrRE0BntXFm+ZXp7U7uGIbLyTxVDQPEmeiEXqDJlAc12p44mnkLWjKz7igC/dSKnbw 70QXOKOxICmSk3sLeO3kC+EdP5K5UxVjKIKh608Pzqqrm3pN74NYq1/tt5TUVYuD29UD LrjmahZr3bvf24qI9zKZku8PRQtna+o96QHApYUdBGuSU+HbsAMch2tPiOkAobbsK23r fdoxSBmzOlbvcyDxLEaRgISqB6yF/DgaQsYDcfgHuzS/Jc9+LqcGZ3jUmUoFq4XFPxCL +1U4YIQUHh0VB+/Ls5FTfnrk0pEqm5R5tlVutm/gtAx+CWGf2+4uKSGces1T2MbL1Zbl XSTw== X-Gm-Message-State: AOJu0YyS6GJQFN/THtuVPKhYZdOV0nLKJtbH7Go6wNM1u0AnT2d6vzdA q8rnZIDJiWl80Uhp1a+wLH6TQGZnf3b4YXy0CzmS+g== X-Google-Smtp-Source: AGHT+IHk6CT06j8VBYx9nZA3pgXaimz+FWBLyZX7lPT0eOh53fLvoNeKxom/nw+xc5PrXfATPPF01w== X-Received: by 2002:a05:6a00:1c8b:b0:687:976a:bf81 with SMTP id y11-20020a056a001c8b00b00687976abf81mr11082266pfw.0.1691516144453; Tue, 08 Aug 2023 10:35:44 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:43 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Reshma Pattan Subject: [PATCH 06/20] pcapng: mark API's as stable Date: Tue, 8 Aug 2023 10:35:13 -0700 Message-Id: <20230808173527.186042-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 This API was added in 23.11 and can now be marked as not experimental. Signed-off-by: Stephen Hemminger --- lib/pcapng/rte_pcapng.h | 11 ----------- lib/pcapng/version.map | 6 ++---- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/lib/pcapng/rte_pcapng.h b/lib/pcapng/rte_pcapng.h index d93cc9f73ad5..c96c8994f38b 100644 --- a/lib/pcapng/rte_pcapng.h +++ b/lib/pcapng/rte_pcapng.h @@ -6,10 +6,6 @@ * @file * RTE pcapng * - * @warning - * @b EXPERIMENTAL: - * All functions in this file may be changed or removed without prior notice. - * * Pcapng is an evolution from the pcap format, created to address some of * its deficiencies. Namely, the lack of extensibility and inability to store * additional information. @@ -54,7 +50,6 @@ typedef struct rte_pcapng rte_pcapng_t; * @return * handle to library, or NULL in case of error (and rte_errno is set). */ -__rte_experimental rte_pcapng_t * rte_pcapng_fdopen(int fd, const char *osname, const char *hardware, @@ -66,7 +61,6 @@ rte_pcapng_fdopen(int fd, * @param self * handle to library */ -__rte_experimental void rte_pcapng_close(rte_pcapng_t *self); @@ -89,7 +83,6 @@ rte_pcapng_close(rte_pcapng_t *self); * and before any packet record. All ports used in packet capture * must be added. */ -__rte_experimental int rte_pcapng_add_interface(rte_pcapng_t *self, uint16_t port, const char *ifname, const char *ifdescr, @@ -132,7 +125,6 @@ enum rte_pcapng_direction { * - The pointer to the new mbuf formatted for pcapng_write * - NULL if allocation fails. */ -__rte_experimental struct rte_mbuf * rte_pcapng_copy(uint16_t port_id, uint32_t queue, const struct rte_mbuf *m, struct rte_mempool *mp, @@ -149,7 +141,6 @@ rte_pcapng_copy(uint16_t port_id, uint32_t queue, * The minimum size of mbuf data to handle packet with length bytes. * Accounting for required header and trailer fields */ -__rte_experimental uint32_t rte_pcapng_mbuf_size(uint32_t length); @@ -174,7 +165,6 @@ rte_pcapng_mbuf_size(uint32_t length); * The number of bytes written to file, -1 on failure to write file. * The mbuf's in *pkts* are always freed. */ -__rte_experimental ssize_t rte_pcapng_write_packets(rte_pcapng_t *self, struct rte_mbuf *pkts[], uint16_t nb_pkts); @@ -205,7 +195,6 @@ rte_pcapng_write_packets(rte_pcapng_t *self, * @return * number of bytes written to file, -1 on failure to write file */ -__rte_experimental ssize_t rte_pcapng_write_stats(rte_pcapng_t *self, uint16_t port, const char *comment, diff --git a/lib/pcapng/version.map b/lib/pcapng/version.map index 36393914d97c..81c9652ad6b5 100644 --- a/lib/pcapng/version.map +++ b/lib/pcapng/version.map @@ -1,6 +1,7 @@ -EXPERIMENTAL { +DPDK_24 { global: + rte_pcapng_add_interface; rte_pcapng_close; rte_pcapng_copy; rte_pcapng_fdopen; @@ -8,8 +9,5 @@ EXPERIMENTAL { rte_pcapng_write_packets; rte_pcapng_write_stats; - # added in 23.03 - rte_pcapng_add_interface; - local: *; }; From patchwork Tue Aug 8 17:35:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129952 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 5B9DB4300E; Tue, 8 Aug 2023 19:36:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 218C643279; Tue, 8 Aug 2023 19:35:49 +0200 (CEST) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mails.dpdk.org (Postfix) with ESMTP id 9AF9143270 for ; Tue, 8 Aug 2023 19:35:46 +0200 (CEST) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6874d1c8610so4306103b3a.0 for ; Tue, 08 Aug 2023 10:35:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516145; x=1692120945; 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=rdqv51WdYGvDiP0cM6CHV22vpKs83M/1NA3xX1G+S1w=; b=VX17bHxDt7YU7zi0tVr3ItTgrm461hZg51Y1U7kpftvb9SzWIiz8t5ujoLKpp0sGVo AUuFMzTxWfBHTlZxhVvSioy1jRdCWJ4aykTb8tyjd7+LaPEiAjw/JHHiIhhQtrZz6n1X JepIUsPmvYuLuieonuthDODqocQs7kIy/3MRxp1smd9eo0mMAcHkTTw5oVqTWRz6zV3H j064WxuSsXK0wG3xtBI1pC4VDRXID431zJJ6c4KC1XqPtb/yo8fEiLyCeCS2wxOoV5gb PgKRwgxxTfaGPD3VMJLtcdCA3+fsJhaleQD8yLp0c4S1sXDEuTRBQFY9rEvEElzPW4VI nzBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516145; x=1692120945; 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=rdqv51WdYGvDiP0cM6CHV22vpKs83M/1NA3xX1G+S1w=; b=jPGKQ8GEXqwlIyYgR0Ihrj74VfXcqY25x7zgLO8siy4xTQR4gwT2A9PjZ5ixZhA+/r pmopRdsagUToC7KwaJtcgpBwoSHg7YPhRm59L1/RPDgUCTK8F5SavDQx4ZaK/AUHxrol Dd9rvq4HYS5FMlx2dqC1QzMlaYHXJpUelybZ1MBQRz+TYALeNYe54LJJiwL/oXJm+jHT wnLyH3AtQZuzVBMIUMTgqiyavBGAFycJbddfMXnFhlrC/Dac1ct0uccsQKpibBmVwbpZ BEyeakiKYQWs0lhBTd9FQXwzaqiTdd+RFsnZC53WqhfgDbN0aiBAHmKCoIBzuO+DJi/j LVMg== X-Gm-Message-State: AOJu0Yw02+77eZMpleGr7J7+fy0pV8H4IURWlJMm03yhLHDYoMEwQC9X 2sjoLaDrjIGNQXEmsmaONPVn7rm5FLr72f8bntAK/A== X-Google-Smtp-Source: AGHT+IFdsAI/Ep5CMMe+/2+HOTpf2UDDmff9dAzZqodfdmmhRnEB8+O8huZNMEShepYUGndlEZ3uVA== X-Received: by 2002:a05:6a00:16cd:b0:682:759c:644d with SMTP id l13-20020a056a0016cd00b00682759c644dmr176487pfc.27.1691516145573; Tue, 08 Aug 2023 10:35:45 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:45 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Olivier Matz Subject: [PATCH 07/20] net: remove experimental from functions Date: Tue, 8 Aug 2023 10:35:14 -0700 Message-Id: <20230808173527.186042-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 functions have been around long enough should no longer be experimental. Signed-off-by: Stephen Hemminger --- lib/net/rte_ip.h | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/lib/net/rte_ip.h b/lib/net/rte_ip.h index 7f58dc6f6a9c..2cb5be222cdd 100644 --- a/lib/net/rte_ip.h +++ b/lib/net/rte_ip.h @@ -435,9 +435,6 @@ __rte_ipv4_udptcp_cksum_mbuf(const struct rte_mbuf *m, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Compute the IPv4 UDP/TCP checksum of a packet. * * @param m @@ -449,7 +446,6 @@ __rte_ipv4_udptcp_cksum_mbuf(const struct rte_mbuf *m, * @return * The complemented checksum to set in the L4 header. */ -__rte_experimental static inline uint16_t rte_ipv4_udptcp_cksum_mbuf(const struct rte_mbuf *m, const struct rte_ipv4_hdr *ipv4_hdr, uint16_t l4_off) @@ -482,7 +478,6 @@ rte_ipv4_udptcp_cksum_mbuf(const struct rte_mbuf *m, * @return * Return 0 if the checksum is correct, else -1. */ -__rte_experimental static inline int rte_ipv4_udptcp_cksum_verify(const struct rte_ipv4_hdr *ipv4_hdr, const void *l4_hdr) @@ -496,9 +491,6 @@ rte_ipv4_udptcp_cksum_verify(const struct rte_ipv4_hdr *ipv4_hdr, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Verify the IPv4 UDP/TCP checksum of a packet. * * In case of UDP, the caller must first check if udp_hdr->dgram_cksum is 0 @@ -513,7 +505,6 @@ rte_ipv4_udptcp_cksum_verify(const struct rte_ipv4_hdr *ipv4_hdr, * @return * Return 0 if the checksum is correct, else -1. */ -__rte_experimental static inline int rte_ipv4_udptcp_cksum_mbuf_verify(const struct rte_mbuf *m, const struct rte_ipv4_hdr *ipv4_hdr, @@ -687,9 +678,6 @@ __rte_ipv6_udptcp_cksum_mbuf(const struct rte_mbuf *m, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Process the IPv6 UDP or TCP checksum of a packet. * * The IPv6 header must not be followed by extension headers. The layer 4 @@ -704,7 +692,6 @@ __rte_ipv6_udptcp_cksum_mbuf(const struct rte_mbuf *m, * @return * The complemented checksum to set in the L4 header. */ -__rte_experimental static inline uint16_t rte_ipv6_udptcp_cksum_mbuf(const struct rte_mbuf *m, const struct rte_ipv6_hdr *ipv6_hdr, uint16_t l4_off) @@ -738,7 +725,6 @@ rte_ipv6_udptcp_cksum_mbuf(const struct rte_mbuf *m, * @return * Return 0 if the checksum is correct, else -1. */ -__rte_experimental static inline int rte_ipv6_udptcp_cksum_verify(const struct rte_ipv6_hdr *ipv6_hdr, const void *l4_hdr) @@ -752,9 +738,6 @@ rte_ipv6_udptcp_cksum_verify(const struct rte_ipv6_hdr *ipv6_hdr, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Validate the IPv6 UDP or TCP checksum of a packet. * * In case of UDP, the caller must first check if udp_hdr->dgram_cksum is 0: @@ -770,7 +753,6 @@ rte_ipv6_udptcp_cksum_verify(const struct rte_ipv6_hdr *ipv6_hdr, * @return * Return 0 if the checksum is correct, else -1. */ -__rte_experimental static inline int rte_ipv6_udptcp_cksum_mbuf_verify(const struct rte_mbuf *m, const struct rte_ipv6_hdr *ipv6_hdr, @@ -825,7 +807,6 @@ struct rte_ipv6_fragment_ext { * @return * next protocol number if proto is an IPv6 extension, -EINVAL otherwise */ -__rte_experimental static inline int rte_ipv6_get_next_ext(const uint8_t *p, int proto, size_t *ext_len) { From patchwork Tue Aug 8 17:35:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129953 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 08F314300E; Tue, 8 Aug 2023 19:36:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31A814327E; Tue, 8 Aug 2023 19:35:50 +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 9ABFF43256 for ; Tue, 8 Aug 2023 19:35:47 +0200 (CEST) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-686c06b806cso4031564b3a.2 for ; Tue, 08 Aug 2023 10:35:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516146; x=1692120946; 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=FYf32FUjdEkVb7Wx43ng879dUh9AyXzUMKRqvQlsfA0=; b=BNkK+J2eMQV0hcNUY/8ml8f1SJB+R99Tc2A7U01SJM4aRSG5G5mrkDVOJr6OGNkNju 8R44mZJrtHPdFTcaPrvgQm7Cd9QoXOJWz61OFClZTWmO1NvEjUs+hVzq4feUxeF+ea5F OcSlel2mVj6FqOfk6JdXG2cHLeAD3b1/8gORaNCfl/ispXlK47t1GvKIQ2sdaR9rPs3A HlvoqDnYssNPPagX8HupHhGnRL+JA9EBf64+tTE3HovDVEyoVpg8XQperVBnq5Vb3pkA brfZu6tXOBnFxWp/fkGVsa2acg1hAe3/OOOeESDrHKfOILRU62lMKMJX9m8bhHxQuxEO YNAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516146; x=1692120946; 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=FYf32FUjdEkVb7Wx43ng879dUh9AyXzUMKRqvQlsfA0=; b=a9X2W3RlUhxpFLsJ8Tc//qjujll0/UKQ3RMJD5PW7Evyg0Y7xsQ9e9cp0P8f5l6I1R 039IwLoOolgv11dqg3NJ3XgknQheP6n+AwDrmZwLIwv77jFnwXTmBHYuJlTtCAdVFjae /POIDFDgbQ7A8y1kdCbgwVNlwwM2MmAaXP46uQPlQ0tom1h+85BtVMcX3DPvv91txlO6 q8Ry6yPwLlappui5MN57Bw4mubqJoockJVxxwQV2aZbjM3LbebMvjygYJtKeectkMVuG XnD5wayE1cdey+Y9LZFELXG2HGehAquUafdah6bSmz4yPey/onkvYvLDpAp06iX6xVdO tkhA== X-Gm-Message-State: AOJu0YyXeeWfhmrlTvRcWA41MIjzJJM7leXlgnzQMujvNLO8mjeQFsur vtfVDikx+kUjN+gjXKePyAgutShdmzsOE5CE4wuXfQ== X-Google-Smtp-Source: AGHT+IFEnppYqsOoPwkMlZf8Abk60nXs6DgBj3yc1oF3qYoqdwprkYqtStnrwHZ2c1P/+PrwEghYyQ== X-Received: by 2002:a05:6a00:1a54:b0:686:6fa8:2b0d with SMTP id h20-20020a056a001a5400b006866fa82b0dmr208616pfv.4.1691516146509; Tue, 08 Aug 2023 10:35:46 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:46 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Honnappa Nagarahalli Subject: [PATCH 08/20] rcu: remove experimental from rte_rcu_qbsr Date: Tue, 8 Aug 2023 10:35:15 -0700 Message-Id: <20230808173527.186042-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 functions were added back in 2020. Remove experimental flag. Signed-off-by: Stephen Hemminger Reviewed-by: Honnappa Nagarahalli --- lib/rcu/rte_rcu_qsbr.h | 20 -------------------- lib/rcu/version.map | 15 ++++----------- 2 files changed, 4 insertions(+), 31 deletions(-) diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h index 87e1b55153b5..74ef41e0fac1 100644 --- a/lib/rcu/rte_rcu_qsbr.h +++ b/lib/rcu/rte_rcu_qsbr.h @@ -10,10 +10,6 @@ * * RTE Quiescent State Based Reclamation (QSBR). * - * @warning - * @b EXPERIMENTAL: - * All functions in this file may be changed or removed without prior notice. - * * Quiescent State (QS) is any point in the thread execution * where the thread does not hold a reference to a data structure * in shared memory. While using lock-less data structures, the writer @@ -727,9 +723,6 @@ int rte_rcu_qsbr_dump(FILE *f, struct rte_rcu_qsbr *v); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Create a queue used to store the data structure elements that can * be freed later. This queue is referred to as 'defer queue'. * @@ -742,14 +735,10 @@ rte_rcu_qsbr_dump(FILE *f, struct rte_rcu_qsbr *v); * - EINVAL - NULL parameters are passed * - ENOMEM - Not enough memory */ -__rte_experimental struct rte_rcu_qsbr_dq * rte_rcu_qsbr_dq_create(const struct rte_rcu_qsbr_dq_parameters *params); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Enqueue one resource to the defer queue and start the grace period. * The resource will be freed later after at least one grace period * is over. @@ -777,14 +766,10 @@ rte_rcu_qsbr_dq_create(const struct rte_rcu_qsbr_dq_parameters *params); * if the defer queue size is equal (or larger) than the * number of elements in the data structure. */ -__rte_experimental int rte_rcu_qsbr_dq_enqueue(struct rte_rcu_qsbr_dq *dq, void *e); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Free resources from the defer queue. * * This API is multi-thread safe. @@ -806,15 +791,11 @@ rte_rcu_qsbr_dq_enqueue(struct rte_rcu_qsbr_dq *dq, void *e); * On error - 1 with rte_errno set to * - EINVAL - NULL parameters are passed */ -__rte_experimental int rte_rcu_qsbr_dq_reclaim(struct rte_rcu_qsbr_dq *dq, unsigned int n, unsigned int *freed, unsigned int *pending, unsigned int *available); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Delete a defer queue. * * It tries to reclaim all the resources on the defer queue. @@ -832,7 +813,6 @@ rte_rcu_qsbr_dq_reclaim(struct rte_rcu_qsbr_dq *dq, unsigned int n, * - EAGAIN - Some of the resources have not completed at least 1 grace * period, try again. */ -__rte_experimental int rte_rcu_qsbr_dq_delete(struct rte_rcu_qsbr_dq *dq); diff --git a/lib/rcu/version.map b/lib/rcu/version.map index 9218ed1f3399..982ffd59d9cd 100644 --- a/lib/rcu/version.map +++ b/lib/rcu/version.map @@ -2,6 +2,10 @@ DPDK_24 { global: rte_rcu_log_type; + rte_rcu_qsbr_dq_create; + rte_rcu_qsbr_dq_delete; + rte_rcu_qsbr_dq_enqueue; + rte_rcu_qsbr_dq_reclaim; rte_rcu_qsbr_dump; rte_rcu_qsbr_get_memsize; rte_rcu_qsbr_init; @@ -11,14 +15,3 @@ DPDK_24 { local: *; }; - -EXPERIMENTAL { - global: - - rte_rcu_qsbr_dq_create; - rte_rcu_qsbr_dq_enqueue; - rte_rcu_qsbr_dq_reclaim; - rte_rcu_qsbr_dq_delete; - - local: *; -}; From patchwork Tue Aug 8 17:35:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129954 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 A02EC4300E; Tue, 8 Aug 2023 19:36:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 42CB543282; Tue, 8 Aug 2023 19:35:51 +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 7595F43279 for ; Tue, 8 Aug 2023 19:35:48 +0200 (CEST) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-68706b39c4cso4193818b3a.2 for ; Tue, 08 Aug 2023 10:35:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516147; x=1692120947; 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=+u6OxF10ar3WBFePFUc4bvCfc/4fbSoRHvu+zrkc95o=; b=S1Ohh+ag+D39BL4xVIjqVtls9JzdPs+Mzmlujh4dGm0bHt5vBtOti+8DU0oYFrfO3t yK9jlMQYRbE9U1YRBXsMwOXJmbn1fDcna0wYi5VSDV3Sz3GAEsZqCfV/4igHRBLJZkb0 wH+VdJt+0d/QBWnSucMxR6lX/vlNH8r+DwUiBjvfxGJz7aL4/JZGk1Pt2Rbl+BpoqeLh R5FPU15Z0VXZZpombtcpXxcIcNk2zG392s9zqauRJzWbRd49KvX+OPD4cuqUEQfovMKI CGVvL57FjdeDcUFNR/SEXNpvxV6YHa59d8zulltk6Ui1Tn4RuiDaQwA5D1QaOKr+wH0u ovvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516147; x=1692120947; 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=+u6OxF10ar3WBFePFUc4bvCfc/4fbSoRHvu+zrkc95o=; b=Ms+d/FgBSqI8h4GnMIGpcTUmxJQPt4yYOueRYy+FLEgAaOtFra3XXz1CCF9VEqdeUC bV/XVC4f3Wg3U+c8zcNeDbFI4a0ANbF3xzx7SyOnbBFv+fVnr0deGkaJ4PqX4YC755I/ LvXQ3485wx8A5Eamq7xCIa8G1N0mon9ROm81jmsYCQBhP2L+tdrQYKNfnOPTQQwienTT rcJTrPN7qNwGoMjWoZ3P3Id8Zw33x/yU7oKmMHg3GEHFes4u34F5tdcr9BsZZ3xhVLSe X6KQS6NV527RNdFmCG6CZWZsB6twSuQ/UP0cpwx0D1193mZFcsmAAbD1cdu63r/8eQbF KWHA== X-Gm-Message-State: AOJu0YzoGjGppbWu6iQQk67VjVAqLJluIU3ksxdt7S7zq5RAJXOu/RDU jxNpK/Sjrjc035j9LlQn1O+qVpT9/W7stQlRA/U8ww== X-Google-Smtp-Source: AGHT+IEkXLXgcSo/zCwtwWerdjTp5tK2XOqKiEn8IUaUu58yh098IrV+f3+FU96YWvH6VgfaFeYScQ== X-Received: by 2002:a05:6a00:21cb:b0:653:de9a:d933 with SMTP id t11-20020a056a0021cb00b00653de9ad933mr201932pfj.17.1691516147447; Tue, 08 Aug 2023 10:35:47 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:47 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson , Vladimir Medvedkin Subject: [PATCH 09/20] lpm: remove experimental Date: Tue, 8 Aug 2023 10:35:16 -0700 Message-Id: <20230808173527.186042-10-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 function to associate RCU with LPM was added several releases ago. Remove experimental. Signed-off-by: Stephen Hemminger --- lib/lpm/rte_lpm.h | 4 ---- lib/lpm/version.map | 7 +------ 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/lpm/rte_lpm.h b/lib/lpm/rte_lpm.h index 75e27ff164ab..40825c5b8038 100644 --- a/lib/lpm/rte_lpm.h +++ b/lib/lpm/rte_lpm.h @@ -186,9 +186,6 @@ void rte_lpm_free(struct rte_lpm *lpm); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Associate RCU QSBR variable with an LPM object. * * @param lpm @@ -203,7 +200,6 @@ rte_lpm_free(struct rte_lpm *lpm); * - EEXIST - already added QSBR * - ENOMEM - memory allocation failure */ -__rte_experimental int rte_lpm_rcu_qsbr_add(struct rte_lpm *lpm, struct rte_lpm_rcu_config *cfg); /** diff --git a/lib/lpm/version.map b/lib/lpm/version.map index 9ba73b2f938b..b6bee8c18b8a 100644 --- a/lib/lpm/version.map +++ b/lib/lpm/version.map @@ -18,12 +18,7 @@ DPDK_24 { rte_lpm_find_existing; rte_lpm_free; rte_lpm_is_rule_present; + rte_lpm_rcu_qsbr_add; local: *; }; - -EXPERIMENTAL { - global: - - rte_lpm_rcu_qsbr_add; -}; From patchwork Tue Aug 8 17:35:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129955 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 C91B54300E; Tue, 8 Aug 2023 19:36:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A115E4328E; Tue, 8 Aug 2023 19:35:52 +0200 (CEST) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mails.dpdk.org (Postfix) with ESMTP id 634514327C for ; Tue, 8 Aug 2023 19:35:49 +0200 (CEST) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-68730bafa6bso52863b3a.1 for ; Tue, 08 Aug 2023 10:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516148; x=1692120948; 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=fKfzTEKDhhj7g/s2MQKE7duSDayJq0epT4EUCizB2IU=; b=iruTslAvZDPiY/Kn2OWD3L8nHgPyqEqsytFeTlb2+ZjSuchSmX984YReZZJV/BJhuF alaKJA6xEPMdF0XipxfcuQd5lwqJl4NHNmeuheZlmX3s0dJ8FrcrdHoYje2GUqqGBbwB Ps2nsmXtPnD124LhIyZpnzGDYZ4y4fkYqw1DKMuapXucTrRIYb/gVxvvquBAw/VsIo16 mCAo5IemU6YIZjuHCf9coXqwu3agNtAIbW9tNxihOg4FciBNDFcD34oZPgo8x2BJGecw ida6xVnCI0NOKAy1OpkRfb0X6uY2GwwBDlqRUe3dq2JKcJnikBOQSIxRF2PguQUTDYPK OGHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516148; x=1692120948; 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=fKfzTEKDhhj7g/s2MQKE7duSDayJq0epT4EUCizB2IU=; b=TwddYiHodF2wmAKAjumJ5k8aRsTODQhNmp3FodkKXg9wAxH7gD2gx8nP0xPr/BvRSl 7Qzxm+c47RwfXooNW2asxgL30nAUDT0m+oSP9MliOXtfbDrB8CnJU9T+IbkcbW1M+pE1 NlAWTmoHbj6//l46JawGOkDLLW+76YLRO/UAP7XUZ5QU0nJ9F2PWohVecrkCNNlADzck TyqWAqoNj/A6cENZOCJlj7KDiv6uIkaATPiGHW7SKJp/0UqQyNYaMth6ja24yPhdIMHb 0C6Rqig3jGO5NmrI0kiRXf4ZyzTbhj6Ub7R+OAf6Qtrvbg21FsNRumWKRdfhMdwbj93X DR6A== X-Gm-Message-State: AOJu0YzCz79l4EYmJIn1W1kDzAeziFmBhJRWq97s22VTeu82FPLGrs1i X1EDQ91pkPESWJp0nqV7nfb2M5bimWNwUsHg4KNX4A== X-Google-Smtp-Source: AGHT+IHg9B9g6fV7RWaWbzI8ImOdw0vcNZ6mxqsW+ChIsz7BA+63XRx87hsDrTKvRoeMCw3MOUbE4Q== X-Received: by 2002:a05:6a21:3984:b0:125:3445:8af0 with SMTP id ad4-20020a056a21398400b0012534458af0mr470248pzc.7.1691516148387; Tue, 08 Aug 2023 10:35:48 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:47 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Olivier Matz Subject: [PATCH 10/20] mbuf: remove experimental from create_extbuf Date: Tue, 8 Aug 2023 10:35:17 -0700 Message-Id: <20230808173527.186042-11-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 This API was added in 2020 and should no longer be experimental. Signed-off-by: Stephen Hemminger --- lib/mbuf/rte_mbuf.h | 1 - lib/mbuf/version.map | 8 +------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/mbuf/rte_mbuf.h b/lib/mbuf/rte_mbuf.h index 913c459b1cc6..30fa3df85f53 100644 --- a/lib/mbuf/rte_mbuf.h +++ b/lib/mbuf/rte_mbuf.h @@ -800,7 +800,6 @@ struct rte_pktmbuf_extmem { * - EEXIST - a memzone with the same name already exists * - ENOMEM - no appropriate memory area found in which to create memzone */ -__rte_experimental struct rte_mempool * rte_pktmbuf_pool_create_extbuf(const char *name, unsigned int n, unsigned int cache_size, uint16_t priv_size, diff --git a/lib/mbuf/version.map b/lib/mbuf/version.map index f010d4692e3e..daa65e2bbdb2 100644 --- a/lib/mbuf/version.map +++ b/lib/mbuf/version.map @@ -38,14 +38,8 @@ DPDK_24 { rte_pktmbuf_init; rte_pktmbuf_pool_create; rte_pktmbuf_pool_create_by_ops; + rte_pktmbuf_pool_create_extbuf; rte_pktmbuf_pool_init; local: *; }; - -EXPERIMENTAL { - global: - - rte_pktmbuf_pool_create_extbuf; - -}; From patchwork Tue Aug 8 17:35:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129956 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 11D7C4300E; Tue, 8 Aug 2023 19:37:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B4A3F43293; Tue, 8 Aug 2023 19:35:53 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id 764FF43274 for ; Tue, 8 Aug 2023 19:35:50 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-686ba97e4feso5650310b3a.0 for ; Tue, 08 Aug 2023 10:35:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516149; x=1692120949; 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=t5AlA7nzhd4H83EJnT5N/ejWXLuEBGaE6gYS/1Ocb3g=; b=FxYOj9VnagyfHaMFQKax2s40Fn32QCAz9qOQ5PL3kFaWcdwxd2yu/E1HU1VD2JoLgp w3bpq65r1efBnM5RGL3yx2RfoDVNCA9b5/x0JWH6IjjZTeQ7ZPJlZFCTH4RnbeQq88XJ E8xGac+d4dt3eBAjC3D2aN6v3vN/veRP9Y6aPYaDztyr3nXii2CzwX23HB++Xm31vAEj Sq1NdC37V4I7duZxxcsv6VF33P+QnepVeI/RoupyLeQCNelX+AbgQ7G0Au7ltmR/fWji t9T8rIKIZ2XzaVQXhp4YhtqPZxiQAYU5AqgqzpqM6MZ0mSyQP6AaFwrKMZakPnRKr5Xo RxUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516149; x=1692120949; 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=t5AlA7nzhd4H83EJnT5N/ejWXLuEBGaE6gYS/1Ocb3g=; b=YGi5cM0ddQYpzY00lvm+5sQi027Xr8CfmwlVxunWR74fTm6s5uK2ypcV7tUs92Po+4 +rQKLY5kCBYVfCCJRoc42AssBtLhVVrp4Bplg4Q0yXAwUD5rxgDFktqV1CeVogULtd+P 4LfyIVSVgt6TndYb37PPKi3D3GdQVHx579nEj/6e8Ol354vOEB/8If6bGN6KG46sunXX yEp5wHpHrZr16KrJtzHkjdhfpi2xJL1/Mv1gWR7PAAx/TuOsi4CpV/S1RGYeje/gYaZu 46CZHjTVXs7sypZRm/0XqVg74KhLCmKIJpYlt3XfAwC4rk5SXgG2pbnmp9uIzKlq7D/T ZO8A== X-Gm-Message-State: AOJu0YzWRsmH/GyRv8mjSzlHizKwzBPHP54fBrSJ/oEMl0JK2DgC9FVh uVluf+N8yypgFhWB7NthmRWOmSZiPjql3OYzuGKcsA== X-Google-Smtp-Source: AGHT+IHeNXgYW+IkwAn9jBSqelFtdZGgrKKGXcwwiCToLWIBcF7ZC9PbUGlnnZ9M+s+QV61vcKodxg== X-Received: by 2002:a05:6a00:cc6:b0:666:7ec0:22d7 with SMTP id b6-20020a056a000cc600b006667ec022d7mr193646pfv.24.1691516149377; Tue, 08 Aug 2023 10:35:49 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:49 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Yipeng Wang , Sameh Gobriel , Bruce Richardson , Vladimir Medvedkin Subject: [PATCH 11/20] hash: remove experimental from toeplitz hash Date: Tue, 8 Aug 2023 10:35:18 -0700 Message-Id: <20230808173527.186042-12-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 rte_thash_ functions have been around since 2020. Remove experimental tag. Signed-off-by: Stephen Hemminger --- lib/hash/rte_thash.h | 44 ----------------------------------- lib/hash/rte_thash_gfni.h | 8 ------- lib/hash/rte_thash_x86_gfni.h | 8 ------- lib/hash/version.map | 16 ++++--------- 4 files changed, 4 insertions(+), 72 deletions(-) diff --git a/lib/hash/rte_thash.h b/lib/hash/rte_thash.h index 7b1d1547863e..84673c06762c 100644 --- a/lib/hash/rte_thash.h +++ b/lib/hash/rte_thash.h @@ -223,14 +223,10 @@ rte_softrss_be(uint32_t *input_tuple, uint32_t input_len, /** * Indicates if GFNI implementations of the Toeplitz hash are supported. * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @return * 1 if GFNI is supported * 0 otherwise */ -__rte_experimental int rte_thash_gfni_supported(void); @@ -238,9 +234,6 @@ rte_thash_gfni_supported(void); * Converts Toeplitz hash key (RSS key) into matrixes required * for GFNI implementation * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param matrixes * pointer to the memory where matrices will be written. * Note: the size of this memory must be equal to size * 8 @@ -249,7 +242,6 @@ rte_thash_gfni_supported(void); * @param size * Size of the rss_key in bytes. */ -__rte_experimental void rte_thash_complete_matrix(uint64_t *matrixes, const uint8_t *rss_key, int size); @@ -278,9 +270,6 @@ struct rte_thash_subtuple_helper; /** * Create a new thash context. * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param name * Context name * @param key_len @@ -300,7 +289,6 @@ struct rte_thash_subtuple_helper; * A pointer to the created context on success * NULL otherwise */ -__rte_experimental struct rte_thash_ctx * rte_thash_init_ctx(const char *name, uint32_t key_len, uint32_t reta_sz, uint8_t *key, uint32_t flags); @@ -308,9 +296,6 @@ rte_thash_init_ctx(const char *name, uint32_t key_len, uint32_t reta_sz, /** * Find an existing thash context and return a pointer to it. * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param name * Name of the thash context * @return @@ -318,20 +303,15 @@ rte_thash_init_ctx(const char *name, uint32_t key_len, uint32_t reta_sz, * set appropriately. Possible rte_errno values include: * - ENOENT - required entry not available to return. */ -__rte_experimental struct rte_thash_ctx * rte_thash_find_existing(const char *name); /** * Free a thash context object * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param ctx * Thash context */ -__rte_experimental void rte_thash_free_ctx(struct rte_thash_ctx *ctx); @@ -341,9 +321,6 @@ rte_thash_free_ctx(struct rte_thash_ctx *ctx); * to calculate toeplitz hash collisions. * This function is not multi-thread safe. * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param ctx * Thash context * @param name @@ -357,7 +334,6 @@ rte_thash_free_ctx(struct rte_thash_ctx *ctx); * 0 on success * negative on error */ -__rte_experimental int rte_thash_add_helper(struct rte_thash_ctx *ctx, const char *name, uint32_t len, uint32_t offset); @@ -365,9 +341,6 @@ rte_thash_add_helper(struct rte_thash_ctx *ctx, const char *name, uint32_t len, /** * Find a helper in the context by the given name * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param ctx * Thash context * @param name @@ -375,7 +348,6 @@ rte_thash_add_helper(struct rte_thash_ctx *ctx, const char *name, uint32_t len, * @return * Pointer to the thash helper or NULL if it was not found. */ -__rte_experimental struct rte_thash_subtuple_helper * rte_thash_get_helper(struct rte_thash_ctx *ctx, const char *name); @@ -394,7 +366,6 @@ rte_thash_get_helper(struct rte_thash_ctx *ctx, const char *name); * @return * A complementary value which must be xored with the corresponding subtuple */ -__rte_experimental uint32_t rte_thash_get_complement(struct rte_thash_subtuple_helper *h, uint32_t hash, uint32_t desired_hash); @@ -404,15 +375,11 @@ rte_thash_get_complement(struct rte_thash_subtuple_helper *h, * It changes after each addition of a helper. It should be installed to * the NIC. * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param ctx * Thash context * @return * A pointer to the toeplitz hash key */ -__rte_experimental const uint8_t * rte_thash_get_key(struct rte_thash_ctx *ctx); @@ -422,16 +389,12 @@ rte_thash_get_key(struct rte_thash_ctx *ctx); * CPU supports GFNI. * Matrices changes after each addition of a helper. * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param ctx * Thash context * @return * A pointer to the toeplitz hash key matrices on success * NULL if GFNI is not supported. */ -__rte_experimental const uint64_t * rte_thash_get_gfni_matrices(struct rte_thash_ctx *ctx); @@ -441,9 +404,6 @@ rte_thash_get_gfni_matrices(struct rte_thash_ctx *ctx); * Generally it is some kind of lookup function to check * if adjusted tuple is already in use. * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param userdata * Pointer to the userdata. It could be a pointer to the * table with used tuples to search. @@ -461,9 +421,6 @@ typedef int (*rte_thash_check_tuple_t)(void *userdata, uint8_t *tuple); * desired least significant bits. * This function is multi-thread safe. * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param ctx * Thash context * @param h @@ -485,7 +442,6 @@ typedef int (*rte_thash_check_tuple_t)(void *userdata, uint8_t *tuple); * 0 on success * negative otherwise */ -__rte_experimental int rte_thash_adjust_tuple(struct rte_thash_ctx *ctx, struct rte_thash_subtuple_helper *h, diff --git a/lib/hash/rte_thash_gfni.h b/lib/hash/rte_thash_gfni.h index ef90faa302d1..67d0fa4da988 100644 --- a/lib/hash/rte_thash_gfni.h +++ b/lib/hash/rte_thash_gfni.h @@ -24,9 +24,6 @@ extern "C" { * Calculate Toeplitz hash. * Dummy implementation. * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param m * Pointer to the matrices generated from the corresponding * RSS hash key using rte_thash_complete_matrix(). @@ -37,7 +34,6 @@ extern "C" { * @return * Calculated Toeplitz hash value. */ -__rte_experimental static inline uint32_t rte_thash_gfni(const uint64_t *mtrx __rte_unused, const uint8_t *key __rte_unused, int len __rte_unused) @@ -50,9 +46,6 @@ rte_thash_gfni(const uint64_t *mtrx __rte_unused, * Bulk implementation for Toeplitz hash. * Dummy implementation. * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param m * Pointer to the matrices generated from the corresponding * RSS hash key using rte_thash_complete_matrix(). @@ -66,7 +59,6 @@ rte_thash_gfni(const uint64_t *mtrx __rte_unused, * @param num * Number of tuples to hash. */ -__rte_experimental static inline void rte_thash_gfni_bulk(const uint64_t *mtrx __rte_unused, int len __rte_unused, uint8_t *tuple[] __rte_unused, diff --git a/lib/hash/rte_thash_x86_gfni.h b/lib/hash/rte_thash_x86_gfni.h index 7bb76ac1bb5f..f263c1eeec06 100644 --- a/lib/hash/rte_thash_x86_gfni.h +++ b/lib/hash/rte_thash_x86_gfni.h @@ -161,9 +161,6 @@ __rte_thash_gfni(const uint64_t *mtrx, const uint8_t *tuple, /** * Calculate Toeplitz hash. * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param m * Pointer to the matrices generated from the corresponding * RSS hash key using rte_thash_complete_matrix(). @@ -175,7 +172,6 @@ __rte_thash_gfni(const uint64_t *mtrx, const uint8_t *tuple, * @return * Calculated Toeplitz hash value. */ -__rte_experimental static inline uint32_t rte_thash_gfni(const uint64_t *m, const uint8_t *tuple, int len) { @@ -190,9 +186,6 @@ rte_thash_gfni(const uint64_t *m, const uint8_t *tuple, int len) /** * Bulk implementation for Toeplitz hash. * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * @param m * Pointer to the matrices generated from the corresponding * RSS hash key using rte_thash_complete_matrix(). @@ -207,7 +200,6 @@ rte_thash_gfni(const uint64_t *m, const uint8_t *tuple, int len) * @param num * Number of tuples to hash. */ -__rte_experimental static inline void rte_thash_gfni_bulk(const uint64_t *mtrx, int len, uint8_t *tuple[], uint32_t val[], uint32_t num) diff --git a/lib/hash/version.map b/lib/hash/version.map index daaa9a8901db..b98b64a1638a 100644 --- a/lib/hash/version.map +++ b/lib/hash/version.map @@ -30,25 +30,17 @@ DPDK_24 { rte_hash_rcu_qsbr_add; rte_hash_reset; rte_hash_set_cmp_func; - - local: *; -}; - -EXPERIMENTAL { - global: - - # added in 21.05 rte_thash_add_helper; rte_thash_adjust_tuple; + rte_thash_complete_matrix; rte_thash_find_existing; rte_thash_free_ctx; rte_thash_get_complement; + rte_thash_get_gfni_matrices; rte_thash_get_helper; rte_thash_get_key; + rte_thash_gfni_supported; rte_thash_init_ctx; - # added in 21.11 - rte_thash_complete_matrix; - rte_thash_get_gfni_matrices; - rte_thash_gfni_supported; + local: *; }; From patchwork Tue Aug 8 17:35:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129957 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 AE0584300E; Tue, 8 Aug 2023 19:37:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C05D843296; Tue, 8 Aug 2023 19:35:54 +0200 (CEST) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mails.dpdk.org (Postfix) with ESMTP id 5B12B43284 for ; Tue, 8 Aug 2023 19:35:51 +0200 (CEST) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-686d8c8fc65so4162633b3a.0 for ; Tue, 08 Aug 2023 10:35:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516150; x=1692120950; 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=p5ODpMrN8kIUmAYIND+RniYVMDSLMfiFa4G5Xbxs090=; b=FIUT+rAKEjo46pmM3nMfaf/bbn53OS8YiTU2m/aBP/sY1ZGGCqePayIHQdqE+9xs4l rdGCUQFJ40Goq8O6rrPgMFdNgDm0B6CBSqf/a3pxu/bzRmgvZ1DOQKQgiJRK5uIrPmFD dYi0gufEkhvGYK70CwGSBh2QI0XAGsjmrjUgrA6eHfXjJg0SimN9wTvs84sCb2bsazVC IPGHEvLqdvWzgOFW5uBLQzSZtbGPVQq4yC4/ERTl6w2mQq8zg6quH6hYjGOnyWEoGCs1 KStv65rBJNVFbe9TBHaYS23uTwpWShJvOFewEbnGK4ZKm7bSyXHweOlkiJrKDn51I/At 2YUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516150; x=1692120950; 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=p5ODpMrN8kIUmAYIND+RniYVMDSLMfiFa4G5Xbxs090=; b=HBKepUsveqtEPntN5L92R1CmmXwDgNe8pXJtPiYxdDy/aF/Jzo1ZGDQ77RLn3zuGDp yIwSElS1W2am0FeWORhLoYODhYljAYUnABR04JxJbPYXJ8UFeInpu7a7I1D/n2/S0CAe WHzz5i6JlVD3VH4hKUs1syL82Cdc2SCEe36fc42IoXQ3vUd6k4I1D5KxPiUbC2Azte4+ KU1ceXc0m5bErHwmijwX5OAaWAXmdqOO2e4fc1v+aJl4qakUK8iJdyQL4uXJHEA0yq/9 I3zmB/k6ViNEO3hL1gEdaxH3RQO/XlSSjvZNEGUcnXwmmpYcRXW3MevsCPvtjVsMPOah +BRQ== X-Gm-Message-State: AOJu0YztJ2BacsslnqpxesJ1BJZ2OuI7ZqrlhPlqsokA/ypHQLfRIJ0p UwEOltWBhw4I4Y5rdu6pHjmfX8pWX7yrm0sk7W7f2A== X-Google-Smtp-Source: AGHT+IEsjCmaXm1GhqRLZxCncmoEKfyaUwTC0eVDxJJ1HYsJ+nbXwI2fDm9THEBzIf06h7x2G57WDw== X-Received: by 2002:a05:6a00:138f:b0:687:2d90:acfc with SMTP id t15-20020a056a00138f00b006872d90acfcmr219813pfg.2.1691516150375; Tue, 08 Aug 2023 10:35:50 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:49 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Erik Gabriel Carrillo Subject: [PATCH 12/20] timer: remove experimental from rte_timer_next_ticks Date: Tue, 8 Aug 2023 10:35:19 -0700 Message-Id: <20230808173527.186042-13-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 Function was added in 20.11, remove experimental flag. Signed-off-by: Stephen Hemminger --- lib/timer/rte_timer.h | 4 ---- lib/timer/version.map | 7 +------ 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/timer/rte_timer.h b/lib/timer/rte_timer.h index c8710c4dc9b1..df791cfbd626 100644 --- a/lib/timer/rte_timer.h +++ b/lib/timer/rte_timer.h @@ -332,9 +332,6 @@ void rte_timer_stop_sync(struct rte_timer *tim); int rte_timer_pending(struct rte_timer *tim); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Time until the next timer on the current lcore * This function gives the ticks until the next timer will be active. * @@ -344,7 +341,6 @@ int rte_timer_pending(struct rte_timer *tim); * - 0: a timer is pending and will run at next rte_timer_manage() * - >0: ticks until the next timer is ready */ -__rte_experimental int64_t rte_timer_next_ticks(void); /** diff --git a/lib/timer/version.map b/lib/timer/version.map index e3d5a043034c..b180708e2488 100644 --- a/lib/timer/version.map +++ b/lib/timer/version.map @@ -10,6 +10,7 @@ DPDK_24 { rte_timer_dump_stats; rte_timer_init; rte_timer_manage; + rte_timer_next_ticks; rte_timer_pending; rte_timer_reset; rte_timer_reset_sync; @@ -21,9 +22,3 @@ DPDK_24 { local: *; }; - -EXPERIMENTAL { - global: - - rte_timer_next_ticks; -}; From patchwork Tue Aug 8 17:35:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129958 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 440F24300E; Tue, 8 Aug 2023 19:37:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 05B134329A; Tue, 8 Aug 2023 19:35:56 +0200 (CEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id 4B8D843288 for ; Tue, 8 Aug 2023 19:35:52 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-686daaa5f1fso4142193b3a.3 for ; Tue, 08 Aug 2023 10:35:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516151; x=1692120951; 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=nwHkBJsxgbrmzvHp9muCqBtvAzk4DSCWgYvKgUxpKPlSxDJModgFoaMJ9cRxJfFhNB C/2z7CpbuOAnWsIJr59fQdIcF8e+D3yZp6zksT1pvB+NhI/WoXrI7KPl2x/tsn3fjtoJ vgBcADyMAsHELNJSy5NATNyOF4eFMmQF8PC3ORHijnAG84F68pLPoAhc3uiuEK8MvQ4g BrnNN7AXTvTbHjf3vjRBWC4dLL3htqJ7WapnwXvl9vdhyuAbGOfudvi73wkSk3hFXLYS wq1bydqvfwaDC9zHPpNtkQyMwFCim6mXUZLRxr4JRBw7NAOqTel42zAUMVoNyuy1qkYO WtEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516151; x=1692120951; 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=F9dTAAwXgnxWFaf9dXnVIwL9fc0ltCWSvG4XqnWMkuU3ajTt+7TTxG+kjtc4EXR/bU oiGGV3BGWh5BY29Kyph0vBUidW44Cv8rUcmL5DYQsu3eodw0pZdIYX5m5VoZmT8EEP3V eEtzaoSFxeEEMf41GWyVbaCF8VRxd2Z92GSQJNBmqTNNIaL5HcAMC4gW5xCFGVn51gpD bsP7AoDP9KeuQB7yVeVKSCIbfVbwOlSjKiDb908t8i03vfk2OL72l45aXvNj/2OiU8iU uNq94HfvLBE/5ZFMXzEaVEHqY8IFyomGehm3RAoZv56UqTmOEER6zDVtne5v0mKC3ZG5 ZfAQ== X-Gm-Message-State: AOJu0YycPhklv8bbfut2zjCcD0lCAhLoJIzqyHya8hrus81tk8IFQpsz mpIhH5AAn2rUyoSaX/qFZ1Zgx3TEWEWyeq0WSRCS7w== X-Google-Smtp-Source: AGHT+IFTLdA4zwbk3j678gPj34BAa4AoDp59gNmZOcWxODOswRKnbYHwLZLmeN4KmpQwrQ2+lZx42g== X-Received: by 2002:a05:6a00:1a8f:b0:686:ec1d:18e5 with SMTP id e15-20020a056a001a8f00b00686ec1d18e5mr166957pfv.28.1691516151267; Tue, 08 Aug 2023 10:35:51 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:50 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu Subject: [PATCH 13/20] sched: remove experimental Date: Tue, 8 Aug 2023 10:35:20 -0700 Message-Id: <20230808173527.186042-14-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 --- 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; -}; From patchwork Tue Aug 8 17:35:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129959 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 150F74300E; Tue, 8 Aug 2023 19:37:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 897C0432A2; Tue, 8 Aug 2023 19:35:57 +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 5FB7743291 for ; Tue, 8 Aug 2023 19:35:53 +0200 (CEST) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-68783004143so4295810b3a.2 for ; Tue, 08 Aug 2023 10:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516152; x=1692120952; 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=klUEwxZn39U6oMeV5+YF+rR3v6S0l9TsNq4u8Apo2N0=; b=XpajEtgx8h3b6P4fdQDa1PphpV8oyz4bkWu6EzE5J70rRu6OmhQxWBQ1KdDMszhudD jE7m762zpH+vYzFDNu0ZUp05TiFZkz8K6aMW1vi+naurZoimx7KX8kpMBYWcSOoIWXjz LMFDg3HA2bpvTjpn4eHyFiyI/YJdYc2JVGALECSj9S+DBId76AmPWQD8kC0mbiJfi4B6 utvzt8XMpxjD+321ayDPG/j78gCdM0moGp/VHj4DqHlJ8rhG2e4g3N0itlJvc+RC7mK2 sjkrTmeRMaCzJTW4GkNCB/RH/Oa4XNdWMTCAf7Clu33aSVb4MsUpl9/m1xaqPTLe85fP vomA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516152; x=1692120952; 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=klUEwxZn39U6oMeV5+YF+rR3v6S0l9TsNq4u8Apo2N0=; b=WL//zarNLlYm44DuNySacuI/fUuLH1ZSpJFCJ89TfJSubVDIbOf9nEXbZWFp8B62VG L3HQaY2rce666kr0JC3k4r61YKJG9vi06avYbicbTdmqPxosbSazqLRaptCk5v4tMC/8 2YZEhpVR9PR44OgEtWCKxhGcUjXwaK0YYzNXpq3dJlf2xo98d6R3fBJYH90OlG9KzrKW MlMxxsjmvjp2FcJmwocBas8CE0KJhFbf6kdy+yvAEc7lohBfOJcqCswHcNfR6XMk3HaL kOlnyEM6MOPmKgFXpGC7uDG89EX/XOLiyoU3Zl4kxfI2GPUvoECvKvULaRMqnUPbc100 efhQ== X-Gm-Message-State: AOJu0Ywop4ddCQtR2g1ENLGHcLYUxFLZVHon808wiTh2iWb8Iu6WoQDT zoxXrVUjI59l9QsA/c2Cu3u/wpwXCprJiTXJbrcEhQ== X-Google-Smtp-Source: AGHT+IFKZvTC2snbfVVR8I7GEsfS7+cTZ452T6bpo4Q8ReOKW6XloULmT1ObXQjekH2ZNuUBSt1zMQ== X-Received: by 2002:a05:6a21:6d8c:b0:137:a08b:8c04 with SMTP id wl12-20020a056a216d8c00b00137a08b8c04mr223369pzb.48.1691516152228; Tue, 08 Aug 2023 10:35:52 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:51 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Chengwen Feng , Kevin Laatz , Bruce Richardson Subject: [PATCH 14/20] dmadev: mark API's as not experimental Date: Tue, 8 Aug 2023 10:35:21 -0700 Message-Id: <20230808173527.186042-15-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 were added in 20.11 time now to remove experimental flag. Signed-off-by: Stephen Hemminger Acked-by: Chengwen Feng --- lib/dmadev/rte_dmadev.h | 85 ----------------------------------------- lib/dmadev/version.map | 2 +- 2 files changed, 1 insertion(+), 86 deletions(-) diff --git a/lib/dmadev/rte_dmadev.h b/lib/dmadev/rte_dmadev.h index e61d71959e82..ecc98517e852 100644 --- a/lib/dmadev/rte_dmadev.h +++ b/lib/dmadev/rte_dmadev.h @@ -158,9 +158,6 @@ extern "C" { #define RTE_DMADEV_DEFAULT_MAX 64 /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Configure the maximum number of dmadevs. * @note This function can be invoked before the primary process rte_eal_init() * to change the maximum number of dmadevs. If not invoked, the maximum number @@ -172,13 +169,9 @@ extern "C" { * @return * 0 on success. Otherwise negative value is returned. */ -__rte_experimental int rte_dma_dev_max(size_t dev_max); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Get the device identifier for the named DMA device. * * @param name @@ -188,13 +181,9 @@ int rte_dma_dev_max(size_t dev_max); * Returns DMA device identifier on success. * - <0: Failure to find named DMA device. */ -__rte_experimental int rte_dma_get_dev_id_by_name(const char *name); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Check whether the dev_id is valid. * * @param dev_id @@ -203,20 +192,15 @@ int rte_dma_get_dev_id_by_name(const char *name); * @return * - If the device index is valid (true) or not (false). */ -__rte_experimental bool rte_dma_is_valid(int16_t dev_id); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Get the total number of DMA devices that have been successfully * initialised. * * @return * The total number of usable DMA devices. */ -__rte_experimental uint16_t rte_dma_count_avail(void); /** @@ -227,7 +211,6 @@ uint16_t rte_dma_count_avail(void); * @return * Next valid dmadev, UINT16_MAX if there is none. */ -__rte_experimental int16_t rte_dma_next_dev(int16_t start_dev_id); /** Utility macro to iterate over all available dmadevs */ @@ -310,9 +293,6 @@ struct rte_dma_info { }; /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Retrieve information of a DMA device. * * @param dev_id @@ -324,7 +304,6 @@ struct rte_dma_info { * @return * 0 on success. Otherwise negative value is returned. */ -__rte_experimental int rte_dma_info_get(int16_t dev_id, struct rte_dma_info *dev_info); /** @@ -349,9 +328,6 @@ struct rte_dma_conf { }; /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Configure a DMA device. * * This function must be invoked first before any other function in the @@ -367,13 +343,9 @@ struct rte_dma_conf { * @return * 0 on success. Otherwise negative value is returned. */ -__rte_experimental int rte_dma_configure(int16_t dev_id, const struct rte_dma_conf *dev_conf); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Start a DMA device. * * The device start step is the last one and consists of setting the DMA @@ -385,13 +357,9 @@ int rte_dma_configure(int16_t dev_id, const struct rte_dma_conf *dev_conf); * @return * 0 on success. Otherwise negative value is returned. */ -__rte_experimental int rte_dma_start(int16_t dev_id); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Stop a DMA device. * * The device can be restarted with a call to rte_dma_start(). @@ -402,13 +370,9 @@ int rte_dma_start(int16_t dev_id); * @return * 0 on success. Otherwise negative value is returned. */ -__rte_experimental int rte_dma_stop(int16_t dev_id); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Close a DMA device. * * The device cannot be restarted after this call. @@ -419,7 +383,6 @@ int rte_dma_stop(int16_t dev_id); * @return * 0 on success. Otherwise negative value is returned. */ -__rte_experimental int rte_dma_close(int16_t dev_id); /** @@ -585,9 +548,6 @@ struct rte_dma_vchan_conf { }; /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Allocate and set up a virtual DMA channel. * * @param dev_id @@ -602,7 +562,6 @@ struct rte_dma_vchan_conf { * @return * 0 on success. Otherwise negative value is returned. */ -__rte_experimental int rte_dma_vchan_setup(int16_t dev_id, uint16_t vchan, const struct rte_dma_vchan_conf *conf); @@ -631,9 +590,6 @@ struct rte_dma_stats { #define RTE_DMA_ALL_VCHAN 0xFFFFu /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Retrieve basic statistics of a or all virtual DMA channel(s). * * @param dev_id @@ -648,14 +604,10 @@ struct rte_dma_stats { * @return * 0 on success. Otherwise negative value is returned. */ -__rte_experimental int rte_dma_stats_get(int16_t dev_id, uint16_t vchan, struct rte_dma_stats *stats); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Reset basic statistics of a or all virtual DMA channel(s). * * @param dev_id @@ -667,7 +619,6 @@ int rte_dma_stats_get(int16_t dev_id, uint16_t vchan, * @return * 0 on success. Otherwise negative value is returned. */ -__rte_experimental int rte_dma_stats_reset(int16_t dev_id, uint16_t vchan); /** @@ -683,9 +634,6 @@ enum rte_dma_vchan_status { }; /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Determine if all jobs have completed on a device channel. * This function is primarily designed for testing use, as it allows a process to check if * all jobs are completed, without actually gathering completions from those jobs. @@ -700,14 +648,10 @@ enum rte_dma_vchan_status { * 0 - call completed successfully * < 0 - error code indicating there was a problem calling the API */ -__rte_experimental int rte_dma_vchan_status(int16_t dev_id, uint16_t vchan, enum rte_dma_vchan_status *status); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Dump DMA device info. * * @param dev_id @@ -718,7 +662,6 @@ rte_dma_vchan_status(int16_t dev_id, uint16_t vchan, enum rte_dma_vchan_status * * @return * 0 on success. Otherwise negative value is returned. */ -__rte_experimental int rte_dma_dump(int16_t dev_id, FILE *f); /** @@ -822,9 +765,6 @@ struct rte_dma_sge { /**@}*/ /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Enqueue a copy operation onto the virtual DMA channel. * * This queues up a copy operation to be performed by hardware, if the 'flags' @@ -850,7 +790,6 @@ struct rte_dma_sge { * - -ENOSPC: if no space left to enqueue. * - other values < 0 on failure. */ -__rte_experimental static inline int rte_dma_copy(int16_t dev_id, uint16_t vchan, rte_iova_t src, rte_iova_t dst, uint32_t length, uint64_t flags) @@ -868,9 +807,6 @@ rte_dma_copy(int16_t dev_id, uint16_t vchan, rte_iova_t src, rte_iova_t dst, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Enqueue a scatter-gather list copy operation onto the virtual DMA channel. * * This queues up a scatter-gather list copy operation to be performed by @@ -900,7 +836,6 @@ rte_dma_copy(int16_t dev_id, uint16_t vchan, rte_iova_t src, rte_iova_t dst, * - -ENOSPC: if no space left to enqueue. * - other values < 0 on failure. */ -__rte_experimental static inline int rte_dma_copy_sg(int16_t dev_id, uint16_t vchan, struct rte_dma_sge *src, struct rte_dma_sge *dst, uint16_t nb_src, uint16_t nb_dst, @@ -921,9 +856,6 @@ rte_dma_copy_sg(int16_t dev_id, uint16_t vchan, struct rte_dma_sge *src, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Enqueue a fill operation onto the virtual DMA channel. * * This queues up a fill operation to be performed by hardware, if the 'flags' @@ -949,7 +881,6 @@ rte_dma_copy_sg(int16_t dev_id, uint16_t vchan, struct rte_dma_sge *src, * - -ENOSPC: if no space left to enqueue. * - other values < 0 on failure. */ -__rte_experimental static inline int rte_dma_fill(int16_t dev_id, uint16_t vchan, uint64_t pattern, rte_iova_t dst, uint32_t length, uint64_t flags) @@ -968,9 +899,6 @@ rte_dma_fill(int16_t dev_id, uint16_t vchan, uint64_t pattern, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Trigger hardware to begin performing enqueued operations. * * Writes the "doorbell" to the hardware to trigger it @@ -984,7 +912,6 @@ rte_dma_fill(int16_t dev_id, uint16_t vchan, uint64_t pattern, * @return * 0 on success. Otherwise negative value is returned. */ -__rte_experimental static inline int rte_dma_submit(int16_t dev_id, uint16_t vchan) { @@ -1001,9 +928,6 @@ rte_dma_submit(int16_t dev_id, uint16_t vchan) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Return the number of operations that have been successfully completed. * Once an operation has been reported as completed, the results of that * operation will be visible to all cores on the system. @@ -1025,7 +949,6 @@ rte_dma_submit(int16_t dev_id, uint16_t vchan) * The number of operations that successfully completed. This return value * must be less than or equal to the value of nb_cpls. */ -__rte_experimental static inline uint16_t rte_dma_completed(int16_t dev_id, uint16_t vchan, const uint16_t nb_cpls, uint16_t *last_idx, bool *has_error) @@ -1060,9 +983,6 @@ rte_dma_completed(int16_t dev_id, uint16_t vchan, const uint16_t nb_cpls, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Return the number of operations that have been completed, and the operations * result may succeed or fail. * Once an operation has been reported as completed successfully, the results of that @@ -1088,7 +1008,6 @@ rte_dma_completed(int16_t dev_id, uint16_t vchan, const uint16_t nb_cpls, * If this number is greater than zero (assuming n), then n values in the * status array are also set. */ -__rte_experimental static inline uint16_t rte_dma_completed_status(int16_t dev_id, uint16_t vchan, const uint16_t nb_cpls, uint16_t *last_idx, @@ -1112,9 +1031,6 @@ rte_dma_completed_status(int16_t dev_id, uint16_t vchan, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Check remaining capacity in descriptor ring for the current burst. * * @param dev_id @@ -1126,7 +1042,6 @@ rte_dma_completed_status(int16_t dev_id, uint16_t vchan, * - Remaining space in the descriptor ring for the current burst. * - 0 on error */ -__rte_experimental static inline uint16_t rte_dma_burst_capacity(int16_t dev_id, uint16_t vchan) { diff --git a/lib/dmadev/version.map b/lib/dmadev/version.map index 7031d6b335e9..2a3736514c8f 100644 --- a/lib/dmadev/version.map +++ b/lib/dmadev/version.map @@ -1,4 +1,4 @@ -EXPERIMENTAL { +DPDK_24 { global: rte_dma_close; From patchwork Tue Aug 8 17:35:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129960 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 1CE374300E; Tue, 8 Aug 2023 19:37:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AB009432AA; Tue, 8 Aug 2023 19:35:58 +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 5385743292 for ; Tue, 8 Aug 2023 19:35:54 +0200 (CEST) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-686be28e1a8so4218231b3a.0 for ; Tue, 08 Aug 2023 10:35:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516153; x=1692120953; 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=IGZDjR7pGkL4/5tSoRdgO5Sw5mocvE9iw+HjzIoK124=; b=eQ5TsEvrNLGrBCdGfHdgi5AC5CnUzM4qKxfY6c8jcSXYZvWXLd/q13SYgTUMMI4sOj e6fEu3I1juTui5WyMvzodgfynjCLTX+toVDhr/Fjq+393DTTQFYE2DY2B6PfirYIDAAb E73iKvKxoKI4yk3LU5uxUavlGI8++eshM6Unadbb186osuBBdbfnVDp4jUpy7bhw82D3 4dGuSb0HIx7nIQMJd0Otnc0RqU+PeLL8WdFsTnITxa0kM9l7QMpIdtY+xzc/58i2zfNy Z9IXxe3Cab8m2wGs1De4KtHHDTOmr+q56awsb2iiE6h/gtEm25sezBm/CGwVpVuVxADE q8ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516153; x=1692120953; 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=IGZDjR7pGkL4/5tSoRdgO5Sw5mocvE9iw+HjzIoK124=; b=WMdlqT7Dbd0nwJwHXjceMucpvdibP2mOiW4JEiLfrrAWhJ1XaHvVub6P2dEFazL8Xx AtE2jRonuXXdq9KqkJY5hLIYm2efiw0dYzZTz/TMVxjzhuVGRZZMy5UabM3GA4A5/Tu9 4CILcVra2hjD0qkGpZOUlhNwnOsWUOgHesd1/bjS0MH/h568FR/bDBTEH82rg7ooJskU vIiRi57vefTAMKQmI80m5DQnqUSRRU7+ryjsgMRVbm+88l5s4pO/X2/FJdHu2ZrCyRgu bkK8XyN+gbq7wRwx2KZGenX62qOjJGH3eqo98Ixo5PqqbDWjXZ/D6zSD7llr1kb1i10q YIXw== X-Gm-Message-State: AOJu0YyGVyTvCAJO9ZQgGdXKjPEri54yCwnpoFIIVFIGf96dOij1tp3+ LnPjz1cT+QTrkNfx7VzH6I8L5uQ0la3T4zlM0iOhjg== X-Google-Smtp-Source: AGHT+IEpsLypHQaOAaw1nXU8pYzgWP4NUIzEpsc86tCJj2caIUaL9wGFKihxXmRUwWqomeukPc1fBQ== X-Received: by 2002:a05:6a00:1989:b0:682:a6bd:e952 with SMTP id d9-20020a056a00198900b00682a6bde952mr217751pfl.6.1691516153268; Tue, 08 Aug 2023 10:35:53 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:52 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu Subject: [PATCH 15/20] meter: remove experimental warning from comments Date: Tue, 8 Aug 2023 10:35:22 -0700 Message-Id: <20230808173527.186042-16-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 API's for rte_meter_trtcm were never properly flagged as experimental; missing __rte_experimental but there was an experimental comment in the docbook comment. Remove the comment. Signed-off-by: Stephen Hemminger --- lib/meter/rte_meter.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/meter/rte_meter.h b/lib/meter/rte_meter.h index 6ba99674361a..bd68cbe38903 100644 --- a/lib/meter/rte_meter.h +++ b/lib/meter/rte_meter.h @@ -124,9 +124,6 @@ int rte_meter_trtcm_profile_config(struct rte_meter_trtcm_profile *p, struct rte_meter_trtcm_params *params); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * trTCM RFC 4115 profile configuration * * @param p @@ -170,9 +167,6 @@ rte_meter_trtcm_config(struct rte_meter_trtcm *m, struct rte_meter_trtcm_profile *p); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * trTCM RFC 4115 configuration per metered traffic flow * * @param m @@ -273,9 +267,6 @@ rte_meter_trtcm_color_aware_check(struct rte_meter_trtcm *m, enum rte_color pkt_color); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * trTCM RFC4115 color blind traffic metering * * @param m @@ -297,9 +288,6 @@ rte_meter_trtcm_rfc4115_color_blind_check( uint32_t pkt_len); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * trTCM RFC4115 color aware traffic metering * * @param m From patchwork Tue Aug 8 17:35: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: 129961 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 437764300E; Tue, 8 Aug 2023 19:37:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B8EEB432AF; Tue, 8 Aug 2023 19:35:59 +0200 (CEST) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mails.dpdk.org (Postfix) with ESMTP id 728E743298 for ; Tue, 8 Aug 2023 19:35:55 +0200 (CEST) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-6873a30d02eso4032066b3a.3 for ; Tue, 08 Aug 2023 10:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516154; x=1692120954; 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=6yblXRv9JjpjnVqr0v3feGDKb4c+1KhyOflqo2v58/U=; b=3KiYRA+3gqJ273I2qEps3Fzo7zPcrW6ODOpogT8qf2p8lsy96+HgCoLsLMyhKVIhv4 clLuMoH4InslFSV6mR3bvzxgkN1sbVFz7iVWtYUII65UxB8VHlPGD2amRJu/IGZoEFhU B6rsTjqSR17hsAbpIMcF1o81xFpN30ts2HRxexFqzq51m3mSWtjz5JuFPuz5VSteLArO frP88Rbw5u0GFI/3Hu+B+baM7eg9SFVW2yw2Ry7v7ZQSrFYC5OtP/Fnw1nAZegA97qDn TDu2HMrbiPIIrNKy2tTkAPQ35mQ/M65nXvohuoS/cmIb86aDAUZy93KzVexdaePTpri/ ompQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516154; x=1692120954; 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=6yblXRv9JjpjnVqr0v3feGDKb4c+1KhyOflqo2v58/U=; b=WWcbBh8X2HKxwyfdxC0yEuSVFFnyYx/bVbP3M0OH1dmOod5mDbH9DyYWq+7JSjSHyv ImadX6Wt4+ey3ucbC6dGH/1CxpkpM0Ak8iG0+dahQixFP7vyIz6b6r8G5etmidGt5fMo Yfvu5NGJhx1+2yDZ1LFrsjFkO8sLIW2J+qGhMvOb5tqOdmFdB9spBfMLhqEVjdAD0abA Wf1A6Qj89U8XN/htp/4b0ORviEq2142sLbFjoE8Fb9+ibAb1shR0Z/qDx4KS2aS/rjIh p1XxFdJZ18TnCFBNkqp3UQn+LZR22MecLySD8N43EroE+p3LIcKo93Zyhn6HbPAj+f2t 2TsQ== X-Gm-Message-State: AOJu0YzHERWY6CLo6nTuLvQ4O6nFHAwgMGK9Dc50Gyr2sXhhDfQRSDTf STpUSAP/aArlm4c5XIN+mQxO6VOXQ07vhg9eHWzY/Q== X-Google-Smtp-Source: AGHT+IGaN3hRq/CLknc/ILI/dmqaLVaNvicLGG3pN+/GfWGAZ+UFZpatKL/J3kI1x9JIof1FZj96PQ== X-Received: by 2002:a05:6a00:2d1c:b0:687:472f:514a with SMTP id fa28-20020a056a002d1c00b00687472f514amr220846pfb.2.1691516154282; Tue, 08 Aug 2023 10:35:54 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:53 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Anatoly Burakov , David Hunt Subject: [PATCH 16/20] power: remove experimental from API's Date: Tue, 8 Aug 2023 10:35:23 -0700 Message-Id: <20230808173527.186042-17-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 power management API's were last changed in 22.11 release. Therefore remove experimental for 23.11 release. Signed-off-by: Stephen Hemminger --- lib/power/rte_power.h | 4 --- lib/power/rte_power_guest_channel.h | 4 --- lib/power/rte_power_intel_uncore.h | 9 ------- lib/power/rte_power_pmd_mgmt.h | 40 ----------------------------- lib/power/version.map | 33 ++++++++---------------- 5 files changed, 11 insertions(+), 79 deletions(-) diff --git a/lib/power/rte_power.h b/lib/power/rte_power.h index 5e2b87c775bf..4e7560118f3b 100644 --- a/lib/power/rte_power.h +++ b/lib/power/rte_power.h @@ -24,9 +24,6 @@ enum power_management_env {PM_ENV_NOT_SET, PM_ENV_ACPI_CPUFREQ, PM_ENV_KVM_VM, PM_ENV_PSTATE_CPUFREQ, PM_ENV_CPPC_CPUFREQ}; /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Check if a specific power management environment type is supported on a * currently running system. * @@ -38,7 +35,6 @@ enum power_management_env {PM_ENV_NOT_SET, PM_ENV_ACPI_CPUFREQ, PM_ENV_KVM_VM, * - 0 if unsupported * - -1 if error, with rte_errno indicating reason for error. */ -__rte_experimental int rte_power_check_env_supported(enum power_management_env env); /** diff --git a/lib/power/rte_power_guest_channel.h b/lib/power/rte_power_guest_channel.h index b5de1bd24318..55b76dfc4c08 100644 --- a/lib/power/rte_power_guest_channel.h +++ b/lib/power/rte_power_guest_channel.h @@ -135,9 +135,6 @@ int rte_power_guest_channel_send_msg(struct rte_power_channel_packet *pkt, unsigned int lcore_id); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Receive a message contained in pkt over the Virtio-Serial * from the host endpoint. * @@ -155,7 +152,6 @@ int rte_power_guest_channel_send_msg(struct rte_power_channel_packet *pkt, * - 0 on success. * - Negative on error. */ -__rte_experimental int rte_power_guest_channel_receive_msg(void *pkt, size_t pkt_len, unsigned int lcore_id); diff --git a/lib/power/rte_power_intel_uncore.h b/lib/power/rte_power_intel_uncore.h index 0bd9f193a170..8c4a533d80c1 100644 --- a/lib/power/rte_power_intel_uncore.h +++ b/lib/power/rte_power_intel_uncore.h @@ -34,7 +34,6 @@ extern "C" { * - 0 on success. * - Negative on error. */ -__rte_experimental int rte_power_uncore_init(unsigned int pkg, unsigned int die); @@ -56,7 +55,6 @@ rte_power_uncore_init(unsigned int pkg, unsigned int die); * - 0 on success. * - Negative on error. */ -__rte_experimental int rte_power_uncore_exit(unsigned int pkg, unsigned int die); @@ -77,7 +75,6 @@ rte_power_uncore_exit(unsigned int pkg, unsigned int die); * The current index of available frequencies. * If error, it will return 'RTE_POWER_INVALID_FREQ_INDEX = (~0)'. */ -__rte_experimental uint32_t rte_power_get_uncore_freq(unsigned int pkg, unsigned int die); @@ -102,7 +99,6 @@ rte_power_get_uncore_freq(unsigned int pkg, unsigned int die); * - 0 on success without frequency changed. * - Negative on error. */ -__rte_experimental int rte_power_set_uncore_freq(unsigned int pkg, unsigned int die, uint32_t index); @@ -125,7 +121,6 @@ rte_power_set_uncore_freq(unsigned int pkg, unsigned int die, uint32_t index); * - 0 on success without frequency changed. * - Negative on error. */ -__rte_experimental int rte_power_uncore_freq_max(unsigned int pkg, unsigned int die); @@ -148,7 +143,6 @@ rte_power_uncore_freq_max(unsigned int pkg, unsigned int die); * - 0 on success without frequency changed. * - Negative on error. */ -__rte_experimental int rte_power_uncore_freq_min(unsigned int pkg, unsigned int die); @@ -168,7 +162,6 @@ rte_power_uncore_freq_min(unsigned int pkg, unsigned int die); * - The number of available index's in frequency array. * - Negative on error. */ -__rte_experimental int rte_power_uncore_get_num_freqs(unsigned int pkg, unsigned int die); @@ -182,7 +175,6 @@ rte_power_uncore_get_num_freqs(unsigned int pkg, unsigned int die); * - Zero on error. * - Number of package on system on success. */ -__rte_experimental unsigned int rte_power_uncore_get_num_pkgs(void); @@ -200,7 +192,6 @@ rte_power_uncore_get_num_pkgs(void); * - Zero on error. * - Number of dies for package on sucecss. */ -__rte_experimental unsigned int rte_power_uncore_get_num_dies(unsigned int pkg); diff --git a/lib/power/rte_power_pmd_mgmt.h b/lib/power/rte_power_pmd_mgmt.h index 0f1a2eb22eb4..456145661917 100644 --- a/lib/power/rte_power_pmd_mgmt.h +++ b/lib/power/rte_power_pmd_mgmt.h @@ -33,9 +33,6 @@ enum rte_power_pmd_mgmt_type { }; /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice. - * * Enable power management on a specified Ethernet device Rx queue and lcore. * * @note This function is not thread-safe. @@ -55,16 +52,12 @@ enum rte_power_pmd_mgmt_type { * 0 on success * <0 on error */ -__rte_experimental int rte_power_ethdev_pmgmt_queue_enable(unsigned int lcore_id, uint16_t port_id, uint16_t queue_id, enum rte_power_pmd_mgmt_type mode); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice. - * * Disable power management on a specified Ethernet device Rx queue and lcore. * * @note This function is not thread-safe. @@ -82,42 +75,30 @@ rte_power_ethdev_pmgmt_queue_enable(unsigned int lcore_id, * 0 on success * <0 on error */ -__rte_experimental int rte_power_ethdev_pmgmt_queue_disable(unsigned int lcore_id, uint16_t port_id, uint16_t queue_id); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice. - * * Set a emptypoll_max to specified value. Used to specify the number of empty * polls to wait before entering sleep state. * * @param max * The value to set emptypoll_max to. */ -__rte_experimental void rte_power_pmd_mgmt_set_emptypoll_max(unsigned int max); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice. - * * Get the current value of emptypoll_max. * * @return * The current emptypoll_max value */ -__rte_experimental unsigned int rte_power_pmd_mgmt_get_emptypoll_max(void); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice. - * * Set the pause_duration. Used to adjust the pause mode callback duration. * * @note Duration must be greater than zero. @@ -128,27 +109,19 @@ rte_power_pmd_mgmt_get_emptypoll_max(void); * 0 on success * <0 on error */ -__rte_experimental int rte_power_pmd_mgmt_set_pause_duration(unsigned int duration); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice. - * * Get the current value of pause_duration. * * @return * The current pause_duration value. */ -__rte_experimental unsigned int rte_power_pmd_mgmt_get_pause_duration(void); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice. - * * Set the min frequency to be used for frequency scaling or zero to use defaults. * * @note Supported by: Pstate mode. @@ -161,14 +134,10 @@ rte_power_pmd_mgmt_get_pause_duration(void); * 0 on success * <0 on error */ -__rte_experimental int rte_power_pmd_mgmt_set_scaling_freq_min(unsigned int lcore, unsigned int min); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice. - * * Set the max frequency to be used for frequency scaling or zero to use defaults. * * @note Supported by: Pstate mode. @@ -182,14 +151,10 @@ rte_power_pmd_mgmt_set_scaling_freq_min(unsigned int lcore, unsigned int min); * 0 on success * <0 on error */ -__rte_experimental int rte_power_pmd_mgmt_set_scaling_freq_max(unsigned int lcore, unsigned int max); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice. - * * Get the current configured min frequency used for frequency scaling. * * @note Supported by: Pstate mode. @@ -202,14 +167,10 @@ rte_power_pmd_mgmt_set_scaling_freq_max(unsigned int lcore, unsigned int max); * , in KiloHertz, used for frequency scaling. * <0 on error */ -__rte_experimental int rte_power_pmd_mgmt_get_scaling_freq_min(unsigned int lcore); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice. - * * Get the current configured max frequency used for frequency scaling. * * @note Supported by: Pstate mode. @@ -222,7 +183,6 @@ rte_power_pmd_mgmt_get_scaling_freq_min(unsigned int lcore); * , in KiloHertz, used for frequency scaling. * <0 on error */ -__rte_experimental int rte_power_pmd_mgmt_get_scaling_freq_max(unsigned int lcore); diff --git a/lib/power/version.map b/lib/power/version.map index b8b54f768e5b..dae4bcfa0956 100644 --- a/lib/power/version.map +++ b/lib/power/version.map @@ -1,6 +1,9 @@ DPDK_24 { global: + rte_power_check_env_supported; + rte_power_ethdev_pmgmt_queue_disable; + rte_power_ethdev_pmgmt_queue_enable; rte_power_exit; rte_power_freq_disable_turbo; rte_power_freq_down; @@ -12,27 +15,10 @@ DPDK_24 { rte_power_get_capabilities; rte_power_get_env; rte_power_get_freq; + rte_power_get_uncore_freq; + rte_power_guest_channel_receive_msg; rte_power_guest_channel_send_msg; rte_power_init; - rte_power_set_env; - rte_power_set_freq; - rte_power_turbo_status; - rte_power_unset_env; - - local: *; -}; - -EXPERIMENTAL { - global: - - rte_power_check_env_supported; - rte_power_guest_channel_receive_msg; - - # added in 21.02 - rte_power_ethdev_pmgmt_queue_disable; - rte_power_ethdev_pmgmt_queue_enable; - - # added in 22.07 rte_power_pmd_mgmt_get_emptypoll_max; rte_power_pmd_mgmt_get_pause_duration; rte_power_pmd_mgmt_get_scaling_freq_max; @@ -41,10 +27,10 @@ EXPERIMENTAL { rte_power_pmd_mgmt_set_pause_duration; rte_power_pmd_mgmt_set_scaling_freq_max; rte_power_pmd_mgmt_set_scaling_freq_min; - - # added in 22.11 - rte_power_get_uncore_freq; + rte_power_set_env; + rte_power_set_freq; rte_power_set_uncore_freq; + rte_power_turbo_status; rte_power_uncore_exit; rte_power_uncore_freq_max; rte_power_uncore_freq_min; @@ -52,4 +38,7 @@ EXPERIMENTAL { rte_power_uncore_get_num_freqs; rte_power_uncore_get_num_pkgs; rte_power_uncore_init; + rte_power_unset_env; + + local: *; }; From patchwork Tue Aug 8 17:35: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: 129962 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 E71C74300E; Tue, 8 Aug 2023 19:37:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B36A7432AE; Tue, 8 Aug 2023 19:36:00 +0200 (CEST) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mails.dpdk.org (Postfix) with ESMTP id 60CBE4326B for ; Tue, 8 Aug 2023 19:35:56 +0200 (CEST) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-68706b39c4cso4193916b3a.2 for ; Tue, 08 Aug 2023 10:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516155; x=1692120955; 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=X0jbRkbSJNut5SdiFe+x3s0HAl9w4pw6IXKR4z+tCi4=; b=2UFc1xIna7v2uqpbgoPN59r0CwMnnut7mzhGbzkKj8YXRgc/S2k5zEA9gHGAGKHQwh J/2Rm/gyeNPiVGvbxvzHd4ldJbD3M+SG1YP4tSQc2etG7IUj/8HzpE1eRo+/0za7VhwK 7ZsoSf5sEHG5+pur4fu/mmGXATAuMOc/oQdmx0CAB7kngaItYUCX3ABPGHXM3sqQlD7U OtFVssjF1DT+Js/Mpd98m7KVBsUgMkfw1dfiWeLgA/hJWlYg9Ueb8oQpZsgnWvaHT0dl w70cvYFDGnh+6YV84HLO06c9jpbQoI6MP3ZFbwGZtk4i20lIBY9DA1WUBk4AnLUNIIb1 CcZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516155; x=1692120955; 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=X0jbRkbSJNut5SdiFe+x3s0HAl9w4pw6IXKR4z+tCi4=; b=kFdwV5WZv2k1A1bII886xlgyHu9++YnmoxivlUBydrRP5adjEFczulDunwkT/qICBm /CSMf8vN7Xbh1jgP2ICEIFgQ4WVxwJ/jWBr2o7Lj8rHj6pPsoxpjGaA9bZJa22jo+A9+ OECchukYuYQPEAYSws/oL/GQYK68d0VjZ1Nn4Rr+lAav3aI7NV7TiPv+PiAjipLGM/VC aU7yYmO3jpo70YJwcvspT846t5KpwHb5KOKm8SThoIQuFhWCxogCHEySIbT/Cmhr6dpI LvDXg67GzFiOT679sr1t+rfm+hn3XI05fct2uuUEMvguA4yWAIMk+GX3hp8p1wrpAbSG b5qw== X-Gm-Message-State: AOJu0YzspWB4cUqVS3wejPmCfQ1TLisaofsVZ3HdG6GdJ+Cof4TznWlI KR0xzmWRMliQbyJShXe8Z78ceg4YHEttuDSySTDF2A== X-Google-Smtp-Source: AGHT+IETrzHxevYe6AIJ39Rs80cVtjSIun8ZjAptY8M2/nAIHAjP4idWn5R7gemLwgW+NZiOLORtkg== X-Received: by 2002:a05:6a00:1492:b0:687:4fcf:8fcd with SMTP id v18-20020a056a00149200b006874fcf8fcdmr212497pfu.18.1691516155397; Tue, 08 Aug 2023 10:35:55 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:54 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Olivier Matz Subject: [PATCH 17/20] kvargs: remove experimental flag Date: Tue, 8 Aug 2023 10:35:24 -0700 Message-Id: <20230808173527.186042-18-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 function rte_kvargs_get_with_value was added in 21.11 so experimental flag can be removed. Signed-off-by: Stephen Hemminger --- lib/kvargs/rte_kvargs.h | 4 ---- lib/kvargs/version.map | 8 +------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/lib/kvargs/rte_kvargs.h b/lib/kvargs/rte_kvargs.h index 4900b750bc0b..36804cfb1543 100644 --- a/lib/kvargs/rte_kvargs.h +++ b/lib/kvargs/rte_kvargs.h @@ -145,9 +145,6 @@ void rte_kvargs_free(struct rte_kvargs *kvlist); const char *rte_kvargs_get(const struct rte_kvargs *kvlist, const char *key); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Get the value associated with a given key and value. * * Find the first entry in the kvlist whose key and value match the @@ -167,7 +164,6 @@ const char *rte_kvargs_get(const struct rte_kvargs *kvlist, const char *key); * NULL if no key matches the input, * a value associated with a matching key otherwise. */ -__rte_experimental const char *rte_kvargs_get_with_value(const struct rte_kvargs *kvlist, const char *key, const char *value); diff --git a/lib/kvargs/version.map b/lib/kvargs/version.map index 387a94e725cf..cda85d171f32 100644 --- a/lib/kvargs/version.map +++ b/lib/kvargs/version.map @@ -4,16 +4,10 @@ DPDK_24 { rte_kvargs_count; rte_kvargs_free; rte_kvargs_get; + rte_kvargs_get_with_value; rte_kvargs_parse; rte_kvargs_parse_delim; rte_kvargs_process; local: *; }; - -EXPERIMENTAL { - global: - - # added in 21.11 - rte_kvargs_get_with_value; -}; From patchwork Tue Aug 8 17:35: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: 129963 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 7EF514300E; Tue, 8 Aug 2023 19:37:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D81D0432B3; Tue, 8 Aug 2023 19:36:01 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id 3B7A0432A2 for ; Tue, 8 Aug 2023 19:35:57 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-686c06b806cso4031737b3a.2 for ; Tue, 08 Aug 2023 10:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516156; x=1692120956; 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=ro3twzwnKyHRrfu7oklAxq/KY+w62YKpsVa8ptO3CDA=; b=L6wKJ0C1xfnTvys2Fje3xQI3vsUODD7ryvqGFfHx7dpoI8s+h2O3bak5S1I/XcdXKc U92RLijIyIhnQFocybCdoTNIUcX4fN9EE9RibhsEzZeiLb0av+ur12tXI9dGKIwCBsgo qhqvTX6FO9oF22waZVWQRpGSpLprBf27ktu6G+UgB8mm0pXYYDrz0YEDK2RFDXoV+lKY +/eiBSbgAF5Jp/+T01oi8lEf45HsYYZvRuZ4QwCERBdzvz44OmxqJmHsCIajBRX03Dcj xWYiKPQ7GOezJSL41x5oVzzXT7k9TE2Y5gLaP0UXNzMrOco435h1KEsse8QekktoZjed RRNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516156; x=1692120956; 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=ro3twzwnKyHRrfu7oklAxq/KY+w62YKpsVa8ptO3CDA=; b=GCbHP1iqXVZcp511W6icxN9n518AgzoSx+rJAo0eG1HvCqA8ry2dBMPu7bgehPRYkS y4OboYZQQWZ95Jl0Zd7OBWlCbPZxy3Hn3Pjc7DQSFMgurEtVo/ixFcF8BEm6PXf2l6Mu /Y7iA239jdXhF3Qa/2jdV8fd9eMMskDhAJK2hx30vGB8u0msgEu2f6n9NaEpNZJZWmM5 hakxBv/A7IMPooPa1D2RbBiDuX3pMyw1Aa2a0YjmCTMI2dU0peU7Enzost4hwgq2B8Ku K2Ume058eWBIvVNMkX2OlYYdZhofES6FOCQQupJ+urV0JHCQcYKkRJEUk4QZjw7LLn4P Pbsg== X-Gm-Message-State: AOJu0YzrhpaLG1g3MB5ZfMG0bMJHqU9qwRl7gemhbD1bpT4KGDSJrtbP CtHKxuo4MdZEKMHfhc2KlUmaBHCXKjrLyrjzglpZdw== X-Google-Smtp-Source: AGHT+IGG5jFGOcLMIccTguyQ/bP2euUWKEqU6yP/cTL3cpIcTRLzFte0+AYmFaJQ35dHig9D0Mi18w== X-Received: by 2002:a05:6a00:b47:b0:686:5e0d:bd4f with SMTP id p7-20020a056a000b4700b006865e0dbd4fmr243079pfo.0.1691516156282; Tue, 08 Aug 2023 10:35:56 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:55 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH 18/20] ip_frag: mark a couple of functions stable Date: Tue, 8 Aug 2023 10:35:25 -0700 Message-Id: <20230808173527.186042-19-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 There were two functions added in 22.11 which were marked as experimental. Remove the experimental tag. Signed-off-by: Stephen Hemminger --- lib/ip_frag/rte_ip_frag.h | 2 -- lib/ip_frag/version.map | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/ip_frag/rte_ip_frag.h b/lib/ip_frag/rte_ip_frag.h index feab72ae64b9..cd3a3e143ee7 100644 --- a/lib/ip_frag/rte_ip_frag.h +++ b/lib/ip_frag/rte_ip_frag.h @@ -205,7 +205,6 @@ int32_t rte_ipv4_fragment_packet(struct rte_mbuf *pkt_in, * in the pkts_out array. * Otherwise - (-1) * errno. */ -__rte_experimental int32_t rte_ipv4_fragment_copy_nonseg_packet(struct rte_mbuf *pkt_in, struct rte_mbuf **pkts_out, @@ -289,7 +288,6 @@ rte_ip_frag_table_statistics_dump(FILE * f, const struct rte_ip_frag_tbl *tbl); * @param tms * Current timestamp */ -__rte_experimental void rte_ip_frag_table_del_expired_entries(struct rte_ip_frag_tbl *tbl, struct rte_ip_frag_death_row *dr, uint64_t tms); diff --git a/lib/ip_frag/version.map b/lib/ip_frag/version.map index 7ba446c9938b..3e7e573dc412 100644 --- a/lib/ip_frag/version.map +++ b/lib/ip_frag/version.map @@ -3,19 +3,14 @@ DPDK_24 { rte_ip_frag_free_death_row; rte_ip_frag_table_create; + rte_ip_frag_table_del_expired_entries; rte_ip_frag_table_destroy; rte_ip_frag_table_statistics_dump; rte_ipv4_frag_reassemble_packet; + rte_ipv4_fragment_copy_nonseg_packet; rte_ipv4_fragment_packet; rte_ipv6_frag_reassemble_packet; rte_ipv6_fragment_packet; local: *; }; - -EXPERIMENTAL { - global: - - rte_ip_frag_table_del_expired_entries; - rte_ipv4_fragment_copy_nonseg_packet; -}; From patchwork Tue Aug 8 17:35: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: 129964 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 4416C4300E; Tue, 8 Aug 2023 19:37:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DDF9A432B7; Tue, 8 Aug 2023 19:36:02 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id 7A323432A7 for ; Tue, 8 Aug 2023 19:35:58 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-686f8614ce5so5867515b3a.3 for ; Tue, 08 Aug 2023 10:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516157; x=1692120957; 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=pWrUcrx3QY2veudIAyIB9UEXA03L7m5PhCWZDX9VwMU=; b=4XxC8Av6HmRk3mVGd5OI1Sezgj6xmNg4OG2IwILn0S97OMWcvpgPPITIznUuizbCDy FQY/ePm3qcBBmHfVuTfLBrYkAdQl//yRRy2wYlayPsPFPk6R+NaNSV3QKSM85HWyN9+x haePlngAydr13D2+3vs9EqSQnaiLUgwHzQEu7xcbdmAs5E46MMEbL3CV/l2wS4/BinOR gOMs/+oyOB30rMqoABKd4KI/biLkyPRLUzVb0VfQ77YRvhpxNwaBSrmUSHdVorEVt4vM zeaazehCJfu7DVmSFORN9jENYggki5TSfzaaYrM/QMw+ts38gxQCPR/Ce01sXK6zgsxQ tRUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516157; x=1692120957; 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=pWrUcrx3QY2veudIAyIB9UEXA03L7m5PhCWZDX9VwMU=; b=LjVsszKSPKcJvf3LILEbR2fOUOFSSonxEsoUBTVFP2lEEvKLL4njAQbwoJbAnpwBKN GFPg8ZVHoNwiUaQcy2AWwIedI7ANQHh3m5c0JCnCtojPhL1jkEFB0nEBdDMJPuHDYoii DCJqO5YU8GeM7typcIWG69fWURKeJWaR9b7a4hXcHqj6tBCmiZNw1OTIvZ/srwe5XJ3J eBTYJ8/Afj6EakCp5TeLxrboRpvYsY89cH4rIFTrmFbgd5n5M5vlBe8abjo/B/qv6kTb amPNBajVChrq9aNSdtlLktsQ0Cs42oVgD5KLAWN93y/2TrYSDjaCf1u1L3SNP53Tk3kH MvMw== X-Gm-Message-State: AOJu0YwGiHft/PA2ozjCT8/Rx4BqWrHaA4rbCI+1ZtkNmCD8REAJJxRe ZSQ+diQ6xqAvEaihHWlYcLXoQPqBP7O9DHslKIlYSw== X-Google-Smtp-Source: AGHT+IHpv2luisJAXQ7DgHvN9ysnSUrbxsyr9N3EtTNKbJyN2O0iBCv6jNkGiAJ/10e2Fb2gRITHzQ== X-Received: by 2002:a05:6a00:1691:b0:687:7a30:deb with SMTP id k17-20020a056a00169100b006877a300debmr238339pfc.15.1691516157474; Tue, 08 Aug 2023 10:35:57 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:57 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Yipeng Wang , Sameh Gobriel Subject: [PATCH 19/20] member: remove experimental tag Date: Tue, 8 Aug 2023 10:35:26 -0700 Message-Id: <20230808173527.186042-20-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 member library last received new API's in 22.11. All the API's should be marked stable by now. Signed-off-by: Stephen Hemminger --- lib/member/rte_member.h | 54 ----------------------------------------- lib/member/version.map | 12 +++------ 2 files changed, 3 insertions(+), 63 deletions(-) diff --git a/lib/member/rte_member.h b/lib/member/rte_member.h index a15e0d69e696..a6bf22651700 100644 --- a/lib/member/rte_member.h +++ b/lib/member/rte_member.h @@ -15,9 +15,6 @@ * bloom filter (vBF). For HT setsummary, two subtypes or modes are available, * cache and non-cache modes. The table below summarize some properties of * the different implementations. - * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice */ /** @@ -117,17 +114,11 @@ extern int librte_member_logtype; struct rte_member_setsum; /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Parameter struct used to create set summary */ struct rte_member_parameters; /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Define different set summary types */ enum rte_member_setsum_type { @@ -207,9 +198,6 @@ struct rte_member_setsum { } __rte_cache_aligned; /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Parameters used when create the set summary table. Currently user can * specify two types of setsummary: HT based and vBF. For HT based, user can * specify cache or non-cache mode. Here is a table to describe some differences @@ -351,9 +339,6 @@ struct rte_member_parameters { } __rte_cache_aligned; /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Find an existing set-summary and return a pointer to it. * * @param name @@ -367,9 +352,6 @@ struct rte_member_setsum * rte_member_find_existing(const char *name); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Create set-summary (SS). * * @param params @@ -382,9 +364,6 @@ struct rte_member_setsum * rte_member_create(const struct rte_member_parameters *params); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Lookup key in set-summary (SS). * Single key lookup and return as soon as the first match found * @@ -402,9 +381,6 @@ rte_member_lookup(const struct rte_member_setsum *setsum, const void *key, member_set_t *set_id); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Lookup bulk of keys in set-summary (SS). * Each key lookup returns as soon as the first match found * @@ -427,9 +403,6 @@ rte_member_lookup_bulk(const struct rte_member_setsum *setsum, member_set_t *set_ids); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Lookup a key in set-summary (SS) for multiple matches. * The key lookup will find all matched entries (multiple match). * Note that for cache mode of HT, each key can have at most one match. This is @@ -456,9 +429,6 @@ rte_member_lookup_multi(const struct rte_member_setsum *setsum, member_set_t *set_id); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Lookup a bulk of keys in set-summary (SS) for multiple matches each key. * Each key lookup will find all matched entries (multiple match). * Note that for cache mode HT, each key can have at most one match. So @@ -489,9 +459,6 @@ rte_member_lookup_multi_bulk(const struct rte_member_setsum *setsum, member_set_t *set_ids); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Insert key into set-summary (SS). * * @param setsum @@ -522,9 +489,6 @@ rte_member_add(const struct rte_member_setsum *setsum, const void *key, member_set_t set_id); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Add the packet byte size into the sketch. * * @param setsum @@ -536,15 +500,11 @@ rte_member_add(const struct rte_member_setsum *setsum, const void *key, * @return * Return -EINVAL for invalid parameters, otherwise return 0. */ -__rte_experimental int rte_member_add_byte_count(const struct rte_member_setsum *setsum, const void *key, uint32_t byte_count); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Query packet count for a certain flow-key. * * @param setsum @@ -556,16 +516,12 @@ rte_member_add_byte_count(const struct rte_member_setsum *setsum, * @return * Return -EINVAL for invalid parameters. */ -__rte_experimental int rte_member_query_count(const struct rte_member_setsum *setsum, const void *key, uint64_t *count); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Report heavyhitter flow-keys into set-summary (SS). * * @param setsum @@ -578,16 +534,12 @@ rte_member_query_count(const struct rte_member_setsum *setsum, * Return -EINVAL for invalid parameters. Return a positive integer indicate * how many heavy hitters are reported. */ -__rte_experimental int rte_member_report_heavyhitter(const struct rte_member_setsum *setsum, void **keys, uint64_t *counts); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * De-allocate memory used by set-summary. * * @param setsum @@ -598,9 +550,6 @@ void rte_member_free(struct rte_member_setsum *setsum); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Reset the set-summary tables. E.g. reset bits to be 0 in BF, * reset set_id in each entry to be RTE_MEMBER_NO_MATCH in HT based SS. * @@ -611,9 +560,6 @@ void rte_member_reset(const struct rte_member_setsum *setsum); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Delete items from the set-summary. Note that vBF does not support deletion * in current implementation. For vBF, error code of -EINVAL will be returned. * diff --git a/lib/member/version.map b/lib/member/version.map index 9be5068d68fb..3aeba8826ba1 100644 --- a/lib/member/version.map +++ b/lib/member/version.map @@ -2,6 +2,7 @@ DPDK_24 { global: rte_member_add; + rte_member_add_byte_count; rte_member_create; rte_member_delete; rte_member_find_existing; @@ -10,16 +11,9 @@ DPDK_24 { rte_member_lookup_bulk; rte_member_lookup_multi; rte_member_lookup_multi_bulk; + rte_member_query_count; + rte_member_report_heavyhitter; rte_member_reset; local: *; }; - -EXPERIMENTAL { - global: - - # added in 22.11 - rte_member_add_byte_count; - rte_member_query_count; - rte_member_report_heavyhitter; -}; From patchwork Tue Aug 8 17:35:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129965 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 8E2264300E; Tue, 8 Aug 2023 19:38:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A262432BA; Tue, 8 Aug 2023 19:36:04 +0200 (CEST) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mails.dpdk.org (Postfix) with ESMTP id B68BC432AE for ; Tue, 8 Aug 2023 19:35:59 +0200 (CEST) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-686b879f605so4205070b3a.1 for ; Tue, 08 Aug 2023 10:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516158; x=1692120958; 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=gJFKFBGHO9s8ps17YOhZzVWxMzHgUavVurJ+ZKKI9iE=; b=2girqE25cvLIffaGEZnMTTLlcoHKw8rqjziNc6enodxlCuUGzbBDDWodOG9mrQFaD5 Hrr0lG0TJbOexjzIXiqJoggWhyZkOAikSo/xTuuNa4CFmpKqo2cPtfEhj+87rMj3u21y 3wwUz7a/iS4M9ABRtTCqVcb7epOzWl6iNC26qUIMWfrGNSh0z02YRdWV1QP+3GDJcjZB Og2LvRLeawkQPurwWud5m4DfSQ4LIyUA5JyVrWn+IN3OECXjkSR0KNjnJxyiYh4UNhhm oXdhoPiqIvAh+omdftQael7ssFf3CY9IoIKMabMVbEh2UcGgNUUubGi+RDYnGnwICOR6 5eSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516158; x=1692120958; 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=gJFKFBGHO9s8ps17YOhZzVWxMzHgUavVurJ+ZKKI9iE=; b=UM/uK3uhDM0gJdHNZTWVpbWTRvi/iSrDlGoCARInh+zhwLCFVHk6PEzHUX4sAZ/b+0 oFFzsxLVST3uYHZEDkg+tnNBswh4tYiBG0i/SuE/Wxvb3JEgxHwGW9hhTd6YMxtvyWmC PC9Uy7UyxUSrFQjwfqJFfvKQmsKejmMoKH23WH0sEtRaHs2bG52OjbSg6Hil91qceZej gOT9rGZILYyW9GxPdVzzW8vluZFtT1qHTzfp8qjMzY/66hSefhfpHsJjRD/i+w70qzOL KMc8aGrDrRVaKj/E+ICLCxeqq0CnTXXuTfq5u0r+TfTIM38FRSuQHBUxPiumdgpI5Fyf BFgg== X-Gm-Message-State: AOJu0YxJjlJF0Fb3W6d2wavlMbbehpbRkj0AdMlcktzyNRwe3IizkB2+ k5BMRUyB9za+drA43w5CQebSpZIRA6wFmaUmfwerGw== X-Google-Smtp-Source: AGHT+IEk3TWkfhvxEiWHGj726oUSuv41SE36Q5gEIadLNEpkbqzpFejoxzhtLVs7mmForaLQtVQ5og== X-Received: by 2002:a05:6a00:1806:b0:682:4de1:adcc with SMTP id y6-20020a056a00180600b006824de1adccmr231189pfa.12.1691516158637; Tue, 08 Aug 2023 10:35:58 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:58 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Akhil Goyal Subject: [PATCH 20/20] security: remove experimental flag Date: Tue, 8 Aug 2023 10:35:27 -0700 Message-Id: <20230808173527.186042-21-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-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 rte_security API's were last updated in 22.11. Therefore remove the experimental tag. Signed-off-by: Stephen Hemminger --- lib/security/rte_security.h | 35 ----------------------------------- lib/security/version.map | 17 ++++++----------- 2 files changed, 6 insertions(+), 46 deletions(-) diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h index 3b2df526ba35..f70fc601a2a3 100644 --- a/lib/security/rte_security.h +++ b/lib/security/rte_security.h @@ -703,7 +703,6 @@ rte_security_session_create(struct rte_security_ctx *instance, * - On success returns 0 * - On failure returns a negative errno value. */ -__rte_experimental int rte_security_session_update(struct rte_security_ctx *instance, void *sess, @@ -739,9 +738,6 @@ int rte_security_session_destroy(struct rte_security_ctx *instance, void *sess); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Create MACsec security channel (SC). * * @param instance security instance @@ -753,15 +749,11 @@ rte_security_session_destroy(struct rte_security_ctx *instance, void *sess); * - -ENOMEM if PMD is not capable to create more SC. * - other negative value for other errors. */ -__rte_experimental int rte_security_macsec_sc_create(struct rte_security_ctx *instance, struct rte_security_macsec_sc *conf); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Destroy MACsec security channel (SC). * * @param instance security instance @@ -772,15 +764,11 @@ rte_security_macsec_sc_create(struct rte_security_ctx *instance, * - -EINVAL if sc_id is invalid or instance is NULL. * - -EBUSY if sc is being used by some session. */ -__rte_experimental int rte_security_macsec_sc_destroy(struct rte_security_ctx *instance, uint16_t sc_id, enum rte_security_macsec_direction dir); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Create MACsec security association (SA). * * @param instance security instance @@ -792,15 +780,11 @@ rte_security_macsec_sc_destroy(struct rte_security_ctx *instance, uint16_t sc_id * - -ENOMEM if PMD is not capable to create more SAs. * - other negative value for other errors. */ -__rte_experimental int rte_security_macsec_sa_create(struct rte_security_ctx *instance, struct rte_security_macsec_sa *conf); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Destroy MACsec security association (SA). * * @param instance security instance @@ -811,7 +795,6 @@ rte_security_macsec_sa_create(struct rte_security_ctx *instance, * - -EINVAL if sa_id is invalid or instance is NULL. * - -EBUSY if sa is being used by some session. */ -__rte_experimental int rte_security_macsec_sa_destroy(struct rte_security_ctx *instance, uint16_t sa_id, enum rte_security_macsec_direction dir); @@ -822,9 +805,6 @@ typedef uint64_t rte_security_dynfield_t; extern int rte_security_dynfield_offset; /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Get pointer to mbuf field for device-specific metadata. * * For performance reason, no check is done, @@ -834,7 +814,6 @@ extern int rte_security_dynfield_offset; * @param mbuf packet to access * @return pointer to mbuf field */ -__rte_experimental static inline rte_security_dynfield_t * rte_security_dynfield(struct rte_mbuf *mbuf) { @@ -844,14 +823,10 @@ rte_security_dynfield(struct rte_mbuf *mbuf) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Check whether the dynamic field is registered. * * @return true if rte_security_dynfield_register() has been called. */ -__rte_experimental static inline bool rte_security_dynfield_is_registered(void) { return rte_security_dynfield_offset >= 0; @@ -900,7 +875,6 @@ rte_security_session_fast_mdata_set(void *sess, uint64_t fdata) } /** Function to call PMD specific function pointer set_pkt_metadata() */ -__rte_experimental int __rte_security_set_pkt_metadata(struct rte_security_ctx *instance, void *sess, struct rte_mbuf *m, void *params); @@ -1072,16 +1046,12 @@ struct rte_security_stats { * - On success, return 0 * - On failure, a negative value */ -__rte_experimental int rte_security_session_stats_get(struct rte_security_ctx *instance, void *sess, struct rte_security_stats *stats); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Get MACsec SA statistics. * * @param instance security instance @@ -1092,16 +1062,12 @@ rte_security_session_stats_get(struct rte_security_ctx *instance, * - On success, return 0. * - On failure, a negative value. */ -__rte_experimental int rte_security_macsec_sa_stats_get(struct rte_security_ctx *instance, uint16_t sa_id, enum rte_security_macsec_direction dir, struct rte_security_macsec_sa_stats *stats); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Get MACsec SC statistics. * * @param instance security instance @@ -1112,7 +1078,6 @@ rte_security_macsec_sa_stats_get(struct rte_security_ctx *instance, * - On success, return 0. * - On failure, a negative value. */ -__rte_experimental int rte_security_macsec_sc_stats_get(struct rte_security_ctx *instance, uint16_t sc_id, enum rte_security_macsec_direction dir, diff --git a/lib/security/version.map b/lib/security/version.map index b2097a969d1c..06eceb5c0558 100644 --- a/lib/security/version.map +++ b/lib/security/version.map @@ -1,19 +1,9 @@ DPDK_24 { global: + __rte_security_set_pkt_metadata; rte_security_capabilities_get; rte_security_capability_get; - rte_security_session_create; - rte_security_session_destroy; - rte_security_session_get_size; - - local: *; -}; - -EXPERIMENTAL { - global: - - __rte_security_set_pkt_metadata; rte_security_dynfield_offset; rte_security_macsec_sa_create; rte_security_macsec_sa_destroy; @@ -21,8 +11,13 @@ EXPERIMENTAL { rte_security_macsec_sc_create; rte_security_macsec_sc_destroy; rte_security_macsec_sc_stats_get; + rte_security_session_create; + rte_security_session_destroy; + rte_security_session_get_size; rte_security_session_stats_get; rte_security_session_update; + + local: *; }; INTERNAL {