From patchwork Tue Oct 24 02:53:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133235 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 64FBA431EB; Tue, 24 Oct 2023 04:54:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C1A440DF6; Tue, 24 Oct 2023 04:54:36 +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 80D54402E4 for ; Tue, 24 Oct 2023 04:54:34 +0200 (CEST) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-6b20577ef7bso3156838b3a.3 for ; Mon, 23 Oct 2023 19:54:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116073; x=1698720873; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=irN5WZ0A1lRKdHj+1JrZLaBUexTIXx+1tX/EKKjfyMI=; b=r5dqGKkOwegUPNF+2arsX/erJCI2deVDSYUPTnfTaLmElgUPDfjbeGzjNzlffWOqU2 IKR1/n7fxeuBit1Wv53O5O3URxobSjTYYZPuTN3CK/5uIHx/m9kwPRxCTatQIqMJSkzK 9f/+h3GPAXlil1RHj9rzAGLQbtFXFOIdSWqqNJ/m3reoT6gWTWdjNuYXTCVPsX/WZnCJ mEAX/Oed+X135y4RyIG+K4wmO5hyva/ToYaxXRuf0BwjPL8ho2XIkbcdqLyzWpnXZ44y 9ptoHAIrM/6fWI4/dTqARlUuDzuPPAvRgOrq/FXGImAZb3+TeC+49aGXPyeLki3akRtA 7f2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116073; x=1698720873; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=irN5WZ0A1lRKdHj+1JrZLaBUexTIXx+1tX/EKKjfyMI=; b=LOXEkqshe/VVMSRxvthj6iJRwuvN+UtwEHnudrk5r8xjcfC2DPKT/2FFs6SO7yurIl xhMnAKsk+hN6xWlBGEV1MXIKTlnMvQldu+ghD5dVDlg7izccRTvSyHusDBeRrA1r0j8D 3f47Y+37vE9gsub0/uTUKmvVWU9uBrJtphVkZAGTYh7DHbnYOP+Q95rZ9qqPWkG51UaY PoFAE5/dWleMy8WQc/q/74ejiscJfQheTXm6i9t7gWbmGZUlVhe+nE+qgqnbYHoxasxK PZdreENw2TemBhJ/QUbYDRJLpVUmPdQQ32U64vEktr70BZQAlAD+3bjp2MgjeWfTRrsT cvLQ== X-Gm-Message-State: AOJu0Yy4UUIrpgEzc3vMR/nvdvIIY+gCcMg1O23IZ6d9qLZrggopQFI/ oFaZZgTjUB7KRXgYv2hJSvQ2mQTYR6z+f1qrhXtkKg== X-Google-Smtp-Source: AGHT+IHTj909aVCeswwSa+akRWnz3HuLtQBpmjkktt5KeKjGowDv2Dcr0b7BWDq7b6tLcTAb1kEORA== X-Received: by 2002:a05:6a00:9392:b0:693:4143:5145 with SMTP id ka18-20020a056a00939200b0069341435145mr9333442pfb.31.1698116073295; Mon, 23 Oct 2023 19:54:33 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:32 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH v7 01/25] bpf: make rte_bpf_dump and rte_bpf_convert stable API's Date: Mon, 23 Oct 2023 19:53:58 -0700 Message-Id: <20231024025422.126021-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These two API's were introduced in 22.11 and can now be made not experimental. Signed-off-by: Stephen Hemminger Acked-by: Konstantin Ananyev --- lib/bpf/rte_bpf.h | 2 -- lib/bpf/version.map | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/bpf/rte_bpf.h b/lib/bpf/rte_bpf.h index 4d71120dbd9d..f70d8dacd0d3 100644 --- a/lib/bpf/rte_bpf.h +++ b/lib/bpf/rte_bpf.h @@ -209,7 +209,6 @@ rte_bpf_get_jit(const struct rte_bpf *bpf, struct rte_bpf_jit *jit); * @param len * Number of BPF instructions to dump. */ -__rte_experimental void rte_bpf_dump(FILE *f, const struct ebpf_insn *buf, uint32_t len); @@ -229,7 +228,6 @@ struct bpf_program; * - ENOMEM - can't reserve enough memory * - ENOTSUP - operation not supported */ -__rte_experimental struct rte_bpf_prm * rte_bpf_convert(const struct bpf_program *prog); diff --git a/lib/bpf/version.map b/lib/bpf/version.map index c49bf1701f0a..2e957494e9df 100644 --- a/lib/bpf/version.map +++ b/lib/bpf/version.map @@ -1,7 +1,9 @@ DPDK_24 { global: + rte_bpf_convert; rte_bpf_destroy; + rte_bpf_dump; rte_bpf_elf_load; rte_bpf_eth_rx_elf_load; rte_bpf_eth_rx_unload; @@ -14,10 +16,3 @@ DPDK_24 { local: *; }; - -EXPERIMENTAL { - global: - - rte_bpf_convert; - rte_bpf_dump; -}; From patchwork Tue Oct 24 02:53:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133236 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4BA8A431EB; Tue, 24 Oct 2023 04:54:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CF8540EE5; Tue, 24 Oct 2023 04:54:37 +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 8CE5740A76 for ; Tue, 24 Oct 2023 04:54:35 +0200 (CEST) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6ba54c3ed97so3880480b3a.2 for ; Mon, 23 Oct 2023 19:54:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116074; x=1698720874; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tys2+Rbas78abmp2lZkxnmA5eQ/E9vQyCtq1vgD2nPg=; b=HUZFt4WR3K4tTOz281ce/QCT8xQN103J4T7cgF6aQksyIIaULGDL5Pp9CytgPA6QRl hBLm4Rq/C9M+I3KF9tVC0RJZN5QneQyhpd0dvL1bjX6j6sTbCkFxXa45c9f+VrV/mj/p A3xZ8lz7gQ+VE1A4TiApvurlbXVyYABZSTG/S9QIJfhbow8Qn8d/qMywL818tPWkOvxm T+IH+g4LdIyt9fBrFqdIe9Tmb7xuHPYTMi3sqm6ht/Zk26ijkeN8J8gMgU3/OPIxriVM f8T04oNwBPG5uePPg+PoTBz2LvwNBSmL7bB6yb6IPNWqaBuFYp+Qm9mZG1VDCqEXLvdf ZdAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116074; x=1698720874; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tys2+Rbas78abmp2lZkxnmA5eQ/E9vQyCtq1vgD2nPg=; b=J9rzow4RxOuLkTR9C7cHhcF7xOp3i55FZy3hJx7hcrCWjvxEY3rJ0ry/nNNI+a2gxa FS1pvnZgIqYUH60z4PTqDJ3KG6rvZSDhBDw4b3TrMjgFznDIczhtpqFcvIdN7G7lvMyk 8lE0XG81bg0h537aNr1BbKfQU12X0Q9W3VHDMRUExNiutpdjHF2VmHgL35ahO7q5QjEN F6Vi33hBQAfsf7RAG6dIJ+rY+X2MTBz7s7wrDdcJfHox+XgBoiFjCmn8LceEabs9eJBn GmKn93u9epV9F3VF0vQZw1MCkTcEEgLMIW/VvVSqW/AzM43VFLPK+0DDL7DiTGOcdkyY g0Dw== X-Gm-Message-State: AOJu0YwSlReCOiNgaAGfv3jW3sBcw8fM7XAZ26zjysv6Vc3DZzLpNfC2 8O++hXb2qDYkO3iqM+6sMaFoHCTJgktqrZFji+rjbQ== X-Google-Smtp-Source: AGHT+IEyTJLcMDyPxfhZYQ8pFDl2CcTDgPUyEkr1qcM9cGndJEe9zXbY98qtSuLILO3WSYfglMJ8ig== X-Received: by 2002:a05:6a20:12c7:b0:172:918b:3907 with SMTP id v7-20020a056a2012c700b00172918b3907mr1384380pzg.54.1698116074561; Mon, 23 Oct 2023 19:54:34 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:33 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson Subject: [PATCH v7 02/25] cmdline: make experimental API's stable Date: Mon, 23 Oct 2023 19:53:59 -0700 Message-Id: <20231024025422.126021-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These API's have all ben around for several releases. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- lib/cmdline/cmdline.h | 1 - lib/cmdline/cmdline_parse.h | 4 ---- lib/cmdline/cmdline_rdline.h | 4 ---- lib/cmdline/version.map | 26 ++++++++------------------ 4 files changed, 8 insertions(+), 27 deletions(-) diff --git a/lib/cmdline/cmdline.h b/lib/cmdline/cmdline.h index 992c84591456..dd41e1054378 100644 --- a/lib/cmdline/cmdline.h +++ b/lib/cmdline/cmdline.h @@ -39,7 +39,6 @@ void cmdline_printf(const struct cmdline *cl, const char *fmt, ...) int cmdline_in(struct cmdline *cl, const char *buf, int size); int cmdline_write_char(struct rdline *rdl, char c); -__rte_experimental struct rdline * cmdline_get_rdline(struct cmdline *cl); diff --git a/lib/cmdline/cmdline_parse.h b/lib/cmdline/cmdline_parse.h index a852ac411c59..41b4db1f76f9 100644 --- a/lib/cmdline/cmdline_parse.h +++ b/lib/cmdline/cmdline_parse.h @@ -155,9 +155,6 @@ typedef cmdline_parse_inst_t *cmdline_parse_ctx_t; int cmdline_parse(struct cmdline *cl, const char *buf); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Try to parse a buffer according to the specified context, but do not * perform any function calls if parse is successful. * @@ -166,7 +163,6 @@ int cmdline_parse(struct cmdline *cl, const char *buf); * CMDLINE_PARSE_BAD_ARGS on error and returns the parsed line length (>=0) * on successful parse. */ -__rte_experimental int cmdline_parse_check(struct cmdline *cl, const char *buf); /** diff --git a/lib/cmdline/cmdline_rdline.h b/lib/cmdline/cmdline_rdline.h index 1b4cc7ce5773..c6bb6bbbb36a 100644 --- a/lib/cmdline/cmdline_rdline.h +++ b/lib/cmdline/cmdline_rdline.h @@ -58,7 +58,6 @@ typedef int (rdline_complete_t)(struct rdline *rdl, const char *buf, * * \return New rdline object on success, NULL on failure. */ -__rte_experimental struct rdline *rdline_new(rdline_write_char_t *write_char, rdline_validate_t *validate, rdline_complete_t *complete, @@ -70,7 +69,6 @@ struct rdline *rdline_new(rdline_write_char_t *write_char, * \param rdl A pointer to an initialized struct rdline. * If NULL, this function is a no-op. */ -__rte_experimental void rdline_free(struct rdline *rdl); /** @@ -163,13 +161,11 @@ char *rdline_get_history_item(struct rdline *rdl, unsigned int i); /** * Get maximum history buffer size. */ -__rte_experimental size_t rdline_get_history_buffer_size(struct rdline *rdl); /** * Get the opaque pointer supplied on struct rdline creation. */ -__rte_experimental void *rdline_get_opaque(struct rdline *rdl); #ifdef __cplusplus diff --git a/lib/cmdline/version.map b/lib/cmdline/version.map index 97166789016c..88174e39bcb7 100644 --- a/lib/cmdline/version.map +++ b/lib/cmdline/version.map @@ -30,11 +30,13 @@ DPDK_24 { cmdline_get_help_num; cmdline_get_help_portlist; cmdline_get_help_string; + cmdline_get_rdline; cmdline_in; cmdline_interact; cmdline_isendoftoken; cmdline_new; cmdline_parse; + cmdline_parse_check; cmdline_parse_etheraddr; cmdline_parse_ipaddr; cmdline_parse_num; @@ -51,37 +53,25 @@ DPDK_24 { cmdline_token_portlist_ops; cmdline_token_string_ops; cmdline_write_char; + rdline_add_history; rdline_char_in; rdline_clear_history; + rdline_free; rdline_get_buffer; + rdline_get_history_buffer_size; rdline_get_history_item; + rdline_get_opaque; + rdline_new; rdline_newline; rdline_quit; rdline_redisplay; rdline_reset; rdline_restart; rdline_stop; + vt100_init; vt100_parser; local: *; }; - -EXPERIMENTAL { - global: - - # added in 20.11 - cmdline_get_rdline; - - # added in 21.11 - rdline_new; - rdline_free; - rdline_get_history_buffer_size; - rdline_get_opaque; - - # added in 22.07 - cmdline_parse_check; - - local: *; -}; From patchwork Tue Oct 24 02:54:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133237 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5ECC1431EB; Tue, 24 Oct 2023 04:54:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2878542831; Tue, 24 Oct 2023 04:54:39 +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 A1F1A40DFB for ; Tue, 24 Oct 2023 04:54:36 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6b5cac99cfdso3279116b3a.2 for ; Mon, 23 Oct 2023 19:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116075; x=1698720875; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iIT7nMm49dyv4Xz0D7v+7wWbb62qH3k7w7V5zb4zaD8=; b=w5IpDgpmYKDwq4MpIZU8Qi33a0b0bYbRkAV3t4566q+8t580aVE5F+FC4DG3fsHgop GFB8lyyy+2+FYAvPeXBX9UAvYyg9RYWEyNGcInpMve45N7XvuNxnU3PujD/WEMoAgds5 EqLAEG27ZcqgYR+wAw0tAPXDyR+vHdgcPu1078Hpxwe62o5xRBE5I8oSyMvJiMxct2FO 2xfX4LuXDmp0pjVjGdrVLb+cs++2q4SdXu/ghGiYXTFSi0Cc3DzHQaVqqHuEJetGSbfj m/OHIXOZ6iqFNlUCCbF2qN9MynEkIdX7bH/EIB5Y7zHh92WzjNXtaEZ3QpLDoe+JflJ1 RjKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116075; x=1698720875; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iIT7nMm49dyv4Xz0D7v+7wWbb62qH3k7w7V5zb4zaD8=; b=rhp5mj9+dEaIL7yVzYjGotiMdKmzcPv7D923NZC91l/xucwpUR1QsZ4he3fE5xZliW fo+jiXaAw3BVARax+7Qn2C7ff1PCcNFOiUNZysNCsp+395NgbTMOVRgthZmpOYlB14bH rSYL+y0/grmiN5yaq5dGrBgO9uEirOrrxxw34VhQ1CvMBABVhi5jQE4VJFEXdd58KQbL F3aTdCZpWMKKYWb+0yczNEZHS70HIR5Z+2Au6jzMYyrKBKdmrvtLJ/ptiw6emb9oyr7A XOF+8yPFGNfN8MNkc0Hxs1I/mAHijKwGaLwqDJ/Eih8VFzEnykIwWlCil8xeBc6vFmBt TsJw== X-Gm-Message-State: AOJu0Yxb6vKizGEZRZsNYYvbXV/dV3+L0VwRIbCYOwurOOvYRiG76xyv SbduCSUFOPzRc+/wXLhYV5Atqg1E8AH7gfzfxypDzA== X-Google-Smtp-Source: AGHT+IFQQojYi1QwsLwVfiRmuxZVbVHFXuGxfcIe1UTl7UEYRa3+fRwUhg6MEdEsw+Dh1YESjEJ/2w== X-Received: by 2002:a05:6a00:703:b0:6be:7ee:9900 with SMTP id 3-20020a056a00070300b006be07ee9900mr7824773pfl.8.1698116075588; Mon, 23 Oct 2023 19:54:35 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:35 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko Subject: [PATCH v7 03/25] ethdev: mark rte_tm API's as stable Date: Mon, 23 Oct 2023 19:54:00 -0700 Message-Id: <20231024025422.126021-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These API's have been around since 20.11, mark them as not experimental. Signed-off-by: Stephen Hemminger Acked-by: Cristian Dumitrescu --- MAINTAINERS | 2 +- lib/ethdev/rte_tm.h | 34 ----------------------- lib/ethdev/version.map | 62 ++++++++++++++++++++---------------------- 3 files changed, 31 insertions(+), 67 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4083658697fb..e5d92aa74926 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -421,7 +421,7 @@ F: app/test-pmd/cmdline_flow.c F: doc/guides/prog_guide/rte_flow.rst F: lib/ethdev/rte_flow* -Traffic Management API - EXPERIMENTAL +Traffic Management API M: Cristian Dumitrescu T: git://dpdk.org/next/dpdk-next-net F: lib/ethdev/rte_tm* diff --git a/lib/ethdev/rte_tm.h b/lib/ethdev/rte_tm.h index 08c5fafecdf3..799b92aadaa9 100644 --- a/lib/ethdev/rte_tm.h +++ b/lib/ethdev/rte_tm.h @@ -14,10 +14,6 @@ * This interface provides the ability to configure the traffic manager in a * generic way. It includes features such as: hierarchical scheduling, * traffic shaping, congestion management, packet marking, etc. - * - * @warning - * @b EXPERIMENTAL: - * All functions in this file may be changed or removed without prior notice. */ #include @@ -1242,7 +1238,6 @@ struct rte_tm_error { * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_tm_get_number_of_leaf_nodes(uint16_t port_id, uint32_t *n_leaf_nodes, @@ -1267,7 +1262,6 @@ rte_tm_get_number_of_leaf_nodes(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_tm_node_type_get(uint16_t port_id, uint32_t node_id, @@ -1286,7 +1280,6 @@ rte_tm_node_type_get(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_tm_capabilities_get(uint16_t port_id, struct rte_tm_capabilities *cap, @@ -1307,7 +1300,6 @@ rte_tm_capabilities_get(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_tm_level_capabilities_get(uint16_t port_id, uint32_t level_id, @@ -1328,7 +1320,6 @@ rte_tm_level_capabilities_get(uint16_t port_id, * @return * 0 on success, non-zero error code otherwise. */ -__rte_experimental int rte_tm_node_capabilities_get(uint16_t port_id, uint32_t node_id, @@ -1354,7 +1345,6 @@ rte_tm_node_capabilities_get(uint16_t port_id, * * @see struct rte_tm_capabilities::cman_wred_context_n_max */ -__rte_experimental int rte_tm_wred_profile_add(uint16_t port_id, uint32_t wred_profile_id, @@ -1378,7 +1368,6 @@ rte_tm_wred_profile_add(uint16_t port_id, * * @see struct rte_tm_capabilities::cman_wred_context_n_max */ -__rte_experimental int rte_tm_wred_profile_delete(uint16_t port_id, uint32_t wred_profile_id, @@ -1410,7 +1399,6 @@ rte_tm_wred_profile_delete(uint16_t port_id, * * @see struct rte_tm_capabilities::cman_wred_context_shared_n_max */ -__rte_experimental int rte_tm_shared_wred_context_add_update(uint16_t port_id, uint32_t shared_wred_context_id, @@ -1435,7 +1423,6 @@ rte_tm_shared_wred_context_add_update(uint16_t port_id, * * @see struct rte_tm_capabilities::cman_wred_context_shared_n_max */ -__rte_experimental int rte_tm_shared_wred_context_delete(uint16_t port_id, uint32_t shared_wred_context_id, @@ -1460,7 +1447,6 @@ rte_tm_shared_wred_context_delete(uint16_t port_id, * * @see struct rte_tm_capabilities::shaper_n_max */ -__rte_experimental int rte_tm_shaper_profile_add(uint16_t port_id, uint32_t shaper_profile_id, @@ -1484,7 +1470,6 @@ rte_tm_shaper_profile_add(uint16_t port_id, * * @see struct rte_tm_capabilities::shaper_n_max */ -__rte_experimental int rte_tm_shaper_profile_delete(uint16_t port_id, uint32_t shaper_profile_id, @@ -1514,7 +1499,6 @@ rte_tm_shaper_profile_delete(uint16_t port_id, * * @see struct rte_tm_capabilities::shaper_shared_n_max */ -__rte_experimental int rte_tm_shared_shaper_add_update(uint16_t port_id, uint32_t shared_shaper_id, @@ -1538,7 +1522,6 @@ rte_tm_shared_shaper_add_update(uint16_t port_id, * * @see struct rte_tm_capabilities::shaper_shared_n_max */ -__rte_experimental int rte_tm_shared_shaper_delete(uint16_t port_id, uint32_t shared_shaper_id, @@ -1607,7 +1590,6 @@ rte_tm_shared_shaper_delete(uint16_t port_id, * @see RTE_TM_NODE_LEVEL_ID_ANY * @see struct rte_tm_capabilities */ -__rte_experimental int rte_tm_node_add(uint16_t port_id, uint32_t node_id, @@ -1641,7 +1623,6 @@ rte_tm_node_add(uint16_t port_id, * * @see RTE_TM_UPDATE_NODE_ADD_DELETE */ -__rte_experimental int rte_tm_node_delete(uint16_t port_id, uint32_t node_id, @@ -1666,7 +1647,6 @@ rte_tm_node_delete(uint16_t port_id, * @see rte_tm_node_resume() * @see RTE_TM_UPDATE_NODE_SUSPEND_RESUME */ -__rte_experimental int rte_tm_node_suspend(uint16_t port_id, uint32_t node_id, @@ -1690,7 +1670,6 @@ rte_tm_node_suspend(uint16_t port_id, * @see rte_tm_node_suspend() * @see RTE_TM_UPDATE_NODE_SUSPEND_RESUME */ -__rte_experimental int rte_tm_node_resume(uint16_t port_id, uint32_t node_id, @@ -1732,7 +1711,6 @@ rte_tm_node_resume(uint16_t port_id, * @see rte_tm_node_add() * @see rte_tm_node_delete() */ -__rte_experimental int rte_tm_hierarchy_commit(uint16_t port_id, int clear_on_fail, @@ -1773,7 +1751,6 @@ rte_tm_hierarchy_commit(uint16_t port_id, * @see RTE_TM_UPDATE_NODE_PARENT_KEEP_LEVEL * @see RTE_TM_UPDATE_NODE_PARENT_CHANGE_LEVEL */ -__rte_experimental int rte_tm_node_parent_update(uint16_t port_id, uint32_t node_id, @@ -1803,7 +1780,6 @@ rte_tm_node_parent_update(uint16_t port_id, * * @see struct rte_tm_capabilities::shaper_private_n_max */ -__rte_experimental int rte_tm_node_shaper_update(uint16_t port_id, uint32_t node_id, @@ -1831,7 +1807,6 @@ rte_tm_node_shaper_update(uint16_t port_id, * * @see struct rte_tm_capabilities::shaper_shared_n_max */ -__rte_experimental int rte_tm_node_shared_shaper_update(uint16_t port_id, uint32_t node_id, @@ -1859,7 +1834,6 @@ rte_tm_node_shared_shaper_update(uint16_t port_id, * @see enum rte_tm_stats_type * @see RTE_TM_UPDATE_NODE_STATS */ -__rte_experimental int rte_tm_node_stats_update(uint16_t port_id, uint32_t node_id, @@ -1888,7 +1862,6 @@ rte_tm_node_stats_update(uint16_t port_id, * @see RTE_TM_UPDATE_NODE_WFQ_WEIGHT_MODE * @see RTE_TM_UPDATE_NODE_N_SP_PRIORITIES */ -__rte_experimental int rte_tm_node_wfq_weight_mode_update(uint16_t port_id, uint32_t node_id, @@ -1912,7 +1885,6 @@ rte_tm_node_wfq_weight_mode_update(uint16_t port_id, * * @see RTE_TM_UPDATE_NODE_CMAN */ -__rte_experimental int rte_tm_node_cman_update(uint16_t port_id, uint32_t node_id, @@ -1937,7 +1909,6 @@ rte_tm_node_cman_update(uint16_t port_id, * * @see struct rte_tm_capabilities::cman_wred_context_private_n_max */ -__rte_experimental int rte_tm_node_wred_context_update(uint16_t port_id, uint32_t node_id, @@ -1963,7 +1934,6 @@ rte_tm_node_wred_context_update(uint16_t port_id, * * @see struct rte_tm_capabilities::cman_wred_context_shared_n_max */ -__rte_experimental int rte_tm_node_shared_wred_context_update(uint16_t port_id, uint32_t node_id, @@ -1996,7 +1966,6 @@ rte_tm_node_shared_wred_context_update(uint16_t port_id, * * @see enum rte_tm_stats_type */ -__rte_experimental int rte_tm_node_stats_read(uint16_t port_id, uint32_t node_id, @@ -2034,7 +2003,6 @@ rte_tm_node_stats_read(uint16_t port_id, * * @see struct rte_tm_capabilities::mark_vlan_dei_supported */ -__rte_experimental int rte_tm_mark_vlan_dei(uint16_t port_id, int mark_green, @@ -2085,7 +2053,6 @@ rte_tm_mark_vlan_dei(uint16_t port_id, * @see struct rte_tm_capabilities::mark_ip_ecn_tcp_supported * @see struct rte_tm_capabilities::mark_ip_ecn_sctp_supported */ -__rte_experimental int rte_tm_mark_ip_ecn(uint16_t port_id, int mark_green, @@ -2134,7 +2101,6 @@ rte_tm_mark_ip_ecn(uint16_t port_id, * * @see struct rte_tm_capabilities::mark_ip_dscp_supported */ -__rte_experimental int rte_tm_mark_ip_dscp(uint16_t port_id, int mark_green, diff --git a/lib/ethdev/version.map b/lib/ethdev/version.map index 919ba5b8e65b..072ad3401235 100644 --- a/lib/ethdev/version.map +++ b/lib/ethdev/version.map @@ -135,6 +135,36 @@ DPDK_24 { rte_flow_pick_transfer_proxy; rte_flow_query; rte_flow_validate; + rte_tm_capabilities_get; + rte_tm_get_number_of_leaf_nodes; + rte_tm_hierarchy_commit; + rte_tm_level_capabilities_get; + rte_tm_mark_ip_dscp; + rte_tm_mark_ip_ecn; + rte_tm_mark_vlan_dei; + rte_tm_node_add; + rte_tm_node_capabilities_get; + rte_tm_node_cman_update; + rte_tm_node_delete; + rte_tm_node_parent_update; + rte_tm_node_resume; + rte_tm_node_shaper_update; + rte_tm_node_shared_shaper_update; + rte_tm_node_shared_wred_context_update; + rte_tm_node_stats_read; + rte_tm_node_stats_update; + rte_tm_node_suspend; + rte_tm_node_type_get; + rte_tm_node_wfq_weight_mode_update; + rte_tm_node_wred_context_update; + rte_tm_shaper_profile_add; + rte_tm_shaper_profile_delete; + rte_tm_shared_shaper_add_update; + rte_tm_shared_shaper_delete; + rte_tm_shared_wred_context_add_update; + rte_tm_shared_wred_context_delete; + rte_tm_wred_profile_add; + rte_tm_wred_profile_delete; local: *; }; @@ -181,38 +211,6 @@ EXPERIMENTAL { __rte_ethdev_trace_tx_burst; rte_flow_get_aged_flows; - # Marked as experimental in 20.11 - rte_tm_capabilities_get; - rte_tm_get_number_of_leaf_nodes; - rte_tm_hierarchy_commit; - rte_tm_level_capabilities_get; - rte_tm_mark_ip_dscp; - rte_tm_mark_ip_ecn; - rte_tm_mark_vlan_dei; - rte_tm_node_add; - rte_tm_node_capabilities_get; - rte_tm_node_cman_update; - rte_tm_node_delete; - rte_tm_node_parent_update; - rte_tm_node_resume; - rte_tm_node_shaper_update; - rte_tm_node_shared_shaper_update; - rte_tm_node_shared_wred_context_update; - rte_tm_node_stats_read; - rte_tm_node_stats_update; - rte_tm_node_suspend; - rte_tm_node_type_get; - rte_tm_node_wfq_weight_mode_update; - rte_tm_node_wred_context_update; - rte_tm_shaper_profile_add; - rte_tm_shaper_profile_delete; - rte_tm_shared_shaper_add_update; - rte_tm_shared_shaper_delete; - rte_tm_shared_wred_context_add_update; - rte_tm_shared_wred_context_delete; - rte_tm_wred_profile_add; - rte_tm_wred_profile_delete; - # added in 20.11 rte_eth_hairpin_bind; rte_eth_hairpin_get_peer_ports; From patchwork Tue Oct 24 02:54:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133238 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 005D1431EB; Tue, 24 Oct 2023 04:55:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 41A3442D45; Tue, 24 Oct 2023 04:54:40 +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 94E2340EF1 for ; Tue, 24 Oct 2023 04:54:37 +0200 (CEST) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6b87c1edfd5so3098707b3a.1 for ; Mon, 23 Oct 2023 19:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116076; x=1698720876; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nPUV3R0J/IEovMk82s4xxf5K18pUfR5DDwiPDvPaeYU=; b=f6U57kV7f54XzTLUv6SbYG0z64RSpgNSiJy5KJ+Mn5PxurCd2mC3exM8mqA/lTzJc/ +cO05VstLSj+qGrEP/yLY5sY4cBgQ21Ygdaj0uq4j8eNHHrT/0hxPCqLX1seBcyHZEPK PSNXQibAEuzg7fbHN9ZpEbbRcCsjtz16Ai/ud5IJP+r3M5qX95JrgQKVDiVRoHodurol oqWIgGL1vJwJjot4+51zR1tF4Syv71lhuIEOuv8ZUZFDIFBxBN2ZRtrToT3Z+vIEkwQc f17jA2tEbr9fxxqgwqY7nG/SBSt0JMfO4eaYf+huLPb43S5GP9Ym0+ZbQdfq85Rh5SJT DxWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116076; x=1698720876; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nPUV3R0J/IEovMk82s4xxf5K18pUfR5DDwiPDvPaeYU=; b=Ep8mT+YN/DlHZ5KI2moEsBn2aMbxeMsyMxCUpozgL/qpZx5W8Hdo5JcIkdq9qw1Cns xHHyTC6Db9FciUfXrdsYeQsj1uLLLuKcgeBQdMWSDzlaRIlgjjffeIMnS8FGWJsL254+ 0DNPcsdoAzbUPrADRvQR9oDRYPYKM5YWFMaaegKO3xBZEIpY8KeGjmlOfCcXzU+EJfoL 6Wo9mPM1I02OJXLBi5Pl1TptfKQUkd8JbGXdFMn2BKCJ+4Mzl+G0kIszI7A6xt3pAYSN uZFItF+8ZzavZ7E6aXFzIl5/9lYWOtUsUyvFmFOk3zMooGL6r1z9yeSjDe1jDkAV8cIZ E4ZQ== X-Gm-Message-State: AOJu0YzHugNJRK1llM62giZBM5CWh/GQTCN60M2mG9ByavciEZJxfKzN pocLwF/rN8zJ0O/v27AKd+IBv1QiL3aPLJPRHsYJrw== X-Google-Smtp-Source: AGHT+IGTrbXpxOWV2DqMQGUHDGsLiVjz0bNMJ7CdtdV5MhY9Kic+j4pKU9/AykLNWscNAEXQGp7+og== X-Received: by 2002:a05:6a21:4886:b0:16b:d3d5:a5c5 with SMTP id av6-20020a056a21488600b0016bd3d5a5c5mr1461151pzc.52.1698116076571; Mon, 23 Oct 2023 19:54:36 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:35 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson , Reshma Pattan Subject: [PATCH v7 04/25] pdump: make API's stable Date: Mon, 23 Oct 2023 19:54:01 -0700 Message-Id: <20231024025422.126021-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The filtering API's were added in 22.11 and can now be marked as not experimental. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- lib/pdump/rte_pdump.h | 12 ------------ lib/pdump/version.map | 11 +++-------- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/lib/pdump/rte_pdump.h b/lib/pdump/rte_pdump.h index b1a391830c1d..414931a12cce 100644 --- a/lib/pdump/rte_pdump.h +++ b/lib/pdump/rte_pdump.h @@ -83,9 +83,6 @@ rte_pdump_enable(uint16_t port, uint16_t queue, uint32_t flags, void *filter); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Enables packet capturing on given port and queue with filtering. * * @param port_id @@ -109,7 +106,6 @@ rte_pdump_enable(uint16_t port, uint16_t queue, uint32_t flags, * @return * 0 on success, -1 on error, rte_errno is set accordingly. */ -__rte_experimental int rte_pdump_enable_bpf(uint16_t port_id, uint16_t queue, uint32_t flags, uint32_t snaplen, @@ -169,9 +165,6 @@ rte_pdump_enable_by_deviceid(char *device_id, uint16_t queue, void *filter); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Enables packet capturing on given device id and queue with filtering. * device_id can be name or pci address of device. * @@ -196,7 +189,6 @@ rte_pdump_enable_by_deviceid(char *device_id, uint16_t queue, * @return * 0 on success, -1 on error, rte_errno is set accordingly. */ -__rte_experimental int rte_pdump_enable_bpf_by_deviceid(const char *device_id, uint16_t queue, uint32_t flags, uint32_t snaplen, @@ -242,9 +234,6 @@ struct rte_pdump_stats { }; /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Retrieve the packet capture statistics for a queue. * * @param port_id @@ -254,7 +243,6 @@ struct rte_pdump_stats { * @return * Zero if successful. -1 on error and rte_errno is set. */ -__rte_experimental int rte_pdump_stats(uint16_t port_id, struct rte_pdump_stats *stats); diff --git a/lib/pdump/version.map b/lib/pdump/version.map index 225830dc85a7..ea5bd157cdb1 100644 --- a/lib/pdump/version.map +++ b/lib/pdump/version.map @@ -4,17 +4,12 @@ DPDK_24 { rte_pdump_disable; rte_pdump_disable_by_deviceid; rte_pdump_enable; + rte_pdump_enable_bpf; + rte_pdump_enable_bpf_by_deviceid; rte_pdump_enable_by_deviceid; rte_pdump_init; + rte_pdump_stats; rte_pdump_uninit; local: *; }; - -EXPERIMENTAL { - global: - - rte_pdump_enable_bpf; - rte_pdump_enable_bpf_by_deviceid; - rte_pdump_stats; -}; From patchwork Tue Oct 24 02:54:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133239 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BE44A431EB; Tue, 24 Oct 2023 04:55:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C842242D99; Tue, 24 Oct 2023 04:54:41 +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 993F1410F6 for ; Tue, 24 Oct 2023 04:54:38 +0200 (CEST) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-6b1e46ca282so3977079b3a.2 for ; Mon, 23 Oct 2023 19:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116077; x=1698720877; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZfhvTU3LrY5+9peeEANdX18SN3u1zcZeQjtKwxUwlQc=; b=UfGZeT1y1RWYwIaxvhrdbtcPq0zjOGHFupM8sSomMXJrM+R7L/wipuhp4mZPGeU9Rg lKgSDAOWmrAaCCZ/bdDW3nZw70Q0wpM70bMFbF6fMZmjU5bTf7qRuEz7aZTmB/YUcDr+ 9VpfKDifQv1R1WJDQXc+gKNaS/Cib9ULAgx9akPa5CTw24cxsnuieYD3BnsHZAQ5pbdR h3u5k8vLVO0NjKBLqQtVlLkJtlvIIrr9GPJ+SSddRgMsMGYepAchYKaf6GgdhTiPW15v fUu1zrwfLjgKx2VHxsemDqQLHm9SA0XzjFpfCTx7N7MH+UBryl8cF5S6lghjlPbUtI5q MiTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116077; x=1698720877; 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=ZfhvTU3LrY5+9peeEANdX18SN3u1zcZeQjtKwxUwlQc=; b=YiT/AKif2oJYfHCBGtnFB48onIITj6J//lb+WI1wbodfZE+a62O/m6oqlN6GYXWpkP /jbaH02m467PYVLCzA2kzD2a3MRaeIQDJ+yyIdIUphI9s7yswmKQb2CbXAFJMniI8Nxn kdgmsFOcjGT8MdDBO3UL7Y5PR+p6JPl3RH3I+WdnXw1KaKt7ghhaTOTAOozceNyUHbvV KyRbNKMdSme7nDtovE3+EiZw/qtq4vswq88hu1FrYBKkqdjkGj6dLJAWevICPAsDDDLD hk/yI2oaEVO1V3iovAKFJeO2Bg1GNomccmd5K9cr9pX/guMWSUzHz78vQxjwNa2eZNGy zl8A== X-Gm-Message-State: AOJu0YxrIOE28wEuJiAIyDqrYNCGhT3Q2xBBcflOY2kxXk6utp8mTAC9 2JdOSzOUjz244mLQnkW1Y0RwG9IBuscPybqjrVg/Rw== X-Google-Smtp-Source: AGHT+IFAx644mPdMogY1qnUnBF5tOyLY4witCzJJHIWF2vQpALwWcgb8IltxSQIdIuzSqd5TSkt3tg== X-Received: by 2002:a05:6a00:1389:b0:6bb:def8:b0a7 with SMTP id t9-20020a056a00138900b006bbdef8b0a7mr12545066pfg.3.1698116077563; Mon, 23 Oct 2023 19:54:37 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:36 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Reshma Pattan Subject: [PATCH v7 05/25] pcapng: mark API's as stable Date: Mon, 23 Oct 2023 19:54:02 -0700 Message-Id: <20231024025422.126021-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This API was added in 22.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 Oct 24 02:54:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133240 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 73E16431EB; Tue, 24 Oct 2023 04:55:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0766D42DBB; Tue, 24 Oct 2023 04:54:43 +0200 (CEST) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mails.dpdk.org (Postfix) with ESMTP id 9B7C542D45 for ; Tue, 24 Oct 2023 04:54:39 +0200 (CEST) Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-53fbf2c42bfso2998928a12.3 for ; Mon, 23 Oct 2023 19:54:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116078; x=1698720878; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rdqv51WdYGvDiP0cM6CHV22vpKs83M/1NA3xX1G+S1w=; b=WIyv1JZppxjmCDzaXc2HMGLq4wzN9KiVmpqipYcpIu96LJBUDG32s2PB72ZY3VMgNx 2Iv+OI0LRnYB6m14roLwbVHtnlSlRhAOXUhwrD098vQdQ2YqJvpRFlUe/XlC8eYc6iIw Ox1ul0XcaBsrVwzUpZdOSiGg9mCEniH7jgq8rYW9F7WdabPKQpV9J+rf09tsAEAN+JBJ Eo913+zTbR42yu2sbUbzhglYOrC2bHmK3HrQsRV4nwDINUWckbdx8TuEiAtDftPfb+SU Vb3Hf69yf8JspclCPc2VfE9z3PuigecmHpVxR6pgNULN79TNo5Ma0IrN0MMhWm6Bz0uk 7s7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116078; x=1698720878; 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=gFrGzYcuVwAQctZFFZ+uejMvQ/JTB+FeL6tQIfInhMoUCzHtHUIri3QxLP+V7bSafQ NIZ5fWvAN9MJ381VqXieTcsDznyG5auHLv4JsyPnJ6YBIM5a0tOMtDOLMbl1MZaaj7AV MTN1CpPfejUPd6PdzjwdbCBxaKLXPMxaYFAfMTiYpVIoc+wfYKrlDk6OlAzDmPOUMBH3 uqjQyGOiT/cPeMb0pb6dzonhqU2bauyi0k2C8A3ACx7iP5v8Xwh5Tm2XktSbdsoDlhTd hLWYP82KPnAvhmryZA/yo40i0/XUofVX8HGA3n1v14BiycuIOUTl9Tkln2mgolS4JGWz ORfg== X-Gm-Message-State: AOJu0YyhGQgsoJVMzw5y9F23PUMNLXu7Rl5SaBjyfRo5Z1cYeI31zfzP 5x9XEI1AUVf8kpc+7SWMszsYEMyek1ZhBvioBSDDBg== X-Google-Smtp-Source: AGHT+IFEIsgLuN/DCR4pNPhs9pKTwTzaBvlhVTMaxhl+m63h2RBmkzWz1hIEoab8DhJ61nimlq8rpw== X-Received: by 2002:a05:6a20:8f23:b0:169:cd02:65e9 with SMTP id b35-20020a056a208f2300b00169cd0265e9mr1420074pzk.33.1698116078487; Mon, 23 Oct 2023 19:54:38 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:37 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v7 06/25] net: remove experimental from functions Date: Mon, 23 Oct 2023 19:54:03 -0700 Message-Id: <20231024025422.126021-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 Oct 24 02:54:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133241 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D0742431EB; Tue, 24 Oct 2023 04:55:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3D64D42DCD; Tue, 24 Oct 2023 04:54:44 +0200 (CEST) Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) by mails.dpdk.org (Postfix) with ESMTP id 6D37042D72 for ; Tue, 24 Oct 2023 04:54:40 +0200 (CEST) Received: by mail-qk1-f178.google.com with SMTP id af79cd13be357-778af1b5b1eso240168685a.2 for ; Mon, 23 Oct 2023 19:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116079; x=1698720879; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=R4L6+6HkaxrgWVYchlYs7gCVrOyOL5iCGlIfk2KtL1g=; b=kn93NgEzoFqncIh1lB1piTM5pTSGfyS9sj0S0V6NCsEV//Z6F2XkBpguou+Onsu3/+ 7ERoBfnLdW1vkayI1yLywzaHT+ctAOqjcZ3xPP0GR7bSnzmTq3AUlwQ1mLn0itPk8CDe SuEW4rtFr20okPUxuIHp4WCy7zWGQGFRqtQISpBbAfjtMcqQKpDosxML7clrQxJ+SPwN IbMTURlEq/2uWEWjcpBpdEzfQFpv9OPeAl8owFkrRFXJWy+6STKnNxBhP97UvUWYaJqE 4Pn/2XV8wCg8IX1HYNV7VPT8NjLmS4y2SBWoMwLcjbyVFziQYitozCWjps/M33UbSz5g 5BFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116079; x=1698720879; 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=R4L6+6HkaxrgWVYchlYs7gCVrOyOL5iCGlIfk2KtL1g=; b=qr+kX40O7BlVc2Vzvz1BIv0F2ecRp5E4aSjGvyXmf0CW6XMAprD2h4dAebMbS0l7BL 7uv+BIWSlaXLdWTEJSL75nq7P+/6tSWxvkarrsD74L+JP2naGjGS94GUg+4JWp7yeleD i9FjT/2wH9SuT6VAhXpipeSVUZExj8uFWDbCE9J/eJLQ0vYAFacz70sEZlDMh6vT8v2b qLoM/T31NLgkaXourem26fGBaZ8zWj8C8rwYOwj2dv0dCEuG+C3r+GTAfwm6MGr89ZHC /wporTNCZZiFuh0WsQesRz8L04BZcGD4e+0Ol4ihfu7hYwl4P1P6O7433YGM9zt+x8tB 4quQ== X-Gm-Message-State: AOJu0YxkfLH9CBUtnop8PyIBuFbMU6GPpoMbSbWE4o4faBaJ17nInXwT IkPYzWpil2jjYMOmHtdWvpPSetYHzgoAK9AW2IiPSw== X-Google-Smtp-Source: AGHT+IHcbJfWl0ke/UCQnXW4/4ZXvGWcjF6iKx0BmQn1z750684vy2H4xdiKjodjmsVoc3C7lclQpg== X-Received: by 2002:a05:620a:4256:b0:777:5e79:d280 with SMTP id w22-20020a05620a425600b007775e79d280mr12248296qko.53.1698116079584; Mon, 23 Oct 2023 19:54:39 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:38 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Honnappa Nagarahalli Subject: [PATCH v7 07/25] rcu: remove experimental from rte_rcu_qbsr Date: Mon, 23 Oct 2023 19:54:04 -0700 Message-Id: <20231024025422.126021-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 Oct 24 02:54:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133242 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CE21E431EB; Tue, 24 Oct 2023 04:55:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7CD4F42DDB; Tue, 24 Oct 2023 04:54:45 +0200 (CEST) Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by mails.dpdk.org (Postfix) with ESMTP id 61B8942D7B for ; Tue, 24 Oct 2023 04:54:41 +0200 (CEST) Received: by mail-qk1-f173.google.com with SMTP id af79cd13be357-7789aed0e46so272634685a.0 for ; Mon, 23 Oct 2023 19:54:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116080; x=1698720880; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+u6OxF10ar3WBFePFUc4bvCfc/4fbSoRHvu+zrkc95o=; b=bhDpVvTyATkz+W9suYgXG9vkzQClbuDRBZ1LT+LAA0f1WWd+F9HJFupImbtGuHuOoF 2mqmBszzd4g3SkT3mBZVudGPhfontMgME2XL5vP7/L4zh7MPokr1zNB1bxQCKZX+S21A zb+B4y35V70RxmjSFNtqj3z0IJW+pQFN/Y/xO3XPKl8PtucSAFlQARFs7QGcIOQYNCNd cq7OgYY08CeFKDagCXL7o88Ltb6EiQMRznUIVID1Z2I+KW0nRl/Vh64aA8XDo4+RvHDC VWaAyfGOeQVZqGOgZPcXVIHlHhjQVO9MNLGT/0lYW9WOROG7tPgx6ZIxkLXsDz053UFW qfvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116080; x=1698720880; 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=WEHKgq0YoCGFj/rJNc33b8n5yQ1481HAtQSiaqFP92IvnZ/juMdwqlDB6gfjq5Otov ppTKsUVxrOxQgGDA5kR9f5IfIhRAcKqxeVfpf0q1qqivueGY16oAx8qG1LLqH5ttSbkW r8uPsdYFOPb4r2U4eEAtUFs67huYrtox4dCWYNbnT5I1nTBGiF+eY6P7o1obl8MQl26E qKpHvidWJz1lQMuq5DOBCpTiTR10s8yFPhezo8v93GKrUbkVH75HExUJ7z6Ho8Y+UAO/ h2IFWGbqnTEXLnjDZmOarVjTo0eeEeFVF42e8t3aCzUqgDc7eKknPjVOJurQ5Jq8K5tg 4Rlw== X-Gm-Message-State: AOJu0YxEmqOnpS9rHYGasPEzLxwqpGVbf263JVqI1NN8uU0zQ1hYoLE5 m6P7k/APE1ebjQV43uOZ+GtOOM4Cn8WZiBl7y6PL1g== X-Google-Smtp-Source: AGHT+IFgdlKZCEptpW7hDhGDNTr4YQ9LG7waJlaiu3rxFWZaUlMxlNVjcgOQItVRkR10y+9FElGzsw== X-Received: by 2002:a05:620a:4514:b0:779:cf0f:e4cf with SMTP id t20-20020a05620a451400b00779cf0fe4cfmr9394751qkp.49.1698116080500; Mon, 23 Oct 2023 19:54:40 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:40 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson , Vladimir Medvedkin Subject: [PATCH v7 08/25] lpm: remove experimental Date: Mon, 23 Oct 2023 19:54:05 -0700 Message-Id: <20231024025422.126021-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The 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 Oct 24 02:54:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133243 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7B6E8431EB; Tue, 24 Oct 2023 04:55:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B973042DF0; Tue, 24 Oct 2023 04:54: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 9203742DAC for ; Tue, 24 Oct 2023 04:54:42 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-6ba172c5f3dso3297585b3a.0 for ; Mon, 23 Oct 2023 19:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116081; x=1698720881; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9NMFEFczRnIxLFKM23Hayo3iYCvosGMR/BnXPDEjWcU=; b=ivdkJPUH4BWfUyhDP/bxluS2vMompNZgymg3Y3ml3TuHzF2nGKKcAhne6pds2dzEtw yi4NAJTpNtKemkiAqOZfHYQAjtC4t3MvSLTe8pU72P2Hneuy0UOVliE+u0a8zvehJzbV XT3Ok/5/iDbPWzRwSgBsySXiT4XFR5prgPriioGgIKKO+wU8/95ZYAmj23CipKCNoz3l FyQxvHetVjBcYTCBqH66CdaTaP19zIkQs38ZeEzOKJFltZ7kJQf+BKbfcdlLaCrTyToZ GW2vSIAxBTPWkalCKskTCW9IQSP0z+E7MQRweNYpgquCfTXr+AeVrAqfrFRFuqyW53fx pRIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116081; x=1698720881; 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=9NMFEFczRnIxLFKM23Hayo3iYCvosGMR/BnXPDEjWcU=; b=FwyRFLHhQoF9D+47Aag7Z9aia+m0IZ780GhRGzPSm5KQjuA/HoVchWyIgVa8su4n6W 0U7If+a45MCZiq2sTojqoqp8odefS6WZQV2HM/pFlbK37Dctpu1y/gJz/WdXApYb/IbV Qi+eXvuL8Nc7Ftr8ifSGSMxet4XVCgRZu+IbbRURyshgrcsjIn7R8X4qfisD8OaIMaRj ZBV4RAojaOPWgVZ/uZHUy0cOEVrXk9SSmsgBnCZj4xNpzMNX2tPsA/JPdopYITCfMSOE 7W4efK0iatRCJs4a3ND7FQs2AkBbILhj/QV5Ozv1P7MTkwt/z36MvoVnidA7jocIlM9S e4Cw== X-Gm-Message-State: AOJu0YxK1m/uv0WdBtHX0qSdMSnY0kNmVDHu9IAmgMxxlnJD1go7nY3y ZlY6CmZe7C89A8+i28PyydQyL4cEfuHCs6EXnm4ldA== X-Google-Smtp-Source: AGHT+IELaMy0/LXR8x+S/yxDDNf1ZWIXXGObAjxDPZK/6QQdjoBCybuqQs9+HKTllX6nvShLbGdlQw== X-Received: by 2002:a05:6a00:2d10:b0:6b2:2a2d:7a26 with SMTP id fa16-20020a056a002d1000b006b22a2d7a26mr9799789pfb.28.1698116081565; Mon, 23 Oct 2023 19:54:41 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:40 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson Subject: [PATCH v7 09/25] mbuf: remove experimental from create_extbuf Date: Mon, 23 Oct 2023 19:54:06 -0700 Message-Id: <20231024025422.126021-10-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This API was added in 2020 and should no longer be experimental. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- 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 Oct 24 02:54:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133244 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2E017431EB; Tue, 24 Oct 2023 04:55:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EAE5142DF7; Tue, 24 Oct 2023 04:54:47 +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 6ABE842DC1 for ; Tue, 24 Oct 2023 04:54:43 +0200 (CEST) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-6b77ab73c6fso2902976b3a.1 for ; Mon, 23 Oct 2023 19:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116082; x=1698720882; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6Iix7Qlg/wq7KcCgt5xOsSYkLGWYKmtsB4oH6KAsQJI=; b=N6+wRKLu+mgCS+vPhhA1I2HGvbwof9rOQ9twJRTlKVM/hrkq99qgaMx3buU48vvEAV 4ZjykrLPBX7OZ0WwW9AVWLat8huZz7+YDfwZ3ZJNe94rOJteXckrdsNf+WeD+BoR6IJ6 1Oh1z1nr4I59DuLXXtiFQvVkFtEqSaEmsS0w33ycq/on6Xc86x4660B9VY4pFpVo73yl FUzNLgq5jpAWDiZz48rbpzaUfa4l41bs0V3qXFRZfBWo7Nrm7JtI74hKTezVBG+nGo3Y IBkJwaAUOjtPSJkprgBjkb+VUzsxdazPdPOxiPZW1KO8dM3cvo7Atm/1piSU51V4FyMr bC6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116082; x=1698720882; 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=6Iix7Qlg/wq7KcCgt5xOsSYkLGWYKmtsB4oH6KAsQJI=; b=Lnqzip0XCBhKx4EI6gFYNsb32NQ9S+D15oZHnsnAJmBUt+vBuyHTF8AYhPYpdMZyUL CYoNmKXR8CKsv/nM63STvjX8GRn6BY5w3NPvCDn33D4wkwS9gQEm0L3m8KZK2F5uZYSi 9qUb4izXCSPTFPZS98zxfR4zDmnYzJqdBl1RXsU09OaTah7ohz+5X5NUTpHxENlXdMcu oJKxUJvLsAcNka06bE+OcoxjtiXmqZ6hqBMvqpPC1/Kp7ZL2j8/Xnbv+Li0T82I5VBv2 uiHnqMw1fXvSD2FPs3r8DP/nqEpOKjFJsT+NT6p+RTKJL5vyS3/ZBqz2fKaTpFz6Gxbb 62jA== X-Gm-Message-State: AOJu0YzQJUl34aqI+c82zcV3NKKE0j9CAqMh30Jj3SnYMYFd1XPqDn8J bxRAbRKOSGwJ7EmAUQcOQ7RZwvHsxS0qIDAdL/0B5Q== X-Google-Smtp-Source: AGHT+IHkFz8ES7D6/90FhkTNHT1KReG7zkMdS2MoRec8oMFmAXmalvrZr/jjSLMeS+YCoTy1C3dNPQ== X-Received: by 2002:a62:7911:0:b0:68b:e29c:b69 with SMTP id u17-20020a627911000000b0068be29c0b69mr13451147pfc.9.1698116082343; Mon, 23 Oct 2023 19:54:42 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:42 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson , Yipeng Wang , Sameh Gobriel , Vladimir Medvedkin Subject: [PATCH v7 10/25] hash: remove experimental from toeplitz hash Date: Mon, 23 Oct 2023 19:54:07 -0700 Message-Id: <20231024025422.126021-11-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The rte_thash_ functions have been around since 2020. Remove experimental tag. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- 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 da06cd53c0e0..071730c7bab9 100644 --- a/lib/hash/rte_thash.h +++ b/lib/hash/rte_thash.h @@ -221,14 +221,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); @@ -236,9 +232,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 @@ -247,7 +240,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); @@ -276,9 +268,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 @@ -298,7 +287,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); @@ -306,9 +294,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 @@ -316,20 +301,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); @@ -339,9 +319,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 @@ -355,7 +332,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); @@ -363,9 +339,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 @@ -373,7 +346,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); @@ -392,7 +364,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); @@ -402,15 +373,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); @@ -420,16 +387,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); @@ -439,9 +402,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. @@ -459,9 +419,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 @@ -483,7 +440,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 fbec16dde081..0ff7ad07eeaa 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 Oct 24 02:54: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: 133245 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E7F6E431EB; Tue, 24 Oct 2023 04:55:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F93140C35; Tue, 24 Oct 2023 04:54:49 +0200 (CEST) Received: from mail-oa1-f45.google.com (mail-oa1-f45.google.com [209.85.160.45]) by mails.dpdk.org (Postfix) with ESMTP id 1C57641140 for ; Tue, 24 Oct 2023 04:54:44 +0200 (CEST) Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-1ead2e6fab7so2873957fac.0 for ; Mon, 23 Oct 2023 19:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116083; x=1698720883; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ggbcaHeyMtBbaSxt+8o+UZReWg5V8BsrKglEzfH7K0g=; b=qzRk6KwMDwNwfjbVa+KIIh5XZHOkX6ZY99lCrSsHruaPmhEcuuUBRpI+afN9JxGz7B g0pqvzATjahuXjn5wLjPHISPT/90NAgKLJZMwBUGPh2XAMS7cBXStxQgShShMs+1An5f SWbAbFStciWTNMDEEPcczGcka/sKVvJCtsRYcW7boo9xMbavIDPUKnzTh+TM8jXlv8Qc Imygx7jILFE1b0n4xBuu0lueTY9RxEC5mQz2yuqzakJeWvRPlGk2zsUkIWWrmi1Lewko vHXpNAGe9uXQ6OeJ3sC8D2AOcdfY4l3wUAWvlplnArX/mTrwnojwmPkb5pl96MaeftAS 72OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116083; x=1698720883; 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=ggbcaHeyMtBbaSxt+8o+UZReWg5V8BsrKglEzfH7K0g=; b=JrveyQzKwVqNgWTPnh5jZzblN6e8EKDZaJcE+0f76Qumzr6ICF6JEQ4mc4asAvJ+h4 /BFqlFbsvJuhEXPBkBW5s8+q4neIAFb7juqBgNTqTfUgXMZHJ5YJ0B5e9fJsrRvt2JHY x1DxsC9nem0u9hP2L3F5m/ByL5zAeWECppT814Bl9AznVZyPIiX5zzlQXg9uTcM5QMkj vAChU6rtQNWETvMfSa+u8BlNBu/RKjG1eDb9S6pFYSIBjzeu75ifvZpsI9Y9MOwJEYFe QaSrheiCRmzJi/2DeF1M/rW7eDbyb6MKMr+bU73HNHctyP5d+ll52v2AAABdtTcSfua5 6N8w== X-Gm-Message-State: AOJu0YwF00o2ucXVybbxIhKFfFZaX6+2H79ypCzKDuM+qugPFjn1ED5R MKVe+4uQxkVmVMEThKVETGXSlAPuG8oGVdHRiS34NA== X-Google-Smtp-Source: AGHT+IGRbDphI2o0fMsQeFxNis2bXrWKWPSp6b1xopKvlnxYsC+sVAr1DYCB1OQXPE9v/8jfLQ3dxw== X-Received: by 2002:a05:6871:430c:b0:1c0:f8a7:ec14 with SMTP id lu12-20020a056871430c00b001c0f8a7ec14mr15210508oab.57.1698116083221; Mon, 23 Oct 2023 19:54:43 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:42 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson , Erik Gabriel Carrillo Subject: [PATCH v7 11/25] timer: remove experimental from rte_timer_next_ticks Date: Mon, 23 Oct 2023 19:54:08 -0700 Message-Id: <20231024025422.126021-12-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Function was added in 20.11, remove experimental flag. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- 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 d3927d5b6bac..153d1993573f 100644 --- a/lib/timer/rte_timer.h +++ b/lib/timer/rte_timer.h @@ -331,9 +331,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. * @@ -343,7 +340,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 Oct 24 02:54:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133246 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B7770431EB; Tue, 24 Oct 2023 04:55:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A43C42E02; Tue, 24 Oct 2023 04:54:50 +0200 (CEST) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mails.dpdk.org (Postfix) with ESMTP id 0C91442DD3 for ; Tue, 24 Oct 2023 04:54:45 +0200 (CEST) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6b1ef786b7fso3811092b3a.3 for ; Mon, 23 Oct 2023 19:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116084; x=1698720884; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PaxLEtrsNzL6oKplzWzRvcstHNw24KRCq+dpodfXq5U=; b=im5Bfj2/OVO8ZEJkmT5IAmcRCM3aCQGiuvmw+0vTvgNYJkNIuK5LZBcB3nti011BF8 E62hqBcORF34S5lozEqYXSmg+WbCrV5CcbR1pHmei+j6nJmSdkwgsTXAQ3hqiZj7WFwu iGgee6Itl42KR+gq4s4vSVXaEMaJj+shtdzG/oX009qZBkcv9Gng1OWjgB32fu/fe1sf yOV0JkeZk/E5OtXC2o6GZhtK86SeVn54kIQFsthI5NqrMiUcptakEwrO7cMov2dTBE2Z C3ImO8lTQquIaBz6uZEpvTMMMoK2CcskPGT1RCUaT8yBnjlPbuny6vEbMD86+QiZSO/n G7/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116084; x=1698720884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PaxLEtrsNzL6oKplzWzRvcstHNw24KRCq+dpodfXq5U=; b=Xo1CNY84L+/isVYSNwXAeGSgSm34W+CPZFoDsltocElAWHnNuT675bhMlUwyJ6ysm3 tmpxVbtxV8uojIx1ZrvP6PqRloGkkd+XoX/3tOZTo3U1cPUJ6NipFnB/JAXhtUMMx0Sv N8HxallMez3XNtMmICefVZoAzl18mdMPawqRSepxesJVUSWaGRfMLXLZIhXvGw1iCnGB w1cuv37RDasHr39UlqsYsMgNSmZ1TyJPxOJhb9W0RbelpNkvx6FQ+npGl+wKfiKGG44U a7Efk8hE7ZGHq3cKl4Aj5Rwe0luT/2VqwVRoI+rk6XP+c9awU/V6wvwevzBBKJulSxd1 mcEA== X-Gm-Message-State: AOJu0YxyH15vf2OA/6ZRlYztcT5ck1h/dQyL5Maa4+HgXO4bucdEEokQ tSMKM9VNuonGVjb22Rmac9YLmtL3Fz+KMVKQJ3EEpg== X-Google-Smtp-Source: AGHT+IFMxsyfGPgc8dspez7FRg8HhmWPzylIcUlDxH4D5XA1AhGGBa2xfxzfdeVq1pACpFvoHAUqKw== X-Received: by 2002:a05:6a00:cd5:b0:6bc:62d0:fff6 with SMTP id b21-20020a056a000cd500b006bc62d0fff6mr11998709pfv.32.1698116084075; Mon, 23 Oct 2023 19:54:44 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:43 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu Subject: [PATCH v7 12/25] sched: remove experimental Date: Mon, 23 Oct 2023 19:54:09 -0700 Message-Id: <20231024025422.126021-13-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The overcommit and PIE support was added back in 2020. Remove experimental tag. Signed-off-by: Stephen Hemminger Acked-by: Cristian Dumitrescu --- lib/sched/rte_pie.h | 8 -------- lib/sched/rte_sched.h | 5 ----- lib/sched/version.map | 18 ++++-------------- 3 files changed, 4 insertions(+), 27 deletions(-) diff --git a/lib/sched/rte_pie.h b/lib/sched/rte_pie.h index e0d6d5a3cdcd..631c657980eb 100644 --- a/lib/sched/rte_pie.h +++ b/lib/sched/rte_pie.h @@ -78,7 +78,6 @@ struct rte_pie { * @retval !0 error */ int -__rte_experimental rte_pie_rt_data_init(struct rte_pie *pie); /** @@ -95,7 +94,6 @@ rte_pie_rt_data_init(struct rte_pie *pie); * @retval !0 error */ int -__rte_experimental rte_pie_config_init(struct rte_pie_config *pie_cfg, const uint16_t qdelay_ref, const uint16_t dp_update_interval, @@ -116,7 +114,6 @@ rte_pie_config_init(struct rte_pie_config *pie_cfg, * @retval !0 drop the packet */ static int -__rte_experimental rte_pie_enqueue_empty(const struct rte_pie_config *pie_cfg, struct rte_pie *pie, uint32_t pkt_len) @@ -148,7 +145,6 @@ rte_pie_enqueue_empty(const struct rte_pie_config *pie_cfg, * @param time [in] current time (measured in cpu cycles) */ static void -__rte_experimental _calc_drop_probability(const struct rte_pie_config *pie_cfg, struct rte_pie *pie, uint64_t time) { @@ -212,7 +208,6 @@ _calc_drop_probability(const struct rte_pie_config *pie_cfg, * @retval 1 drop the packet */ static inline int -__rte_experimental _rte_pie_drop(const struct rte_pie_config *pie_cfg, struct rte_pie *pie) { @@ -261,7 +256,6 @@ _rte_pie_drop(const struct rte_pie_config *pie_cfg, * @retval 2 drop the packet based on mark probability criterion */ static inline int -__rte_experimental rte_pie_enqueue_nonempty(const struct rte_pie_config *pie_cfg, struct rte_pie *pie, uint32_t pkt_len, @@ -329,7 +323,6 @@ rte_pie_enqueue_nonempty(const struct rte_pie_config *pie_cfg, * @retval 1 drop the packet based on drop probability criteria */ static inline int -__rte_experimental rte_pie_enqueue(const struct rte_pie_config *pie_cfg, struct rte_pie *pie, const unsigned int qlen, @@ -354,7 +347,6 @@ rte_pie_enqueue(const struct rte_pie_config *pie_cfg, * @param time [in] current time stamp in cpu cycles */ static inline void -__rte_experimental rte_pie_dequeue(struct rte_pie *pie, uint32_t pkt_len, uint64_t time) diff --git a/lib/sched/rte_sched.h b/lib/sched/rte_sched.h index a9ac5909ad0c..77fc78ce2fe9 100644 --- a/lib/sched/rte_sched.h +++ b/lib/sched/rte_sched.h @@ -353,9 +353,6 @@ rte_sched_subport_pipe_profile_add(struct rte_sched_port *port, uint32_t *pipe_profile_id); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Hierarchical scheduler subport bandwidth profile add * Note that this function is safe to use in runtime for adding new * subport bandwidth profile as it doesn't have any impact on hierarchical @@ -369,7 +366,6 @@ rte_sched_subport_pipe_profile_add(struct rte_sched_port *port, * @return * 0 upon success, error code otherwise */ -__rte_experimental int rte_sched_port_subport_profile_add(struct rte_sched_port *port, struct rte_sched_subport_profile_params *profile, @@ -592,7 +588,6 @@ rte_sched_port_dequeue(struct rte_sched_port *port, struct rte_mbuf **pkts, uint * @return * 0 upon success, error code otherwise */ -__rte_experimental int rte_sched_subport_tc_ov_config(struct rte_sched_port *port, uint32_t subport_id, bool tc_ov_enable); diff --git a/lib/sched/version.map b/lib/sched/version.map index d9ce68be1449..be1decaeee46 100644 --- a/lib/sched/version.map +++ b/lib/sched/version.map @@ -2,6 +2,8 @@ DPDK_24 { global: rte_approx; + rte_pie_config_init; + rte_pie_rt_data_init; rte_red_config_init; rte_red_log2_1_minus_Wq; rte_red_pow2_frac_inv; @@ -17,24 +19,12 @@ DPDK_24 { rte_sched_port_pkt_read_color; rte_sched_port_pkt_read_tree_path; rte_sched_port_pkt_write; + rte_sched_port_subport_profile_add; rte_sched_queue_read_stats; rte_sched_subport_config; rte_sched_subport_pipe_profile_add; rte_sched_subport_read_stats; + rte_sched_subport_tc_ov_config; local: *; }; - -EXPERIMENTAL { - global: - - # added in 20.11 - rte_sched_port_subport_profile_add; - - # added in 21.11 - rte_pie_rt_data_init; - rte_pie_config_init; - - # added in 22.07 - rte_sched_subport_tc_ov_config; -}; From patchwork Tue Oct 24 02:54: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: 133247 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7E8CA431EB; Tue, 24 Oct 2023 04:55:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CE3042E13; Tue, 24 Oct 2023 04:54:51 +0200 (CEST) Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) by mails.dpdk.org (Postfix) with ESMTP id F06F642DDF for ; Tue, 24 Oct 2023 04:54:45 +0200 (CEST) Received: by mail-qk1-f181.google.com with SMTP id af79cd13be357-778999c5ecfso278141485a.2 for ; Mon, 23 Oct 2023 19:54:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116085; x=1698720885; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YaVvuuZvY8akF3MGghj7eBsFpXxvFzNMo6uTs4PZPZ4=; b=WWFdB7aXZ4WKqrWl39qJqpsDAXgHJ6ft0maqO8eHC3OPPRS1Y95dic6+6jWShk/7FT Z12ElapDrCp07uuMrmNttJFNQpgep6vPRKIzYn0KM6jJcmT9bTJsP+Ov/IxNV9F0TM/r 6QvjnUqKwcoXT6SG1tQIFpqrKw0IVf1KGiKv1N1s3ZpMMrqm6LGgvJBO/ohkHan201pP 5T1QAvIYWlqsITvBxvwqAw3B7UE1lf3j8C3Qyf70EX6c2PyBctnI3J1ZNJzzPUnaSjSH An8JJUzuFq+e41Xbj6YF5vVkN0ALwdQs0rTzA6cBXlDO5U5ptF2uG9c9wsCV1MHmp0q4 1usg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116085; x=1698720885; 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=YaVvuuZvY8akF3MGghj7eBsFpXxvFzNMo6uTs4PZPZ4=; b=CU/84BMyttw6g3mLowTCt/19MQZ1HC5VjMVMDmDqoirdhcwSK92pjWQohhC/Z939No z4wjyu4BRCURqyx8tpK9NdERtEaRoHyazDRKkwwn2X53Fask6Un3oRABM/rH6SFmlkKb CkOc6DKCBgq2hyyh7D3EnHXeW/ZiWepbQeCSEinaxZyO4ET6G+sLTQI2ixxgd4EF9Ja0 Qpypus0Mr6N4JmY4a/UR7sLDDZi3zrt2Vo2sJqfFMYwt4/IRll8Ey+3YvChaIJ5JFlVy sjYZTy9qwG8VgRLfQHh58U/URe42//duF5f3/rde57XGP3V46saqigVM+KB9520lq2sn eA6g== X-Gm-Message-State: AOJu0YyrsMc+lDX8yyZKet35IuBoH1DObXyANVfSx3TH6jksodGRRbVh CEhTbN1sPjqU4fjQ7GgIMIKBmIB4ICzTQ+/LRxkhcg== X-Google-Smtp-Source: AGHT+IGRaYMZgzZZVQVVEWsp2gkyLD0u5UbGIzJd3og0+GVo02vAIS++3nLXDGWwiU8vX4nNgOYWjA== X-Received: by 2002:a05:620a:2698:b0:778:8f72:840d with SMTP id c24-20020a05620a269800b007788f72840dmr11921728qkp.12.1698116085080; Mon, 23 Oct 2023 19:54:45 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:44 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Chengwen Feng , Bruce Richardson , Thomas Monjalon , Kevin Laatz Subject: [PATCH v7 13/25] dmadev: mark API's as not experimental Date: Mon, 23 Oct 2023 19:54:10 -0700 Message-Id: <20231024025422.126021-14-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These were added in 20.11 time now to remove experimental flag. Signed-off-by: Stephen Hemminger Acked-by: Chengwen Feng Acked-by: Bruce Richardson --- MAINTAINERS | 2 +- lib/dmadev/rte_dmadev.h | 85 ----------------------------------------- lib/dmadev/version.map | 2 +- 3 files changed, 2 insertions(+), 87 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index e5d92aa74926..2f1ab5a0f328 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -483,7 +483,7 @@ F: doc/guides/prog_guide/mldev.rst F: app/test-mldev/ F: doc/guides/tools/testmldev.rst -DMA device API - EXPERIMENTAL +DMA device API M: Chengwen Feng F: lib/dmadev/ F: drivers/dma/skeleton/ diff --git a/lib/dmadev/rte_dmadev.h b/lib/dmadev/rte_dmadev.h index 493263a5d627..2c09939ff6c5 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 */ @@ -318,9 +301,6 @@ struct rte_dma_info { }; /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Retrieve information of a DMA device. * * @param dev_id @@ -332,7 +312,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); /** @@ -357,9 +336,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 @@ -375,13 +351,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 @@ -393,13 +365,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(). @@ -410,13 +378,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. @@ -427,7 +391,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); /** @@ -620,9 +583,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 @@ -637,7 +597,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); @@ -666,9 +625,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 @@ -683,14 +639,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 @@ -702,7 +654,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); /** @@ -718,9 +669,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. @@ -735,14 +683,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 @@ -753,7 +697,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); /** @@ -864,9 +807,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' @@ -892,7 +832,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) @@ -910,9 +849,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 @@ -942,7 +878,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, @@ -963,9 +898,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' @@ -991,7 +923,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) @@ -1010,9 +941,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 @@ -1026,7 +954,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) { @@ -1043,9 +970,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. @@ -1067,7 +991,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) @@ -1102,9 +1025,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 @@ -1130,7 +1050,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, @@ -1154,9 +1073,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 @@ -1168,7 +1084,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 Oct 24 02:54: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: 133248 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BC56B431EB; Tue, 24 Oct 2023 04:56:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F44342E0E; Tue, 24 Oct 2023 04:54:53 +0200 (CEST) Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) by mails.dpdk.org (Postfix) with ESMTP id A17FD42DE9 for ; Tue, 24 Oct 2023 04:54:46 +0200 (CEST) Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-7788fb06997so280402685a.0 for ; Mon, 23 Oct 2023 19:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116086; x=1698720886; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6lqOF1JtSO0Wqm8fjRLQbHONrdDkdEJsKVhgieJfFqk=; b=hfAqyqF5PxpE5kHWlu69bbLihnbm/GntHKFPoDX1f+rhTzpIp/WR8eQJT45g0GJ3oK 4flgEtCtROZSVvbMehg7rZgT3EwTYBLRUJZZEEx/5aRS/S7hLjkuauc2++tefK4qF2DQ yyjrGShwRuU+J+IAJLolXDW39mGZuNBTh/3cl9UAJgEieMu5L+zoQKQJMOd8kunVlYqW o23UgsTTK9cgIAXKpJLoaxH0OVRUuhhuOln4vHPc3ERFGfatN7q4Un7zUF8YFqLB0+2a r0EtGEype18lp+8GlIeRWNdCiVF3A4ahcy6Z7Fe1nkAuBo2m73HjheT3o+LoCzjUldsH RbaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116086; x=1698720886; 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=6lqOF1JtSO0Wqm8fjRLQbHONrdDkdEJsKVhgieJfFqk=; b=ZJXbahx2TItvCTA3Mbk06GaLkLdYWMVXcsTpmC09IXojaI2KiQP9GjyCqWqtWTcSh1 8CpQ6SlghiCjCZ8/g/wf051vKVvbKaO7HhmkTVaYjNvRkM/1v/M52PE6Bnu2r1l918eH G+meQ4nnVIpe30ONemSQ3i0RSTpV19RGmUPlvfl9Y/hZANjR0Vg2ViD3kUO92wxmmjhn AHUU7xp2et8e+JpglUNJYrlBsJT0KYqgZ5TKQqY6B0CGhwwI5yPL5uba2xeL4kKsqRrz JNgWquySPrcVgN3ky1GKiiuru4n4iLeIzL5w5DFkBLABxMn6o/6vQnU/mtrJJKnapQaW 7CIg== X-Gm-Message-State: AOJu0YyUqImNYgHXqwWQakzrcUq4uMc59x7qAq/V7D9oO5mOaJ4F9pUw oAHK6iRQV9Kyk+DuE1R5VBfGFLvMLM7vIFQE2WLKsA== X-Google-Smtp-Source: AGHT+IG8VGGafazkiNna73QEuUiyDE5F4GmNMj7gmkjyCpMxFfni5ZIwTlG/H17nDoinn5hofibptw== X-Received: by 2002:a05:620a:8d09:b0:777:24f1:5e with SMTP id rb9-20020a05620a8d0900b0077724f1005emr9876469qkn.71.1698116085927; Mon, 23 Oct 2023 19:54:45 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:45 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson , Cristian Dumitrescu Subject: [PATCH v7 14/25] meter: remove experimental warning from comments Date: Mon, 23 Oct 2023 19:54:11 -0700 Message-Id: <20231024025422.126021-15-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The API's for rte_meter_trtcm were documented as experimental with warning in documentation but the API's were not marked as experimental in version.map and/or with __rte_experimental. This patch removes the warnings from the docbook comment. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson Acked-by: Cristian Dumitrescu --- 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 Oct 24 02:54: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: 133249 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 30196431EB; Tue, 24 Oct 2023 04:56:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C109F42E2B; Tue, 24 Oct 2023 04:54:54 +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 E737C42DF4 for ; Tue, 24 Oct 2023 04:54:47 +0200 (CEST) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6b497c8575aso3989700b3a.1 for ; Mon, 23 Oct 2023 19:54:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116087; x=1698720887; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rMDj5Y+VmkY4guvpu3/eTGeh1/fdRwujrJsdsJyCRAo=; b=2GAfl1xsnmkJr3pdc4izIldVZy5NdSddc//LAiT438ElFe9Fh6IsSm3NeSsI/8fCil vRlRyWq6/v3c44cu5lK8AuDdh/jFBySIso9HJM2OSv87SQ5VytgNZrMBOWPuFN1+RRUL bcguwDAzy9ozitqN8YBBjnzPFLHxY6bd6NzCkJvYEkGaMD8jq4CAgkcoB5c/ZtMjmaRD IupCdDEeQrxH3CuK1eAMEqPfcpS0f48hstZTmFy7tr2QPO2AHjeTUZzuMyz7Fnt/Sp4/ 3hZUKPN2YZZCrHemqOxt1z1px6oY95KLB/pH7D7zhJP69ghCnJIyNK7RIk6wBDTBqTmF 5kYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116087; x=1698720887; 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=rMDj5Y+VmkY4guvpu3/eTGeh1/fdRwujrJsdsJyCRAo=; b=NyBwJXTKIfI+Nqa71pZGFbdkg9LRP7gVI3yYoMho6QYeUOKgcPIA0/ApVGSZuf2Ckw P/PNK5pCkmsZl/dT5AnxH5fMcZ0J0t8RMn5lA2SFpWjWQMRjzVM73ukwORKphhv8zZ8g pYvEVc5BjSQHikybHFOas+zf4/prVIA9QX38fDBd1jg5TQ2/HwecOoUEA66DRCVmQXVp 9A8QyAH9337Eq0x8E2ETQJhIyTsQ8HEkB7QlhMDpY26b2ebki447fuvx7Rcdkg+JvPgx SPU5kRIhQDbFaa3fKP1EfR3p59WivWCQVVkae4vAYQtzJupsoFWxTIwLxOrdIEoWWn1v mRGg== X-Gm-Message-State: AOJu0Ywvz3EpRyVHrr8VkZ5qc8DKO6HXLOzMz8foz9P8VMK9arYqii72 V585wde7NKxAv1EtHMJsr9qVCpdwCpkE2o0xqsEXQg== X-Google-Smtp-Source: AGHT+IHKnukDSEgVWXeCzW/MG/gPFrUwpVPd9GvX5eos3giqpr6RDSaXVBazIcCgos36yDjqaCr/gQ== X-Received: by 2002:a05:6a00:b8d:b0:6be:265:1bf7 with SMTP id g13-20020a056a000b8d00b006be02651bf7mr12066921pfj.34.1698116086852; Mon, 23 Oct 2023 19:54:46 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:46 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , David Hunt , Anatoly Burakov Subject: [PATCH v7 15/25] power: remove experimental from API's Date: Mon, 23 Oct 2023 19:54:12 -0700 Message-Id: <20231024025422.126021-16-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The power management API's were last changed in 22.11 release. Signed-off-by: Stephen Hemminger Acked-by: David Hunt --- lib/power/rte_power.h | 4 --- lib/power/rte_power_guest_channel.h | 4 --- lib/power/rte_power_pmd_mgmt.h | 40 ----------------------------- lib/power/rte_power_uncore.h | 2 -- lib/power/version.map | 37 +++++++++++--------------- 5 files changed, 15 insertions(+), 72 deletions(-) diff --git a/lib/power/rte_power.h b/lib/power/rte_power.h index e79bf1c4dd0c..4b624a01c5d7 100644 --- a/lib/power/rte_power.h +++ b/lib/power/rte_power.h @@ -25,9 +25,6 @@ enum power_management_env {PM_ENV_NOT_SET, PM_ENV_ACPI_CPUFREQ, PM_ENV_KVM_VM, PM_ENV_AMD_PSTATE_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. * @@ -39,7 +36,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_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/rte_power_uncore.h b/lib/power/rte_power_uncore.h index 295017b7f429..a6a19019225c 100644 --- a/lib/power/rte_power_uncore.h +++ b/lib/power/rte_power_uncore.h @@ -74,7 +74,6 @@ enum rte_uncore_power_mgmt_env rte_power_get_uncore_env(void); * - 0 on success. * - Negative on error. */ -__rte_experimental int rte_power_uncore_init(unsigned int pkg, unsigned int die); @@ -96,7 +95,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); diff --git a/lib/power/version.map b/lib/power/version.map index 53627b59f189..ad92a65f913e 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,6 +38,13 @@ EXPERIMENTAL { rte_power_uncore_get_num_freqs; rte_power_uncore_get_num_pkgs; rte_power_uncore_init; + rte_power_unset_env; + + local: *; +}; + +EXPERIMENTAL { + global: # added in 23.11 rte_power_get_uncore_env; From patchwork Tue Oct 24 02:54: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: 133250 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 93C78431EB; Tue, 24 Oct 2023 04:56:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D472942E30; Tue, 24 Oct 2023 04:54:55 +0200 (CEST) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mails.dpdk.org (Postfix) with ESMTP id D7BE840C35 for ; Tue, 24 Oct 2023 04:54:48 +0200 (CEST) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6b5cac99cfdso3279189b3a.2 for ; Mon, 23 Oct 2023 19:54:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116088; x=1698720888; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bbCOxin6/TMi0qDvfCqTgkMsYYeVT+imxm/L6n6qXcw=; b=z4O92WeSTlk7z95iffZUU4gKtMkH2Xn+9skCdrh8jWhZzLYQ1Ygy0j3KybjGJSn0w7 UA9JTipHS5WLPTi3A/0NVdx3NjiN3Snum4pyr1gno0q/lWpG+31jXvlhqaHPkaawPrAm nqGWPfFRf7iRKdf9OEx+29o67F+F3a545sZ1u5x2PEo7PbazLJqDE3RM8gTSSqAn3PWI XwnECsJGCzgEip1U3aJ1tPGAzfnykR6rqiJXxqcSaHdC3A1ESOhlg0PQPey0gm6dpnbx MAU1pcA7bWVFMxfvmNQjN1WrdmTIU+g+40UOfXLp/uILnuHns6CWn/RIyXZJIB0Tsztg GF0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116088; x=1698720888; 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=bbCOxin6/TMi0qDvfCqTgkMsYYeVT+imxm/L6n6qXcw=; b=WUf2YjQu4BXQ+S3jbmkL1cYDM3NZ4cXNMT022zsZABezbFqg0ee9GfRlSD/fRON5pQ CdzU8Sxm7wS+M67AymL62bgkmgXCFObqXHB3m4Dao2AVRrBNFlmH9xe/pzWWgoKfjgTC VlLMY+RXeM8KduBD+OEBDzjpB4gGeNILuMIqvtM6eFdaKFP7ImQgW3kREP8coeJenvvg RSr9MxCQm0WOk4ktBign8TKA9HCsRQqKvonnTxhWbU4o9t2W8m1m/7KYGBFfYVLK0n5M 3tdC2bCKGeLE2xdalwJJaHqn/3IWjsVLadbmnqWwTTUxplK2Ee0v/gL0iQV+YHBoK32O pgjw== X-Gm-Message-State: AOJu0Yyg7UorUNvYCn8hi2lfnD8oDCcxOd4p3oaFyxcbj65L0qLtuAYX t5qQDKf8+0fYH4uKBgyAeYnYqthhmG/xtikK3mYkgg== X-Google-Smtp-Source: AGHT+IFwXJrELPjaC0oeMTgF1mOonaLIiB+d2sAGXjPvcFWciystl3UC1f+8mz/EMoPPrtKQX4Wm1w== X-Received: by 2002:a05:6a00:248a:b0:68f:ece2:ac2a with SMTP id c10-20020a056a00248a00b0068fece2ac2amr8995271pfv.27.1698116087838; Mon, 23 Oct 2023 19:54:47 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:47 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson Subject: [PATCH v7 16/25] kvargs: remove experimental flag Date: Mon, 23 Oct 2023 19:54:13 -0700 Message-Id: <20231024025422.126021-17-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The function rte_kvargs_get_with_value was added in 21.11 so experimental flag can be removed. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- 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 Oct 24 02:54: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: 133251 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 744F9431EB; Tue, 24 Oct 2023 04:56:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D4C2410F6; Tue, 24 Oct 2023 04:54:59 +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 A6D2E42DFC for ; Tue, 24 Oct 2023 04:54:49 +0200 (CEST) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6bd73395bceso2926876b3a.0 for ; Mon, 23 Oct 2023 19:54:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116088; x=1698720888; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=A/dLp7flP6GxgaJ/iUiskzOQvoCI2mPJIrvOSJXWzd8=; b=pkwf5/iN6ixrYTz1c8I1HmFrpQUimju43nQ2XbsgMvRSO/bVkGwGu31ZZPispoOewh BAugtz247Gp1wjDl4L2bZlqarbQv9RWxGF4JfXpAwNY1K97t+c6Nt/scwvQ6L3F74e+j /2h1mg7eDfr8dzzTqsL588/gczN2yl4u/O8pzlPkTXbfcMxxRJGADrQH5OhSKwoHV1xi C0dAI4jRobD6PtyBplPmj7jb35H0qvMdpHFEznm4fs7pG8AeTeqkzW8ZhUH0Mb3J/gzf A+U1/3T4UU2jaCskr611pMq1UcONwvPt0yYXem29ceZ/Cfnhe5v0rPK9IAzCtLf32KQs sOmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116088; x=1698720888; 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=A/dLp7flP6GxgaJ/iUiskzOQvoCI2mPJIrvOSJXWzd8=; b=rQx/7DANr236NHuCoyuRrdUgkD+NhRw5wPVGzJa9+w7Z69cBWRCEZrIajB5tg35Jce RXx/STvqSfQ9A9R6u/CoFVCinrBK9erI3MAx8EbXDKRcKZLuBqqOe500kyWd1xkzF9NO tDXciuAvrqIHmHUW5+V6NHIXkIrJm9k51gztKc8fJENsQdTlKa0KaZIR1ZmoOFucZ/nS ZUSMB4L4fpuUthk0Ex++X5AlgA/ztUirbqPAMXuRT4KclSus2MJdW1322TcXMC03YDB5 OAPLciGCOlEgfsndHTj49ABmszIbtAeD+YE8hNZpcTgWWsyDvV40iQ4lHtMfGTjenFBx douA== X-Gm-Message-State: AOJu0YxanWa9icvp8izczSmf4LF4sKyi9k9UeSZZF28+smFMG0/u3NZV nQArnnH1CE4Kt4Lcr6Q/61yGHObKmE0Q/KR21nxFZQ== X-Google-Smtp-Source: AGHT+IHII8F5YHxXGH5HWtEfAT8YRUkE8GQlv3UUGeE9AYGPRltu0s+biktnh3BREZlY3jS1y2C7Qw== X-Received: by 2002:a05:6a00:9393:b0:6be:c6f7:f9fd with SMTP id ka19-20020a056a00939300b006bec6f7f9fdmr22612080pfb.11.1698116088653; Mon, 23 Oct 2023 19:54:48 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:48 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH v7 17/25] ip_frag: mark a couple of functions stable Date: Mon, 23 Oct 2023 19:54:14 -0700 Message-Id: <20231024025422.126021-18-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org There were two functions added in 22.11 which were marked as experimental. Remove the experimental tag. Signed-off-by: Stephen Hemminger Acked-by: Konstantin Ananyev --- 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 Oct 24 02:54: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: 133252 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 17263431EB; Tue, 24 Oct 2023 04:56:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4FADF42E24; Tue, 24 Oct 2023 04:55:00 +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 9A2A542E08 for ; Tue, 24 Oct 2023 04:54:50 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6b6f4c118b7so3273569b3a.0 for ; Mon, 23 Oct 2023 19:54:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116089; x=1698720889; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pWrUcrx3QY2veudIAyIB9UEXA03L7m5PhCWZDX9VwMU=; b=ETLa+RGFagG/UHB+8Wle6+zcq23jn3RbudoH+8DjUa1hiBMuD3ZQxWrHg6Vx2YVnGT RGdzYwIsG2eCunEfWBus7PqgN5v0HSMpcqPBauPHX4TW8kHL2QhFatM7hU8F63p4g6lW 7f6lK0Rg4E+IKColJj+1wncG+bAAewAPJQ+vXlrXU/O/X62kULDAT8+wXuXf7YIo2HlE podjcccDBD+LLWg661POwrcqgPTBZIuJXYY3NYA9zR1bnhR8XLa9Z0/5H+8cCc46DeQ6 FwDAOgDb2Jw4ZCuucTC2RqZkiuWX/jm2JPOVk+YXZ4fsxAVH6yZHMEvEnIUAiARH4NCS /AgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116089; x=1698720889; 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=exI1qGBYwOdyjNRuafn/G/xq9hY3OIFOd7Mki+I5rSv8pWLN+9g3p+dFBo/evJC9NS csADLsEH/tCwsC2C4yFE6tBodoIVoT11V0XPXINTouLGraXRWjLIeI/rz/kx0YA2MWL+ Kc7drgm4CPg1k9yvjdDm4QvO/BG5oydgFeJeiBd0WwQzbCb1ETRKmDPp3FUZ1BdfKgPS 1/a3M7ym7AvYafM+e6ACtvAISSNjQ+Q2FXAA4Z0gOxTN2UnC33MvaJkgDX2PMkf2Lffo SZ/XnEuUv+/BARWBvBh2ul8HbzRdv1wJSyM1zyNYbxk7eYw7hKC4cPDJeRg4Vns7Zqr6 N+5g== X-Gm-Message-State: AOJu0Ywzz07lw30Dga7e6FGjytGedi/XN+6Wg749tUySAmelG6TDrnD7 A/Nu86aIXq4JlI1T2K8yWUBqZUyXZGpQb4ugoQmXlQ== X-Google-Smtp-Source: AGHT+IGGUgviOP4gPaZ6CKB/wgQh6h0VTks72x4+cmqwr2d002UY2n5DVv1oiLBc4ezRGaDPRVusKQ== X-Received: by 2002:a05:6a00:1a4e:b0:68f:e810:e86f with SMTP id h14-20020a056a001a4e00b0068fe810e86fmr9144082pfv.28.1698116089534; Mon, 23 Oct 2023 19:54:49 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:49 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Yipeng Wang , Sameh Gobriel Subject: [PATCH v7 18/25] member: remove experimental tag Date: Mon, 23 Oct 2023 19:54:15 -0700 Message-Id: <20231024025422.126021-19-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The 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 Oct 24 02:54: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: 133253 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 22F69431EB; Tue, 24 Oct 2023 04:56:36 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8704A42E37; Tue, 24 Oct 2023 04:55:01 +0200 (CEST) Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) by mails.dpdk.org (Postfix) with ESMTP id 7A98C42E11 for ; Tue, 24 Oct 2023 04:54:51 +0200 (CEST) Received: by mail-oi1-f179.google.com with SMTP id 5614622812f47-3b2b1ad7ee6so2591388b6e.2 for ; Mon, 23 Oct 2023 19:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116090; x=1698720890; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oCyKuP3WHccT1kMMiYmVUPULxJ8KwxrljgIf57c0LHA=; b=0Ex1m8ueCSQh3gkiPIRk4H7B8vhyCTW+0iBokEu0w5sVHkz8TfgsA+AmeIQCzFNOo6 YVvzdV0e/loAMRfDrZPohKVhFzW9gDWeX1xC/eC01erEEfek5AK0sUO2YKWJRrRDuRjU 294VGe8d1gI4IgPwlEcpfQhy44n9fC3N7IY+Xa54ujjwkC90loU/MN7wg0y3dzoABESn //4vhSraNuMcpGTnsC7TCLsjNBfJi5c/XazJQXJ5p25OFWJ+aUJhwyN07OE5SKT2okPT 5NMSSXSPYu1lu0o87PkIwFsFzJ8vcPGQnhAMYT/LgA0SsNYBtLuTwc8YSUtKWSfbFD+O gklQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116090; x=1698720890; 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=oCyKuP3WHccT1kMMiYmVUPULxJ8KwxrljgIf57c0LHA=; b=Dy5TvGEKLRK/v2z/QFVcXvdza0+XkMVrotX7XZqblalqxTL5IFshqzQeAZ29z8Yd3S DTHznJ2jwTeUb0A83XfozleOuNHhx2DnRcoJouVuMzUicxF2OPZ3PhPLspKh+0/a2fKy nVdAwObrNML4Ljv2A/L7197jQDLDWyBo21OsU2Hl6TsauOgs7Nocj/+QD2HGdbJv1nlV teSpvwlmuBrpEUIKWXaDQDW9COs5yPDDqbV3BPE7sJGYfGW36NEm2DCKDNjgbUtGCjwO sxEVYbp6b/HmV2Hkzx5COn5UbO6B2Syb5yK6To2kuPqPDjPxFzLVyMmhw6hZyZiaAAmz FYOA== X-Gm-Message-State: AOJu0YzR0H1B7S/Y/ByBGKknWduyfaEzUduTIk440Yn9UZ4teykLnKSv QUVa1oichzxK/gX6/vyWsOy5bGnpjkCDoVlBwiQUtA== X-Google-Smtp-Source: AGHT+IEsZqtVRih9plN+Pi7obxcrC41Jd/PFAwJziZNomcYp5seKOrsdn9LCyH+fXHqS1kFmptuLrg== X-Received: by 2002:a05:6870:4e0b:b0:1e9:f06f:b25 with SMTP id pl11-20020a0568704e0b00b001e9f06f0b25mr15081927oab.8.1698116090615; Mon, 23 Oct 2023 19:54:50 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:49 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Akhil Goyal Subject: [PATCH v7 19/25] security: remove experimental flag Date: Mon, 23 Oct 2023 19:54:16 -0700 Message-Id: <20231024025422.126021-20-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Update security API's to stable: __rte_security_set_pkt_metadata 21.11 rte_security_dynfield_offset 20.11 rte_security_macsec_XXX 22.11 rte_security_session_stats_get 18.11 Signed-off-by: Stephen Hemminger Acked-by: Akhil Goyal --- lib/security/rte_security.h | 35 ----------------------------------- lib/security/version.map | 18 +++++++++--------- 2 files changed, 9 insertions(+), 44 deletions(-) diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h index d2d2af23d5d2..1c8474b74f93 100644 --- a/lib/security/rte_security.h +++ b/lib/security/rte_security.h @@ -815,7 +815,6 @@ rte_security_session_create(void *instance, * - On success returns 0 * - On failure returns a negative errno value. */ -__rte_experimental int rte_security_session_update(void *instance, void *sess, @@ -851,9 +850,6 @@ int rte_security_session_destroy(void *instance, void *sess); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Create MACsec security channel (SC). * * @param instance security instance @@ -865,15 +861,11 @@ rte_security_session_destroy(void *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(void *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 @@ -884,15 +876,11 @@ rte_security_macsec_sc_create(void *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(void *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 @@ -904,15 +892,11 @@ rte_security_macsec_sc_destroy(void *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(void *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 @@ -923,7 +907,6 @@ rte_security_macsec_sa_create(void *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(void *instance, uint16_t sa_id, enum rte_security_macsec_direction dir); @@ -941,9 +924,6 @@ typedef struct rte_mbuf *rte_security_oop_dynfield_t; extern int rte_security_oop_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, @@ -953,7 +933,6 @@ extern int rte_security_oop_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) { @@ -982,14 +961,10 @@ rte_security_oop_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; @@ -1059,7 +1034,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(void *instance, void *sess, struct rte_mbuf *m, void *params); @@ -1230,16 +1204,12 @@ struct rte_security_stats { * - On success, return 0 * - On failure, a negative value */ -__rte_experimental int rte_security_session_stats_get(void *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 @@ -1250,16 +1220,12 @@ rte_security_session_stats_get(void *instance, * - On success, return 0. * - On failure, a negative value. */ -__rte_experimental int rte_security_macsec_sa_stats_get(void *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 @@ -1270,7 +1236,6 @@ rte_security_macsec_sa_stats_get(void *instance, * - On success, return 0. * - On failure, a negative value. */ -__rte_experimental int rte_security_macsec_sc_stats_get(void *instance, uint16_t sc_id, enum rte_security_macsec_direction dir, diff --git a/lib/security/version.map b/lib/security/version.map index e07fca33a1e6..54c9a556798d 100644 --- a/lib/security/version.map +++ b/lib/security/version.map @@ -1,19 +1,12 @@ 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; @@ -23,8 +16,15 @@ EXPERIMENTAL { rte_security_macsec_sc_stats_get; rte_security_session_stats_get; rte_security_session_update; - rte_security_oop_dynfield_offset; + local: *; +}; + +EXPERIMENTAL { + global: + + # Added in 23.11 + rte_security_oop_dynfield_offset; rte_security_rx_inject_configure; rte_security_inb_pkt_rx_inject; }; From patchwork Tue Oct 24 02:54: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: 133254 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B0DAD431EB; Tue, 24 Oct 2023 04:56:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D7A1942D7B; Tue, 24 Oct 2023 04:55:02 +0200 (CEST) Received: from mail-oa1-f53.google.com (mail-oa1-f53.google.com [209.85.160.53]) by mails.dpdk.org (Postfix) with ESMTP id 66C2942E11 for ; Tue, 24 Oct 2023 04:54:52 +0200 (CEST) Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-1e58a522e41so2706798fac.2 for ; Mon, 23 Oct 2023 19:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116091; x=1698720891; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0aO5KMghYsRR+oTP0c0jdLv1Z78JUJ6ciSG+jfsNjfQ=; b=gTTYwrm7fR07ArHu7a1tNfHLMH0QnsI4WNbsDB85azZU1c91PyG0rzOUA7MilPtbhT NvjOEuuXOmyvjjIFdL/orW9oRsrNFI/FNF5O5LGEiyOoynoWiRNQE0e5bBjwN1ckv1cZ IiyEaUlYQ3eVvyiwHvKMwvDVfQMJ0uPljIeWg4rBuQN1olOBDF7C5/Iefgx7ISRs1D/S trTFuKcG9whe/FJuUrGL9JjLvRgYF/kF4PhzMNJJJWoM8VHw8OTPGb9VFhAGpPB8pELF xecUhKEOh2S0BTh1IQL8b9cVRiftxyHYWAwVmhiijp3uyBDHPmAOQTln380WIyySsZac 5K1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116091; x=1698720891; 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=0aO5KMghYsRR+oTP0c0jdLv1Z78JUJ6ciSG+jfsNjfQ=; b=gOI8z1XUDVZWnjDIsgLJDHBO0lKw1rRjvj6Wybgbamy3j0yMvLtQxvxpkcMzjQT3/R TJnIpRk85cJva+TCi7fTFFPhZlKD2CpJ3oSM1CL/fC5OtSCr22ZomteWT2Fjm9+jaaYa J+AnHeu/YgO5NEI2emc+XmtkIlzKmv3jX1jYGo/vL/oLeon8p4CVffQ/dS7B//2ieIT8 P1Az5kseeuxJM+RABGSRd4FeQWVvD23OUDOxpM9jPbkmhr5PlhLQ3aikTsV/H9NeMDK3 ZPjIRdtmaWV5vL/ZTJr4gsjr2Y/5KwJJuKMHHmDTpwoa0vemfHHR3UqZPJKav84CBbk0 YTJw== X-Gm-Message-State: AOJu0YyF1sCWmXxhaIDNX0Mkug5isElBkDfA3D2GFT/uHDJQA/vWnH+m x+Unv3uyTuYKpcif8b0FuW/ZvRf0n/I3D757TJfj7Q== X-Google-Smtp-Source: AGHT+IFzIUycMK/jQt30ZoAMzhX+7uBRpChjsGzoUKWfVzyDQBo2wCeY98u+0AdIbRwtvWgdFA8y4A== X-Received: by 2002:a05:6870:2183:b0:1e9:b2fe:9ea7 with SMTP id l3-20020a056870218300b001e9b2fe9ea7mr14205151oae.43.1698116091565; Mon, 23 Oct 2023 19:54:51 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:51 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Maxime Coquelin , Nicolas Chautru Subject: [PATCH v7 20/25] bbdev: remove experimental tag Date: Mon, 23 Oct 2023 19:54:17 -0700 Message-Id: <20231024025422.126021-21-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The API's for bbdev were last added to in 22.11. Remove experimental flag now. Signed-off-by: Stephen Hemminger Acked-by: Maxime Coquelin --- lib/bbdev/rte_bbdev.h | 4 ---- lib/bbdev/rte_bbdev_op.h | 2 -- lib/bbdev/version.map | 15 +++++++-------- 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h index d12e2e7fbcf3..b43e98ef9d1b 100644 --- a/lib/bbdev/rte_bbdev.h +++ b/lib/bbdev/rte_bbdev.h @@ -675,7 +675,6 @@ rte_bbdev_enqueue_ldpc_dec_ops(uint16_t dev_id, uint16_t queue_id, * The number of operations actually enqueued. * (This is the number of processed entries in the @p ops array.) */ -__rte_experimental static inline uint16_t rte_bbdev_enqueue_fft_ops(uint16_t dev_id, uint16_t queue_id, struct rte_bbdev_fft_op **ops, uint16_t num_ops) @@ -860,7 +859,6 @@ rte_bbdev_dequeue_ldpc_dec_ops(uint16_t dev_id, uint16_t queue_id, * The number of operations actually dequeued (this is the number of entries * copied into the @p ops array). */ -__rte_experimental static inline uint16_t rte_bbdev_dequeue_fft_ops(uint16_t dev_id, uint16_t queue_id, struct rte_bbdev_fft_op **ops, uint16_t num_ops) @@ -1042,7 +1040,6 @@ rte_bbdev_queue_intr_ctl(uint16_t dev_id, uint16_t queue_id, int epfd, int op, * @returns * Device status as string or NULL if invalid. */ -__rte_experimental const char* rte_bbdev_device_status_str(enum rte_bbdev_device_status status); @@ -1055,7 +1052,6 @@ rte_bbdev_device_status_str(enum rte_bbdev_device_status status); * @returns * Queue status as string or NULL if op_type is invalid. */ -__rte_experimental const char* rte_bbdev_enqueue_status_str(enum rte_bbdev_enqueue_status status); diff --git a/lib/bbdev/rte_bbdev_op.h b/lib/bbdev/rte_bbdev_op.h index 369ac331bf9b..459631d0d0b7 100644 --- a/lib/bbdev/rte_bbdev_op.h +++ b/lib/bbdev/rte_bbdev_op.h @@ -1130,7 +1130,6 @@ rte_bbdev_dec_op_alloc_bulk(struct rte_mempool *mempool, * - 0 on success. * - EINVAL if invalid mempool is provided. */ -__rte_experimental static inline int rte_bbdev_fft_op_alloc_bulk(struct rte_mempool *mempool, struct rte_bbdev_fft_op **ops, unsigned int num_ops) @@ -1220,7 +1219,6 @@ rte_bbdev_enc_op_free_bulk(struct rte_bbdev_enc_op **ops, unsigned int num_ops) * @param num_ops * Number of structures. */ -__rte_experimental static inline void rte_bbdev_fft_op_free_bulk(struct rte_bbdev_fft_op **ops, unsigned int num_ops) { diff --git a/lib/bbdev/version.map b/lib/bbdev/version.map index eeb7ed475a6c..1840d2b2a491 100644 --- a/lib/bbdev/version.map +++ b/lib/bbdev/version.map @@ -10,11 +10,17 @@ DPDK_24 { rte_bbdev_dec_op_free_bulk; rte_bbdev_dequeue_dec_ops; rte_bbdev_dequeue_enc_ops; + rte_bbdev_dequeue_fft_ops; + rte_bbdev_device_status_str; rte_bbdev_devices; rte_bbdev_enc_op_alloc_bulk; rte_bbdev_enc_op_free_bulk; rte_bbdev_enqueue_dec_ops; rte_bbdev_enqueue_enc_ops; + rte_bbdev_enqueue_fft_ops; + rte_bbdev_enqueue_status_str; + rte_bbdev_fft_op_alloc_bulk; + rte_bbdev_fft_op_free_bulk; rte_bbdev_find_next; rte_bbdev_get_named_dev; rte_bbdev_info_get; @@ -43,14 +49,7 @@ DPDK_24 { EXPERIMENTAL { global: - # added in 22.11 - rte_bbdev_dequeue_fft_ops; - rte_bbdev_device_status_str; - rte_bbdev_enqueue_fft_ops; - rte_bbdev_enqueue_status_str; - rte_bbdev_fft_op_alloc_bulk; - rte_bbdev_fft_op_free_bulk; - #added in 23.11 + # added in 23.11 rte_bbdev_dequeue_mldts_ops; rte_bbdev_enqueue_mldts_ops; rte_bbdev_mldts_op_alloc_bulk; From patchwork Tue Oct 24 02:54: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: 133255 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ABCC9431EB; Tue, 24 Oct 2023 04:56:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C14242E47; Tue, 24 Oct 2023 04:55: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 738934281D for ; Tue, 24 Oct 2023 04:54:53 +0200 (CEST) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6b497c8575aso3989750b3a.1 for ; Mon, 23 Oct 2023 19:54:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116092; x=1698720892; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lQfZjlyrH9zFpN7kww/GvPKlMpnXMrjWT0pKI2ZlwX4=; b=PPFy1YI1ocbmrvOr2HXXlUWDNe9zrSdkI43bPkHzY3BMvaUXJtUfAnoN775p8w7i2v cjUSlpxwg1Q28Qay6dnpfX3wf3KPviQgtK/3cOy8O/U3EbsDe+fZz8fVxem8r1engXcx UhWi5Tl2Ep9+MBLa8Z1jBG8LoauxtdvCh27bT+9DF8wrOsglyuQIwYeVG9J5tp370401 Vs5idihumSYsTI4UupaIp79vCVVyfKSJ543SKqKusVXnYv6hTJj8q01xLXnr75C+f3XH PatGFNCKlGvFH5XoIBV6L+AQbhSyZ8bfQAcdeJ7N4k7Bnvk+WklVKXQgUyIaRuUeC3ti nu8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116092; x=1698720892; 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=lQfZjlyrH9zFpN7kww/GvPKlMpnXMrjWT0pKI2ZlwX4=; b=hP3U9byPnn7d4O7KlYBUwH9cuaHAMIGYG3rSTZh5C+SDST98ofvYAYGYOUwEji4peG 6oMVeC893/KJnDzEYpgrIkl/8nKTspJ/TT9AC6FWuUUlpsDmjD9LFGyipe8q2Ge7TisK cqFosD2ZllSqQeM2Iq2KxffCB49fgLaElllLvPjA/FRlUO+O0fngYPZeBb6Gr6ywA4Na 46/ewYRKurfA1Y8TlshKeVZZDMT0dWM3BkQ1Y4M6k+nOfvLcJk+7+eIiITcUQVkAGqkN qxRs6ASpwWXI0FNb+b5Ssv5KYmIwH4kBJCMUm5/zno4tVGOKGAzr6w0Ygr13BMbVIsmQ X46Q== X-Gm-Message-State: AOJu0YyrdG0MeQxo5128vung4g5oetuO3VzbmUC0hzN33eN/CLtNxrct NuizM3X58xWLOGyXbeNtSvgML5QfmPkxccpQJwgwDA== X-Google-Smtp-Source: AGHT+IGyZMmWjP9HG0IRyx7jkNZySI175QQek4prCrIYkqRYmAD9MgdAEIkKsADZ0kuP4cAo/B4MPw== X-Received: by 2002:a05:6a00:230b:b0:6b4:6b34:8ce0 with SMTP id h11-20020a056a00230b00b006b46b348ce0mr14234614pfh.31.1698116092440; Mon, 23 Oct 2023 19:54:52 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:51 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev , Vladimir Medvedkin Subject: [PATCH v7 21/25] ipsec: remove experimental from SA API Date: Mon, 23 Oct 2023 19:54:18 -0700 Message-Id: <20231024025422.126021-22-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These API's were added in 21.11, remove experimental flag. Signed-off-by: Stephen Hemminger Acked-by: Konstantin Ananyev --- lib/ipsec/rte_ipsec.h | 2 -- lib/ipsec/version.map | 9 +-------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/ipsec/rte_ipsec.h b/lib/ipsec/rte_ipsec.h index 04129926b69f..81624f909192 100644 --- a/lib/ipsec/rte_ipsec.h +++ b/lib/ipsec/rte_ipsec.h @@ -168,7 +168,6 @@ rte_ipsec_pkt_process(const struct rte_ipsec_session *ss, struct rte_mbuf *mb[], * @return * 0 on success, negative value otherwise. */ -__rte_experimental int rte_ipsec_telemetry_sa_add(const struct rte_ipsec_sa *sa); @@ -178,7 +177,6 @@ rte_ipsec_telemetry_sa_add(const struct rte_ipsec_sa *sa); * @param sa * Pointer to the *rte_ipsec_sa* object that will have telemetry disabled. */ -__rte_experimental void rte_ipsec_telemetry_sa_del(const struct rte_ipsec_sa *sa); diff --git a/lib/ipsec/version.map b/lib/ipsec/version.map index f0063af354f0..9d01ebeadc4c 100644 --- a/lib/ipsec/version.map +++ b/lib/ipsec/version.map @@ -16,15 +16,8 @@ DPDK_24 { rte_ipsec_sad_lookup; rte_ipsec_ses_from_crypto; rte_ipsec_session_prepare; - - local: *; -}; - -EXPERIMENTAL { - global: - - # added in 21.11 rte_ipsec_telemetry_sa_add; rte_ipsec_telemetry_sa_del; + local: *; }; From patchwork Tue Oct 24 02:54: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: 133256 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2E245431EB; Tue, 24 Oct 2023 04:56:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 84E5642E4F; Tue, 24 Oct 2023 04:55:05 +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 975C242E24 for ; Tue, 24 Oct 2023 04:54:54 +0200 (CEST) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6b77ab73c6fso2903078b3a.1 for ; Mon, 23 Oct 2023 19:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116093; x=1698720893; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2JBJD6+tpGubJY4wOvnGIPe0s+cCrgMYtTGRA+MdC3I=; b=k9pNvrfZuDbQ3t2rY2qnKS6eCwn3yyjGtDn19Ey0+IkWtcGAnE3lJAMUK1H3ls0gYc oqxx9hGs7PEs82hruPHonv17EyEoN+wWd+nM5vTCfiJuqqXjwaRpf6LnHi5A4vs9aB3X 9YO7BtjbUZoGtJCNkVJWLQ0Tf7VMUP5HMGvQZ95xPxqFwOJPzfMP2Hx+jA2o9J/f75KZ Ue891nj66v70baGfluVAXyMf0HOie4NJ4WJneA0CzkFCsdNtC7NJ24BiMG82QDOTX/PG yub5g9uOtZbuBqkiD9lC6mHjSlZkkgaY2ffufkBSSiCzKiMmWjSVL416iabX1pLT5MgI 6UqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116093; x=1698720893; 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=2JBJD6+tpGubJY4wOvnGIPe0s+cCrgMYtTGRA+MdC3I=; b=MFAqfOa1/gL6xYNfXZ0yPgMFIUJZOb+X0e8Avucnr0VJbZ/lgoyaMvAYK5ZNp89cqp MUI69hGv1/RoIQDQViEoKf+QyHHn3cCJ2BmcCZJgRseWfsklUxDY6TcXyA1BeeudkzCN R/q7rKekxbvFRGaosoRfbsCBipA91Csdeiaiy44CV0ZXUDG5+iiC6cec+58c2wpZkil7 j9pTrPw5P6HW6GdKrb5jYntOOvLrzE9RvowI+KO3d9BomEARtw+3DtgNqgWGxsSqz5bM QBsZXJDdDRSnBDhhJ7I7uPBmFIrfAzzldFafIp6DebV4xkn8Yl6NkKutjZUAlLcVbh5w NROA== X-Gm-Message-State: AOJu0YyYznZ0C5LiIwiHac/VhQOqZ5eqBLfQGFMsAkhCEFTaSm+IRDLI 7sFQJD9XTP9XcJgUw2VwkcrIIQ0ULuOYmkHXcpDYRA== X-Google-Smtp-Source: AGHT+IEl4xtq0i65t+yExcCBWNac3br+zhp9zyUKGPo2j5Uiid5SJMFDt9Db7vsC4sLU7/0lWJ9PTQ== X-Received: by 2002:a05:6a20:9187:b0:17a:eff5:fbbe with SMTP id v7-20020a056a20918700b0017aeff5fbbemr1873686pzd.8.1698116093574; Mon, 23 Oct 2023 19:54:53 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:52 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson , Thomas Monjalon , Fan Zhang , Ashish Gupta Subject: [PATCH v7 22/25] compressdev: remove experimental flag Date: Mon, 23 Oct 2023 19:54:19 -0700 Message-Id: <20231024025422.126021-23-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The compressdev was added back in 2018. Remove the experimental flag and make ABI stable. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- MAINTAINERS | 2 +- lib/compressdev/rte_comp.h | 6 ------ lib/compressdev/rte_compressdev.h | 26 -------------------------- lib/compressdev/rte_compressdev_pmd.h | 6 ------ lib/compressdev/version.map | 2 +- 5 files changed, 2 insertions(+), 40 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2f1ab5a0f328..789507ddccb7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -459,7 +459,7 @@ F: lib/security/ F: doc/guides/prog_guide/rte_security.rst F: app/test/test_security* -Compression API - EXPERIMENTAL +Compression API M: Fan Zhang M: Ashish Gupta T: git://dpdk.org/next/dpdk-next-crypto diff --git a/lib/compressdev/rte_comp.h b/lib/compressdev/rte_comp.h index bf896d07223c..232564cf5e9a 100644 --- a/lib/compressdev/rte_comp.h +++ b/lib/compressdev/rte_comp.h @@ -499,7 +499,6 @@ struct rte_comp_op { * - On success pointer to mempool * - On failure NULL */ -__rte_experimental struct rte_mempool * rte_comp_op_pool_create(const char *name, unsigned int nb_elts, unsigned int cache_size, @@ -515,7 +514,6 @@ rte_comp_op_pool_create(const char *name, * - On success returns a valid rte_comp_op structure * - On failure returns NULL */ -__rte_experimental struct rte_comp_op * rte_comp_op_alloc(struct rte_mempool *mempool); @@ -532,7 +530,6 @@ rte_comp_op_alloc(struct rte_mempool *mempool); * - nb_ops: Success, the nb_ops requested was allocated * - 0: Not enough entries in the mempool; no ops are retrieved. */ -__rte_experimental int rte_comp_op_bulk_alloc(struct rte_mempool *mempool, struct rte_comp_op **ops, uint16_t nb_ops); @@ -546,7 +543,6 @@ rte_comp_op_bulk_alloc(struct rte_mempool *mempool, * Compress operation pointer allocated from rte_comp_op_alloc() * If op is NULL, no operation is performed. */ -__rte_experimental void rte_comp_op_free(struct rte_comp_op *op); @@ -561,7 +557,6 @@ rte_comp_op_free(struct rte_comp_op *op); * @param nb_ops * Number of operations to free */ -__rte_experimental void rte_comp_op_bulk_free(struct rte_comp_op **ops, uint16_t nb_ops); @@ -574,7 +569,6 @@ rte_comp_op_bulk_free(struct rte_comp_op **ops, uint16_t nb_ops); * @return * The name of this flag, or NULL if it's not a valid feature flag. */ -__rte_experimental const char * rte_comp_get_feature_name(uint64_t flag); diff --git a/lib/compressdev/rte_compressdev.h b/lib/compressdev/rte_compressdev.h index 13a418631893..8cb5db0e3f7d 100644 --- a/lib/compressdev/rte_compressdev.h +++ b/lib/compressdev/rte_compressdev.h @@ -10,10 +10,6 @@ * * RTE Compression Device APIs. * - * @warning - * @b EXPERIMENTAL: - * All functions in this file may be changed or removed without prior notice. - * * Defines comp device APIs for the provisioning of compression operations. */ @@ -54,7 +50,6 @@ struct rte_compressdev_capabilities { #define RTE_COMP_END_OF_CAPABILITIES_LIST() \ { RTE_COMP_ALGO_UNSPECIFIED } -__rte_experimental const struct rte_compressdev_capabilities * rte_compressdev_capability_get(uint8_t dev_id, enum rte_comp_algorithm algo); @@ -94,7 +89,6 @@ rte_compressdev_capability_get(uint8_t dev_id, * @return * The name of this flag, or NULL if it's not a valid feature flag. */ -__rte_experimental const char * rte_compressdev_get_feature_name(uint64_t flag); @@ -133,7 +127,6 @@ struct rte_compressdev_stats { * - Returns compress device identifier on success. * - Return -1 on failure to find named compress device. */ -__rte_experimental int rte_compressdev_get_dev_id(const char *name); @@ -146,7 +139,6 @@ rte_compressdev_get_dev_id(const char *name); * - Returns compress device name. * - Returns NULL if compress device is not present. */ -__rte_experimental const char * rte_compressdev_name_get(uint8_t dev_id); @@ -157,7 +149,6 @@ rte_compressdev_name_get(uint8_t dev_id); * @return * - The total number of usable compress devices. */ -__rte_experimental uint8_t rte_compressdev_count(void); @@ -175,7 +166,6 @@ rte_compressdev_count(void); * @return * Returns number of attached compress devices. */ -__rte_experimental uint8_t rte_compressdev_devices_get(const char *driver_name, uint8_t *devices, uint8_t nb_devices); @@ -190,7 +180,6 @@ rte_compressdev_devices_get(const char *driver_name, uint8_t *devices, * a default of zero if the socket could not be determined. * -1 if returned is the dev_id value is out of range. */ -__rte_experimental int rte_compressdev_socket_id(uint8_t dev_id); @@ -221,7 +210,6 @@ struct rte_compressdev_config { * - 0: Success, device configured. * - <0: Error code returned by the driver configuration function. */ -__rte_experimental int rte_compressdev_configure(uint8_t dev_id, struct rte_compressdev_config *config); @@ -240,7 +228,6 @@ rte_compressdev_configure(uint8_t dev_id, * - 0: Success, device started. * - <0: Error code of the driver device start function. */ -__rte_experimental int rte_compressdev_start(uint8_t dev_id); @@ -251,7 +238,6 @@ rte_compressdev_start(uint8_t dev_id); * @param dev_id * Compress device identifier */ -__rte_experimental void rte_compressdev_stop(uint8_t dev_id); @@ -269,7 +255,6 @@ rte_compressdev_stop(uint8_t dev_id); * - 0 on successfully closing device * - <0 on failure to close device */ -__rte_experimental int rte_compressdev_close(uint8_t dev_id); @@ -296,7 +281,6 @@ rte_compressdev_close(uint8_t dev_id); * - 0: Success, queue pair correctly set up. * - <0: Queue pair configuration failed */ -__rte_experimental int rte_compressdev_queue_pair_setup(uint8_t dev_id, uint16_t queue_pair_id, uint32_t max_inflight_ops, int socket_id); @@ -309,7 +293,6 @@ rte_compressdev_queue_pair_setup(uint8_t dev_id, uint16_t queue_pair_id, * @return * - The number of configured queue pairs. */ -__rte_experimental uint16_t rte_compressdev_queue_pair_count(uint8_t dev_id); @@ -327,7 +310,6 @@ rte_compressdev_queue_pair_count(uint8_t dev_id); * - Zero if successful. * - Non-zero otherwise. */ -__rte_experimental int rte_compressdev_stats_get(uint8_t dev_id, struct rte_compressdev_stats *stats); @@ -337,7 +319,6 @@ rte_compressdev_stats_get(uint8_t dev_id, struct rte_compressdev_stats *stats); * @param dev_id * The identifier of the device. */ -__rte_experimental void rte_compressdev_stats_reset(uint8_t dev_id); @@ -355,7 +336,6 @@ rte_compressdev_stats_reset(uint8_t dev_id); * The element after the last valid element has it's op field set to * RTE_COMP_ALGO_UNSPECIFIED. */ -__rte_experimental void rte_compressdev_info_get(uint8_t dev_id, struct rte_compressdev_info *dev_info); @@ -413,7 +393,6 @@ rte_compressdev_info_get(uint8_t dev_id, struct rte_compressdev_info *dev_info); * of pointers to *rte_comp_op* structures effectively supplied to the * *ops* array. */ -__rte_experimental uint16_t rte_compressdev_dequeue_burst(uint8_t dev_id, uint16_t qp_id, struct rte_comp_op **ops, uint16_t nb_ops); @@ -468,7 +447,6 @@ rte_compressdev_dequeue_burst(uint8_t dev_id, uint16_t qp_id, * comp devices queue is full or if invalid parameters are specified in * a *rte_comp_op*. */ -__rte_experimental uint16_t rte_compressdev_enqueue_burst(uint8_t dev_id, uint16_t qp_id, struct rte_comp_op **ops, uint16_t nb_ops); @@ -496,7 +474,6 @@ rte_compressdev_enqueue_burst(uint8_t dev_id, uint16_t qp_id, * - Returns -ENOTSUP if comp device does not support the comp transform. * - Returns -ENOMEM if the private stream could not be allocated. */ -__rte_experimental int rte_compressdev_stream_create(uint8_t dev_id, const struct rte_comp_xform *xform, @@ -518,7 +495,6 @@ rte_compressdev_stream_create(uint8_t dev_id, * - Returns -ENOTSUP if comp device does not support STATEFUL operations. * - Returns -EBUSY if can't free stream as there are inflight operations */ -__rte_experimental int rte_compressdev_stream_free(uint8_t dev_id, void *stream); @@ -545,7 +521,6 @@ rte_compressdev_stream_free(uint8_t dev_id, void *stream); * - Returns -ENOTSUP if comp device does not support the comp transform. * - Returns -ENOMEM if the private_xform could not be allocated. */ -__rte_experimental int rte_compressdev_private_xform_create(uint8_t dev_id, const struct rte_comp_xform *xform, @@ -567,7 +542,6 @@ rte_compressdev_private_xform_create(uint8_t dev_id, * - <0 in error cases * - Returns -EINVAL if input parameters are invalid. */ -__rte_experimental int rte_compressdev_private_xform_free(uint8_t dev_id, void *private_xform); diff --git a/lib/compressdev/rte_compressdev_pmd.h b/lib/compressdev/rte_compressdev_pmd.h index ea012908b783..fa233492fe1f 100644 --- a/lib/compressdev/rte_compressdev_pmd.h +++ b/lib/compressdev/rte_compressdev_pmd.h @@ -59,7 +59,6 @@ struct rte_compressdev_global { * @return * - The rte_compressdev structure pointer for the given device identifier. */ -__rte_experimental struct rte_compressdev * rte_compressdev_pmd_get_named_dev(const char *name); @@ -292,7 +291,6 @@ struct rte_compressdev_ops { * @return * - Slot in the rte_dev_devices array for a new device; */ -__rte_experimental struct rte_compressdev * rte_compressdev_pmd_allocate(const char *name, int socket_id); @@ -308,7 +306,6 @@ rte_compressdev_pmd_allocate(const char *name, int socket_id); * @return * - 0 on success, negative on error */ -__rte_experimental int rte_compressdev_pmd_release_device(struct rte_compressdev *dev); @@ -331,7 +328,6 @@ rte_compressdev_pmd_release_device(struct rte_compressdev *dev); * - 0 on success * - errno on failure */ -__rte_experimental int rte_compressdev_pmd_parse_input_args( struct rte_compressdev_pmd_init_params *params, @@ -353,7 +349,6 @@ rte_compressdev_pmd_parse_input_args( * - comp device instance on success * - NULL on creation failure */ -__rte_experimental struct rte_compressdev * rte_compressdev_pmd_create(const char *name, struct rte_device *device, @@ -372,7 +367,6 @@ rte_compressdev_pmd_create(const char *name, * - 0 on success * - errno on failure */ -__rte_experimental int rte_compressdev_pmd_destroy(struct rte_compressdev *dev); diff --git a/lib/compressdev/version.map b/lib/compressdev/version.map index e2a108b6509f..fa891f669b5d 100644 --- a/lib/compressdev/version.map +++ b/lib/compressdev/version.map @@ -1,4 +1,4 @@ -EXPERIMENTAL { +DPDK_24 { global: rte_compressdev_capability_get; From patchwork Tue Oct 24 02:54: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: 133257 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 677C2431EB; Tue, 24 Oct 2023 04:56:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C6E4842E4A; Tue, 24 Oct 2023 04:55:06 +0200 (CEST) Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by mails.dpdk.org (Postfix) with ESMTP id 57AC542E2F for ; Tue, 24 Oct 2023 04:54:55 +0200 (CEST) Received: by mail-qk1-f169.google.com with SMTP id af79cd13be357-7781bc3783fso280251285a.1 for ; Mon, 23 Oct 2023 19:54:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116094; x=1698720894; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=w+iRzsZsOowUKY2CZn1yrFxWmFMaOHMkK2i7gup+DZc=; b=QyHBHEPuVmo0Nw+cDQ8HHaejGAv6X1j1PBfLLwBMuEJWg3BFxrUvilHDSTqi3hIuxx B5y5K/mMoAzw6AHvp4ws/HkNBv2WD94nlG+IdUGs0icEHx10uD0EIu22jbweykrK1aZw d9l+24nx7gTuUUcehPokfMuhYIQzOviCyYCFhOUkBOzd4wMw60lXAdY3uMc94sCrSYLn dA0g7NITL0pW3QwS2drj6OI42d0h+8txUZNCX5DvW+o4zEKQAezmgoIeAB85iyRGo2lj fRpBdf/aBRMv7fV98aTsNEGIVtBGLqJmrYdGcd0DPYWY7xAxrzTJpk8A8zL+0zLRn6fJ 0xYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116094; x=1698720894; 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=w+iRzsZsOowUKY2CZn1yrFxWmFMaOHMkK2i7gup+DZc=; b=lCNDHBLHq7cKocdrtqqMZ3qUWOHk6xhAblwQ3AVDO8o6mhBLflXEoB1dG3O7o0lDm2 R/HeahqvAW5gPOnpcwMkPQwN1BaTYHn5xXz76TLsxJMCwrLvY9+KV5kpmF9M4Zo9GZUv nLMspy9Y+nvS4FkfxjkKua/Vmyo9zCVSPK3ziZsP6nyE+vH0ZcrxHPDGM/ZShkidzmKy xQZsEyZBROz7h0WtkUK3lUJ/2T/r/tDlLljhnLGIeKkzMh+MjxjZUnghwtFHUgfFjgdn qjx/TvZi5SH3r0j8SzHZm7xOYB7PUPOiZXs2JAoIBd/qjAXNRV+qfcxu9ZwOwwTEt02U ekZA== X-Gm-Message-State: AOJu0YyM3Jl2HrTYZJFd0cBUnLt6OzCd40TXSoYDfteDiMeIJiXgNSwu rYNVCEseXpBsI+TbakTY1DQnkV61cqZBcGuc2Tie6Q== X-Google-Smtp-Source: AGHT+IFoSsmp0xv8Gwnm5Mn5pBxiahij0CcPwW2RNfYQ8aCXVS3Hjwb3pP+ypYDv3TA8rSgiBttAuw== X-Received: by 2002:a05:620a:8705:b0:774:15ad:f34c with SMTP id px5-20020a05620a870500b0077415adf34cmr9750990qkn.70.1698116094582; Mon, 23 Oct 2023 19:54:54 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:54 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Thomas Monjalon , Nithin Dabilpuram , Pavan Nikhilesh Subject: [PATCH v7 23/25] node: remove some of the experimental tags Date: Mon, 23 Oct 2023 19:54:20 -0700 Message-Id: <20231024025422.126021-24-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The node library has been around long enough that experimental tag should be removed. The IPv6 support was added in 23.03 but that is still enough time that it can be marked stable. The logtype variable should have been marked internal since it is not intended to be used outside of library. Signed-off-by: Stephen Hemminger Acked-by: Jerin Jacob --- MAINTAINERS | 2 +- lib/node/rte_node_eth_api.h | 1 - lib/node/rte_node_ip4_api.h | 2 -- lib/node/version.map | 16 ++++++++++++---- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 789507ddccb7..f6ea602da41f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1735,7 +1735,7 @@ F: app/test/test_graph* F: examples/l3fwd-graph/ F: doc/guides/sample_app_ug/l3_forward_graph.rst -Nodes - EXPERIMENTAL +Nodes M: Nithin Dabilpuram M: Pavan Nikhilesh F: lib/node/ diff --git a/lib/node/rte_node_eth_api.h b/lib/node/rte_node_eth_api.h index 40b2021f01f9..eaae50772dbe 100644 --- a/lib/node/rte_node_eth_api.h +++ b/lib/node/rte_node_eth_api.h @@ -55,7 +55,6 @@ struct rte_node_ethdev_config { * @return * 0 on successful initialization, negative otherwise. */ -__rte_experimental int rte_node_eth_config(struct rte_node_ethdev_config *cfg, uint16_t cnt, uint16_t nb_graphs); #ifdef __cplusplus diff --git a/lib/node/rte_node_ip4_api.h b/lib/node/rte_node_ip4_api.h index a84dbb3b5499..24f8ec843a27 100644 --- a/lib/node/rte_node_ip4_api.h +++ b/lib/node/rte_node_ip4_api.h @@ -82,7 +82,6 @@ struct rte_node_ip4_reassembly_cfg { * @return * 0 on success, negative otherwise. */ -__rte_experimental int rte_node_ip4_route_add(uint32_t ip, uint8_t depth, uint16_t next_hop, enum rte_node_ip4_lookup_next next_node); @@ -101,7 +100,6 @@ int rte_node_ip4_route_add(uint32_t ip, uint8_t depth, uint16_t next_hop, * @return * 0 on success, negative otherwise. */ -__rte_experimental int rte_node_ip4_rewrite_add(uint16_t next_hop, uint8_t *rewrite_data, uint8_t rewrite_len, uint16_t dst_port); diff --git a/lib/node/version.map b/lib/node/version.map index 3855569228e3..59c72ca76fd3 100644 --- a/lib/node/version.map +++ b/lib/node/version.map @@ -1,11 +1,15 @@ -EXPERIMENTAL { +DPDK_24 { global: - # added in 20.05 rte_node_eth_config; rte_node_ip4_route_add; rte_node_ip4_rewrite_add; - rte_node_logtype; + + local: *; +}; + +EXPERIMENTAL { + global: # added in 23.07 rte_node_ip6_rewrite_add; @@ -15,6 +19,10 @@ EXPERIMENTAL { rte_node_ip4_reassembly_configure; rte_node_udp4_dst_port_add; rte_node_udp4_usr_node_add; +}; - local: *; +INTERNAL { + global: + + rte_node_logtype; }; From patchwork Tue Oct 24 02:54: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: 133258 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 80B8E431EB; Tue, 24 Oct 2023 04:57:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E515542E59; Tue, 24 Oct 2023 04:55:07 +0200 (CEST) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by mails.dpdk.org (Postfix) with ESMTP id 661E242E36 for ; Tue, 24 Oct 2023 04:54:56 +0200 (CEST) Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-77896da2118so261298885a.1 for ; Mon, 23 Oct 2023 19:54:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116095; x=1698720895; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fxEnMR+/qMY6gI3fQCg2JKBAer68u5/98lSv43La7h8=; b=JYWf+ZY8bE8oYqv7oWg9ZHJAGXzt54MimF0cTrfF22ciB+mEe2jroZ3nd3Ns/3xw3r 6LkOKVYnxuKlbokWXg/VPVI5VBmzr89t5zF9y5hI2pbHiY1BJnKKeQvynvJEi3CtPm/K WQxJNEmXKT0PaytP3dZ23PTTeWjLHS9mQ+h6xq96ifCy1oNHlbYY2y2iR6M05OzrhLPv 5xgwO6/efzRHB1odennX9rfwc416fWmLWaFX5UxmSv++MQNzi9QmsIkwhTngAu5NTD/1 rxswiHgKbs6Gnowf8ZRXnywPnRsWh9JcE/1dqt1k6tJW/GWXq16tAS55yHdN0biuj3rt dsiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116095; x=1698720895; 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=fxEnMR+/qMY6gI3fQCg2JKBAer68u5/98lSv43La7h8=; b=MJPbs9mYmWoX4IORttaqY/8W1RajtV2H6OPAajlVp4p+gvuWzK/sRZoZ0wdEJrBVha zcbyZyb15cpFVJu1jfUEM8CizJPIdEyx08rJGSlIW3zLJTcKRRzZvoFW10tSMgkAxil+ IyNKmkwlpyKnaUkUzM+IL1Fl5uF7UG6G8Nx6DO1nuGJsk7uNBtELJE679i/0vj3Fsg65 8ME7r4x+/QmH3m3teIKZZYi+pHuVdohuQ4EhySAUNbDt3vEX9JpqRzyMGbFDICOXAB+H gNftGsEgR7pfZETbENkrp+tapz5SPZ0SSSqAsUISSZv/DCD46SJYmyeSM5TULp9Zd/WQ wmZg== X-Gm-Message-State: AOJu0YzuP9kJaz2mnfyASctHAYlBBt/kCscjHYL8hKkAFMIlQCNAo0Gi PDXWa1f+3uV8lrlFVZVfG7ZDAy5b8wHfw/jmGh7VaQ== X-Google-Smtp-Source: AGHT+IHBZZNdG9v3UtVyqEtDAwYzERcs2arb5+L8JqhCMuWwhMDvuX1Q1jaw1fKU/UgKnjUvdptUsg== X-Received: by 2002:a05:620a:2787:b0:776:fc7b:19a7 with SMTP id g7-20020a05620a278700b00776fc7b19a7mr9971634qkp.69.1698116095601; Mon, 23 Oct 2023 19:54:55 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:55 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Abhinandan Gujjar , Jerin Jacob , Naga Harish K S V , Erik Gabriel Carrillo Subject: [PATCH v7 24/25] eventdev: make many API's stable Date: Mon, 23 Oct 2023 19:54:21 -0700 Message-Id: <20231024025422.126021-25-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org All API's in eventdev up to 22.11 release should be made stable. Signed-off-by: Stephen Hemminger Acked-by: Jerin Jacob --- lib/eventdev/rte_event_crypto_adapter.h | 4 --- lib/eventdev/rte_event_eth_rx_adapter.h | 6 ----- lib/eventdev/rte_event_eth_tx_adapter.h | 3 --- lib/eventdev/rte_event_timer_adapter.h | 3 --- lib/eventdev/rte_eventdev.h | 4 --- lib/eventdev/version.map | 34 ++++++++++--------------- 6 files changed, 13 insertions(+), 41 deletions(-) diff --git a/lib/eventdev/rte_event_crypto_adapter.h b/lib/eventdev/rte_event_crypto_adapter.h index 4e1f1bb3a8e6..e07f159b7760 100644 --- a/lib/eventdev/rte_event_crypto_adapter.h +++ b/lib/eventdev/rte_event_crypto_adapter.h @@ -694,9 +694,6 @@ rte_event_crypto_adapter_runtime_params_get(uint8_t id, struct rte_event_crypto_adapter_runtime_params *params); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Retrieve vector limits for a given event dev and crypto dev pair. * @see rte_event_crypto_adapter_vector_limits * @@ -712,7 +709,6 @@ rte_event_crypto_adapter_runtime_params_get(uint8_t id, * - 0: Success. * - <0: Error code on failure. */ -__rte_experimental int rte_event_crypto_adapter_vector_limits_get( uint8_t dev_id, uint16_t cdev_id, struct rte_event_crypto_adapter_vector_limits *limits); diff --git a/lib/eventdev/rte_event_eth_rx_adapter.h b/lib/eventdev/rte_event_eth_rx_adapter.h index 842581e87e02..cf42c69b0d71 100644 --- a/lib/eventdev/rte_event_eth_rx_adapter.h +++ b/lib/eventdev/rte_event_eth_rx_adapter.h @@ -466,7 +466,6 @@ int rte_event_eth_rx_adapter_create(uint8_t id, uint8_t dev_id, * - 0: Success * - <0: Error code on failure */ -__rte_experimental int rte_event_eth_rx_adapter_create_with_params(uint8_t id, uint8_t dev_id, struct rte_event_port_conf *port_config, struct rte_event_eth_rx_adapter_params *rxa_params); @@ -711,7 +710,6 @@ int rte_event_eth_rx_adapter_vector_limits_get( * - 0: Success, Receive queue added correctly. * - <0: Error code on failure. */ -__rte_experimental int rte_event_eth_rx_adapter_queue_conf_get(uint8_t id, uint16_t eth_dev_id, uint16_t rx_queue_id, @@ -736,7 +734,6 @@ int rte_event_eth_rx_adapter_queue_conf_get(uint8_t id, * - 0: Success, queue buffer stats retrieved. * - <0: Error code on failure. */ -__rte_experimental int rte_event_eth_rx_adapter_queue_stats_get(uint8_t id, uint16_t eth_dev_id, @@ -759,7 +756,6 @@ rte_event_eth_rx_adapter_queue_stats_get(uint8_t id, * - 0: Success, queue buffer stats retrieved. * - <0: Error code on failure. */ -__rte_experimental int rte_event_eth_rx_adapter_queue_stats_reset(uint8_t id, uint16_t eth_dev_id, @@ -780,7 +776,6 @@ rte_event_eth_rx_adapter_queue_stats_reset(uint8_t id, * - <0: Error code on failure, if the adapter doesn't use a rte_service * function, this function returns -ESRCH. */ -__rte_experimental int rte_event_eth_rx_adapter_event_port_get(uint8_t id, uint8_t *event_port_id); @@ -801,7 +796,6 @@ rte_event_eth_rx_adapter_event_port_get(uint8_t id, uint8_t *event_port_id); * - 0: Success * - <0: Error code on failure */ -__rte_experimental int rte_event_eth_rx_adapter_instance_get(uint16_t eth_dev_id, uint16_t rx_queue_id, diff --git a/lib/eventdev/rte_event_eth_tx_adapter.h b/lib/eventdev/rte_event_eth_tx_adapter.h index 1ea9a153164d..b38b3fce979b 100644 --- a/lib/eventdev/rte_event_eth_tx_adapter.h +++ b/lib/eventdev/rte_event_eth_tx_adapter.h @@ -492,7 +492,6 @@ rte_event_eth_tx_adapter_service_id_get(uint8_t id, uint32_t *service_id); * - 0: Success * - <0: Error code on failure */ -__rte_experimental int rte_event_eth_tx_adapter_instance_get(uint16_t eth_dev_id, uint16_t tx_queue_id, @@ -527,7 +526,6 @@ rte_event_eth_tx_adapter_instance_get(uint16_t eth_dev_id, * - 0: Success * - <0: Error code on failure */ -__rte_experimental int rte_event_eth_tx_adapter_queue_start(uint16_t eth_dev_id, uint16_t tx_queue_id); @@ -546,7 +544,6 @@ rte_event_eth_tx_adapter_queue_start(uint16_t eth_dev_id, uint16_t tx_queue_id); * - 0: Success * - <0: Error code on failure */ -__rte_experimental int rte_event_eth_tx_adapter_queue_stop(uint16_t eth_dev_id, uint16_t tx_queue_id); diff --git a/lib/eventdev/rte_event_timer_adapter.h b/lib/eventdev/rte_event_timer_adapter.h index fbdddf8f91bd..686cf80a675f 100644 --- a/lib/eventdev/rte_event_timer_adapter.h +++ b/lib/eventdev/rte_event_timer_adapter.h @@ -689,9 +689,6 @@ rte_event_timer_cancel_burst(const struct rte_event_timer_adapter *adapter, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Get the number of ticks remaining until event timer expiry. * * @param adapter diff --git a/lib/eventdev/rte_eventdev.h b/lib/eventdev/rte_eventdev.h index 2ea98302b89f..ec9b02455d2e 100644 --- a/lib/eventdev/rte_eventdev.h +++ b/lib/eventdev/rte_eventdev.h @@ -785,7 +785,6 @@ rte_event_queue_attr_get(uint8_t dev_id, uint8_t queue_id, uint32_t attr_id, * - -ENOTSUP: device does not support setting the event attribute. * - <0: failed to set event queue attribute */ -__rte_experimental int rte_event_queue_attr_set(uint8_t dev_id, uint8_t queue_id, uint32_t attr_id, uint64_t attr_value); @@ -948,7 +947,6 @@ typedef void (*rte_eventdev_port_flush_t)(uint8_t dev_id, * @param args * Argument supplied to callback. */ -__rte_experimental void rte_event_port_quiesce(uint8_t dev_id, uint8_t port_id, rte_eventdev_port_flush_t release_cb, void *args); @@ -2465,7 +2463,6 @@ rte_event_dequeue_burst(uint8_t dev_id, uint8_t port_id, struct rte_event ev[], * * @see RTE_EVENT_DEV_CAP_MAINTENANCE_FREE */ -__rte_experimental static inline int rte_event_maintain(uint8_t dev_id, uint8_t port_id, int op) { @@ -2514,7 +2511,6 @@ rte_event_maintain(uint8_t dev_id, uint8_t port_id, int op) * - 0 on success. * - -EINVAL if *dev_id*, *port_id*, or *profile_id* is invalid. */ -__rte_experimental static inline uint8_t rte_event_port_profile_switch(uint8_t dev_id, uint8_t port_id, uint8_t profile_id) { diff --git a/lib/eventdev/version.map b/lib/eventdev/version.map index 42a2f7206e4e..3d5c6c2b835c 100644 --- a/lib/eventdev/version.map +++ b/lib/eventdev/version.map @@ -5,6 +5,7 @@ DPDK_24 { __rte_eventdev_trace_deq_burst; __rte_eventdev_trace_enq_burst; __rte_eventdev_trace_eth_tx_adapter_enqueue; + __rte_eventdev_trace_maintain; __rte_eventdev_trace_timer_arm_burst; __rte_eventdev_trace_timer_arm_tmo_tick_burst; __rte_eventdev_trace_timer_cancel_burst; @@ -20,6 +21,7 @@ DPDK_24 { rte_event_crypto_adapter_stats_get; rte_event_crypto_adapter_stats_reset; rte_event_crypto_adapter_stop; + rte_event_crypto_adapter_vector_limits_get; rte_event_dequeue_timeout_ticks; rte_event_dev_attr_get; rte_event_dev_close; @@ -42,9 +44,15 @@ DPDK_24 { rte_event_eth_rx_adapter_cb_register; rte_event_eth_rx_adapter_create; rte_event_eth_rx_adapter_create_ext; + rte_event_eth_rx_adapter_create_with_params; + rte_event_eth_rx_adapter_event_port_get; rte_event_eth_rx_adapter_free; + rte_event_eth_rx_adapter_instance_get; rte_event_eth_rx_adapter_queue_add; + rte_event_eth_rx_adapter_queue_conf_get; rte_event_eth_rx_adapter_queue_del; + rte_event_eth_rx_adapter_queue_stats_get; + rte_event_eth_rx_adapter_queue_stats_reset; rte_event_eth_rx_adapter_service_id_get; rte_event_eth_rx_adapter_start; rte_event_eth_rx_adapter_stats_get; @@ -56,8 +64,11 @@ DPDK_24 { rte_event_eth_tx_adapter_create_ext; rte_event_eth_tx_adapter_event_port_get; rte_event_eth_tx_adapter_free; + rte_event_eth_tx_adapter_instance_get; rte_event_eth_tx_adapter_queue_add; rte_event_eth_tx_adapter_queue_del; + rte_event_eth_tx_adapter_queue_start; + rte_event_eth_tx_adapter_queue_stop; rte_event_eth_tx_adapter_service_id_get; rte_event_eth_tx_adapter_start; rte_event_eth_tx_adapter_stats_get; @@ -68,10 +79,12 @@ DPDK_24 { rte_event_port_default_conf_get; rte_event_port_link; rte_event_port_links_get; + rte_event_port_quiesce; rte_event_port_setup; rte_event_port_unlink; rte_event_port_unlinks_in_progress; rte_event_queue_attr_get; + rte_event_queue_attr_set; rte_event_queue_default_conf_get; rte_event_queue_setup; rte_event_ring_create; @@ -100,27 +113,6 @@ DPDK_24 { EXPERIMENTAL { global: - # added in 21.11 - __rte_eventdev_trace_maintain; - rte_event_eth_rx_adapter_create_with_params; - rte_event_eth_rx_adapter_queue_conf_get; - rte_event_eth_rx_adapter_queue_stats_get; - rte_event_eth_rx_adapter_queue_stats_reset; - - # added in 22.03 - rte_event_eth_rx_adapter_event_port_get; - - # added in 22.07 - rte_event_crypto_adapter_vector_limits_get; - rte_event_port_quiesce; - rte_event_queue_attr_set; - - # added in 22.11 - rte_event_eth_rx_adapter_instance_get; - rte_event_eth_tx_adapter_instance_get; - rte_event_eth_tx_adapter_queue_start; - rte_event_eth_tx_adapter_queue_stop; - # added in 23.03 rte_event_crypto_adapter_runtime_params_get; rte_event_crypto_adapter_runtime_params_init; From patchwork Tue Oct 24 02:54: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: 133259 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2B6CD431EB; Tue, 24 Oct 2023 04:57:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C11342E5E; Tue, 24 Oct 2023 04:55:09 +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 8FCFA402E4 for ; Tue, 24 Oct 2023 04:54:57 +0200 (CEST) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6b77ab73c6fso2903106b3a.1 for ; Mon, 23 Oct 2023 19:54:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116096; x=1698720896; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DxE+zE3JKUDP7sSWJNABBC6brETUnucItdrA1SaTFvQ=; b=Rss1L+nhGTbwK75rMyidWLeT8kux2XEHQu3FPE9BX9rk3ak+81t/xsTYkQ0Mos6DV4 Zn3rWpA1FjLb5H/d6adziAIyasyG+KHByZ/6EM35tdwp36zRFqLTl0LijqPxvurYXYHb YP7OvPBE1nx5gksTfUiBYS5dYxeDWfkC5Jhd+sbkLORnGdzmqNEkbLVLrJN0a2enZC9V YrHLENnNjwe0VPtzLoFv6RcDRAOFs47ezXtB/4SLSGyOSujLPSfl/PhapRJUrbXSzuza JOVpIBp+HgqM8JD+J8yBInGBPC/HArCVTMhJvQ6AWYUGtN+M5i+1UP5eUmpAapiWoF+5 2rsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116096; x=1698720896; 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=DxE+zE3JKUDP7sSWJNABBC6brETUnucItdrA1SaTFvQ=; b=KB2dn1cn2ICHkR86HWd16y05NKqTJ8QAyjoQkX2vP3Uqr5s26gt0feZz+b2PQiTTwt AGpg2US9dgXLaSddzgwY0SL5/t/zLtcHjHVy9oOLBvHarFbk7RT2tAqLyalDd+fORq+3 UwwiK/gGZ8Pi4iKqi0PMPayuz4t8GCvMeQpu9JhfgZSXJ1s4w5X4wZnWzB81OIb+PBFM pIrLGsp5ZdHMaXTDfYCw/4S9jzmBgw4YvnHT+aMuccrgkqk/eguE7GCDWJKHtJkhApf6 FJKxQv+tmVOg7FS5EniJuT3Mipe6am/CLzMbj/sua1eT2FoNqU/yo0OV3D7QASR6IwQl gE7Q== X-Gm-Message-State: AOJu0YwurUGtZj+trokCuTqkXFb/KfdWrZQe/OIhXldNApG/filj7JDe EjfNDy2FjDC6hm8d48rbg17nuPTBDEvIT6kinTheJQ== X-Google-Smtp-Source: AGHT+IE3hq2s05fBVzSxXFNI/eEYS0/cM94cF1pRp5ylWZXdDsxBXNN6DgU/nBqYfdM0k6uUbhdRFA== X-Received: by 2002:a05:6a00:4c86:b0:6bf:15fb:4b32 with SMTP id eb6-20020a056a004c8600b006bf15fb4b32mr16802091pfb.8.1698116096503; Mon, 23 Oct 2023 19:54:56 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:56 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Akhil Goyal , Fan Zhang Subject: [PATCH v7 25/25] cryptodev: mark older API's stable Date: Mon, 23 Oct 2023 19:54:22 -0700 Message-Id: <20231024025422.126021-26-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org All the cryptodev API's from 2022 backwards should be stable at this point. Signed-off-by: Stephen Hemminger --- lib/cryptodev/rte_cryptodev.h | 31 -------------- lib/cryptodev/version.map | 77 +++++++++++++++-------------------- 2 files changed, 32 insertions(+), 76 deletions(-) diff --git a/lib/cryptodev/rte_cryptodev.h b/lib/cryptodev/rte_cryptodev.h index be0698ce9fc6..aa5b5529f44c 100644 --- a/lib/cryptodev/rte_cryptodev.h +++ b/lib/cryptodev/rte_cryptodev.h @@ -257,7 +257,6 @@ rte_cryptodev_sym_capability_get(uint8_t dev_id, * - Return description of the asymmetric crypto capability if exist. * - Return NULL if the capability not exist. */ -__rte_experimental const struct rte_cryptodev_asymmetric_xform_capability * rte_cryptodev_asym_capability_get(uint8_t dev_id, const struct rte_cryptodev_asym_capability_idx *idx); @@ -327,7 +326,6 @@ rte_cryptodev_sym_capability_check_aead( * - Return 1 if the op type is supported * - Return 0 if unsupported */ -__rte_experimental int rte_cryptodev_asym_xform_capability_check_optype( const struct rte_cryptodev_asymmetric_xform_capability *capability, @@ -343,7 +341,6 @@ rte_cryptodev_asym_xform_capability_check_optype( * - Return 0 if the parameters are in range of the capability. * - Return -1 if the parameters are out of range of the capability. */ -__rte_experimental int rte_cryptodev_asym_xform_capability_check_modlen( const struct rte_cryptodev_asymmetric_xform_capability *capability, @@ -359,7 +356,6 @@ rte_cryptodev_asym_xform_capability_check_modlen( * - Return true if the hash algorithm is supported. * - Return false if the hash algorithm is not supported. */ -__rte_experimental bool rte_cryptodev_asym_xform_capability_check_hash( const struct rte_cryptodev_asymmetric_xform_capability *capability, @@ -421,7 +417,6 @@ rte_cryptodev_get_aead_algo_enum(enum rte_crypto_aead_algorithm *algo_enum, * - Return -1 if string is not valid * - Return 0 if the string is valid */ -__rte_experimental int rte_cryptodev_asym_get_xform_enum(enum rte_crypto_asym_xform_type *xform_enum, const char *xform_string); @@ -860,7 +855,6 @@ rte_cryptodev_queue_pair_setup(uint8_t dev_id, uint16_t queue_pair_id, * - 1: qp was configured * - -EINVAL: device was not configured */ -__rte_experimental int rte_cryptodev_get_qp_status(uint8_t dev_id, uint16_t queue_pair_id); @@ -1039,7 +1033,6 @@ rte_cryptodev_get_sec_ctx(uint8_t dev_id); * - On success returns the created session mempool pointer * - On failure returns NULL */ -__rte_experimental struct rte_mempool * rte_cryptodev_sym_session_pool_create(const char *name, uint32_t nb_elts, uint32_t elt_size, uint32_t cache_size, uint16_t priv_size, @@ -1066,7 +1059,6 @@ rte_cryptodev_sym_session_pool_create(const char *name, uint32_t nb_elts, * - On success return mempool * - On failure returns NULL */ -__rte_experimental struct rte_mempool * rte_cryptodev_asym_session_pool_create(const char *name, uint32_t nb_elts, uint32_t cache_size, uint16_t user_data_size, int socket_id); @@ -1108,7 +1100,6 @@ rte_cryptodev_sym_session_create(uint8_t dev_id, * - -ENOMEM on memory error for session allocation. * - -ENOTSUP if device doesn't support session configuration. */ -__rte_experimental int rte_cryptodev_asym_session_create(uint8_t dev_id, struct rte_crypto_asym_xform *xforms, struct rte_mempool *mp, @@ -1141,7 +1132,6 @@ rte_cryptodev_sym_session_free(uint8_t dev_id, * - 0 if successful. * - -EINVAL if device is invalid or session is NULL. */ -__rte_experimental int rte_cryptodev_asym_session_free(uint8_t dev_id, void *sess); @@ -1151,7 +1141,6 @@ rte_cryptodev_asym_session_free(uint8_t dev_id, void *sess); * @return * Size of the asymmetric header session. */ -__rte_experimental unsigned int rte_cryptodev_asym_get_header_session_size(void); @@ -1179,7 +1168,6 @@ rte_cryptodev_sym_get_private_session_size(uint8_t dev_id); * - Size of the asymmetric private data, if successful * - 0 if device is invalid or does not have private session */ -__rte_experimental unsigned int rte_cryptodev_asym_get_private_session_size(uint8_t dev_id); @@ -1226,7 +1214,6 @@ const char *rte_cryptodev_driver_name_get(uint8_t driver_id); * - On success, zero. * - On failure, a negative value. */ -__rte_experimental int rte_cryptodev_sym_session_set_user_data(void *sess, void *data, @@ -1263,7 +1250,6 @@ rte_cryptodev_sym_session_opaque_data_set(void *sess, uint64_t opaque) * - On success return pointer to user data. * - On failure returns NULL. */ -__rte_experimental void * rte_cryptodev_sym_session_get_user_data(void *sess); @@ -1280,7 +1266,6 @@ rte_cryptodev_sym_session_get_user_data(void *sess); * - -EINVAL if the session pointer is invalid. * - -ENOMEM if the available user data size is smaller than the size parameter. */ -__rte_experimental int rte_cryptodev_asym_session_set_user_data(void *sess, void *data, uint16_t size); @@ -1294,7 +1279,6 @@ rte_cryptodev_asym_session_set_user_data(void *sess, void *data, uint16_t size); * - On success return pointer to user data. * - On failure returns NULL. */ -__rte_experimental void * rte_cryptodev_asym_session_get_user_data(void *sess); @@ -1310,7 +1294,6 @@ rte_cryptodev_asym_session_get_user_data(void *sess); * @return * - Returns number of successfully processed packets. */ -__rte_experimental uint32_t rte_cryptodev_sym_cpu_crypto_process(uint8_t dev_id, void *sess, union rte_crypto_sym_ofs ofs, @@ -1325,7 +1308,6 @@ rte_cryptodev_sym_cpu_crypto_process(uint8_t dev_id, * - If the device supports raw data-path APIs, return the context size. * - If the device does not support the APIs, return -1. */ -__rte_experimental int rte_cryptodev_get_raw_dp_ctx_size(uint8_t dev_id); @@ -1344,7 +1326,6 @@ rte_cryptodev_get_raw_dp_ctx_size(uint8_t dev_id); * - On success, zero. * - On failure, a negative value. */ -__rte_experimental int rte_cryptodev_session_event_mdata_set(uint8_t dev_id, void *sess, enum rte_crypto_op_type op_type, @@ -1570,7 +1551,6 @@ struct rte_crypto_raw_dp_ctx { * - -ENOTSUP if crypto device does not support raw DP operations with the * provided session. */ -__rte_experimental int rte_cryptodev_configure_raw_dp_ctx(uint8_t dev_id, uint16_t qp_id, struct rte_crypto_raw_dp_ctx *ctx, @@ -1602,7 +1582,6 @@ rte_cryptodev_configure_raw_dp_ctx(uint8_t dev_id, uint16_t qp_id, * cached into the queue but not enqueued yet, depends on the * "enqueue_status" value. */ -__rte_experimental uint32_t rte_cryptodev_raw_enqueue_burst(struct rte_crypto_raw_dp_ctx *ctx, struct rte_crypto_sym_vec *vec, union rte_crypto_sym_ofs ofs, @@ -1652,7 +1631,6 @@ rte_cryptodev_raw_enqueue(struct rte_crypto_raw_dp_ctx *ctx, * - On success return 0. * - On failure return negative integer. */ -__rte_experimental int rte_cryptodev_raw_enqueue_done(struct rte_crypto_raw_dp_ctx *ctx, uint32_t n); @@ -1698,7 +1676,6 @@ rte_cryptodev_raw_enqueue_done(struct rte_crypto_raw_dp_ctx *ctx, * - The number of operations dequeued or completed but not freed from the * queue, depends on "dequeue_status" value. */ -__rte_experimental uint32_t rte_cryptodev_raw_dequeue_burst(struct rte_crypto_raw_dp_ctx *ctx, rte_cryptodev_raw_get_dequeue_count_t get_dequeue_count, @@ -1748,7 +1725,6 @@ rte_cryptodev_raw_dequeue(struct rte_crypto_raw_dp_ctx *ctx, * - On success return 0. * - On failure return negative integer. */ -__rte_experimental int rte_cryptodev_raw_dequeue_done(struct rte_crypto_raw_dp_ctx *ctx, uint32_t n); @@ -1788,8 +1764,6 @@ rte_cryptodev_raw_dequeue_done(struct rte_crypto_raw_dp_ctx *ctx, * - On success, a pointer value which can later be used to remove the * callback. */ - -__rte_experimental struct rte_cryptodev_cb * rte_cryptodev_add_enq_callback(uint8_t dev_id, uint16_t qp_id, @@ -1817,8 +1791,6 @@ rte_cryptodev_add_enq_callback(uint8_t dev_id, * - <0: The dev_id or the qp_id is out of range, or the callback * is NULL or not found for the crypto device queue pair. */ - -__rte_experimental int rte_cryptodev_remove_enq_callback(uint8_t dev_id, uint16_t qp_id, struct rte_cryptodev_cb *cb); @@ -1857,8 +1829,6 @@ int rte_cryptodev_remove_enq_callback(uint8_t dev_id, * - On success, a pointer value which can later be used to remove the * callback. */ - -__rte_experimental struct rte_cryptodev_cb * rte_cryptodev_add_deq_callback(uint8_t dev_id, uint16_t qp_id, @@ -1886,7 +1856,6 @@ rte_cryptodev_add_deq_callback(uint8_t dev_id, * - <0: The dev_id or the qp_id is out of range, or the callback * is NULL or not found for the crypto device queue pair. */ -__rte_experimental int rte_cryptodev_remove_deq_callback(uint8_t dev_id, uint16_t qp_id, struct rte_cryptodev_cb *cb); diff --git a/lib/cryptodev/version.map b/lib/cryptodev/version.map index 208919b81950..c39199be54f5 100644 --- a/lib/cryptodev/version.map +++ b/lib/cryptodev/version.map @@ -1,15 +1,34 @@ DPDK_24 { global: + __rte_cryptodev_trace_dequeue_burst; + __rte_cryptodev_trace_enqueue_burst; rte_crypto_aead_operation_strings; + rte_crypto_asym_ke_strings; + rte_crypto_asym_op_strings; rte_crypto_auth_operation_strings; rte_crypto_cipher_operation_strings; rte_crypto_fp_ops; rte_crypto_op_pool_create; + rte_cryptodev_add_deq_callback; + rte_cryptodev_add_enq_callback; + rte_cryptodev_asym_capability_get; + rte_cryptodev_asym_get_header_session_size; + rte_cryptodev_asym_get_private_session_size; + rte_cryptodev_asym_get_xform_enum; + rte_cryptodev_asym_session_create; + rte_cryptodev_asym_session_free; + rte_cryptodev_asym_session_get_user_data; + rte_cryptodev_asym_session_pool_create; + rte_cryptodev_asym_session_set_user_data; + rte_cryptodev_asym_xform_capability_check_hash; + rte_cryptodev_asym_xform_capability_check_modlen; + rte_cryptodev_asym_xform_capability_check_optype; rte_cryptodev_callback_register; rte_cryptodev_callback_unregister; rte_cryptodev_close; rte_cryptodev_configure; + rte_cryptodev_configure_raw_dp_ctx; rte_cryptodev_count; rte_cryptodev_device_count_by_driver; rte_cryptodev_devices_get; @@ -20,12 +39,21 @@ DPDK_24 { rte_cryptodev_get_cipher_algo_enum; rte_cryptodev_get_dev_id; rte_cryptodev_get_feature_name; + rte_cryptodev_get_qp_status; + rte_cryptodev_get_raw_dp_ctx_size; rte_cryptodev_get_sec_ctx; rte_cryptodev_info_get; rte_cryptodev_is_valid_dev; rte_cryptodev_name_get; rte_cryptodev_queue_pair_count; rte_cryptodev_queue_pair_setup; + rte_cryptodev_raw_dequeue_burst; + rte_cryptodev_raw_dequeue_done; + rte_cryptodev_raw_enqueue_burst; + rte_cryptodev_raw_enqueue_done; + rte_cryptodev_remove_deq_callback; + rte_cryptodev_remove_enq_callback; + rte_cryptodev_session_event_mdata_set; rte_cryptodev_socket_id; rte_cryptodev_start; rte_cryptodev_stats_get; @@ -35,9 +63,13 @@ DPDK_24 { rte_cryptodev_sym_capability_check_auth; rte_cryptodev_sym_capability_check_cipher; rte_cryptodev_sym_capability_get; + rte_cryptodev_sym_cpu_crypto_process; rte_cryptodev_sym_get_private_session_size; rte_cryptodev_sym_session_create; rte_cryptodev_sym_session_free; + rte_cryptodev_sym_session_get_user_data; + rte_cryptodev_sym_session_pool_create; + rte_cryptodev_sym_session_set_user_data; local: *; }; @@ -45,51 +77,6 @@ DPDK_24 { EXPERIMENTAL { global: - rte_cryptodev_asym_capability_get; - rte_cryptodev_asym_get_header_session_size; - rte_cryptodev_asym_get_private_session_size; - rte_cryptodev_asym_get_xform_enum; - rte_cryptodev_asym_session_create; - rte_cryptodev_asym_session_free; - rte_cryptodev_asym_xform_capability_check_hash; - rte_cryptodev_asym_xform_capability_check_modlen; - rte_cryptodev_asym_xform_capability_check_optype; - rte_cryptodev_sym_cpu_crypto_process; - rte_cryptodev_sym_session_get_user_data; - rte_cryptodev_sym_session_pool_create; - rte_cryptodev_sym_session_set_user_data; - rte_crypto_asym_op_strings; - - # added in 20.05 - __rte_cryptodev_trace_dequeue_burst; - __rte_cryptodev_trace_enqueue_burst; - - # added in 20.08 - rte_cryptodev_get_qp_status; - - # added in 20.11 - rte_cryptodev_configure_raw_dp_ctx; - rte_cryptodev_get_raw_dp_ctx_size; - rte_cryptodev_raw_dequeue_burst; - rte_cryptodev_raw_dequeue_done; - rte_cryptodev_raw_enqueue_burst; - rte_cryptodev_raw_enqueue_done; - - # added in 21.02 - rte_cryptodev_add_deq_callback; - rte_cryptodev_add_enq_callback; - rte_cryptodev_remove_deq_callback; - rte_cryptodev_remove_enq_callback; - - # added in 22.03 - rte_cryptodev_asym_session_get_user_data; - rte_cryptodev_asym_session_pool_create; - rte_cryptodev_asym_session_set_user_data; - - # added in 22.07 - rte_cryptodev_session_event_mdata_set; - rte_crypto_asym_ke_strings; - # added in 23.03 rte_cryptodev_asym_get_xform_string; rte_cryptodev_get_aead_algo_string;