From patchwork Thu Oct 19 16:55:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 132994 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4E8C0431AE; Thu, 19 Oct 2023 18:57:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C293C42D68; Thu, 19 Oct 2023 18:56:21 +0200 (CEST) Received: from mail-oo1-f44.google.com (mail-oo1-f44.google.com [209.85.161.44]) by mails.dpdk.org (Postfix) with ESMTP id 40FE640EE7 for ; Thu, 19 Oct 2023 18:56:16 +0200 (CEST) Received: by mail-oo1-f44.google.com with SMTP id 006d021491bc7-57babef76deso4532147eaf.0 for ; Thu, 19 Oct 2023 09:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697734575; x=1698339375; 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=WVxNoAbvGCJetgrLJGtQ4huD7BOgLA3F+IbO8GNpKuWGt4d8VYLY6a7gzpGRFXo7hI 0/X7cOSB5naBU1eCeGjiK4bqLmXmiS7AqsuDHcYUK0bnTTAxsEJeq0qVCLV6iYXXJ3vd kSMAE4gM0gIswl1da+VboIQWktKVfrcZ1QOeayF3ifBZm2BsiVCPFkrUUR7lBq4h9lqo EbklluJVjRifgt/740aWTd5Mf3zA+oyuy776Iv7LljVv5Q2HZf8v+NyVI9axGTLG8U+Z 1EkpzHX0z5LVDmj2OrAfUDrvrCHRtLkFaFCxFMJaaxQx1lwBVZwEEI7D516B582VnDFV wm3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697734575; x=1698339375; 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=wMS6wG8B+1Ai9/ac+2A5DqRmr2iUiZfx/LB8CsiknqCTlAIawl5OO4goXYWgEyqvTm xoaOcESzUoymEzPGWGBxfuc87KtfOeKZkH/jHDLYKErqXgzUKKO4dwuuLLoT6sc9FZJn prTJzp/KX0ckJmwyuT0hp4Cpeof+IUb9KXEoTRcf64toC6/8kgzCAXs+gsGWa5UIDb0P Ua+fLn+hfDVx0pRQB0iFe1IQMlzfRke5U0IMCzqAKGSRU9C0ZTJXERPHcoIrXTBOv89Z PZ6ichQv1M1uSC4POURytxpuYlRQ/EMskj3VBfNOaquwgLQ6uWmJaoP4dYxYqYobgg6W peKQ== X-Gm-Message-State: AOJu0YyurCdmrVDkoTAunXLfcrIZYCWj/b/N7qo8FCcVWBVmSqzQmc9d Qd575c3/SpOB0PIht5EtCupRQ6Q+sJILqQFu4g0Bnw== X-Google-Smtp-Source: AGHT+IHc2NtOdLzOeQXw/4tSzfankDtmU9kkWk4XdWLUtE6x7uvcplQksjNTfNQljUGJJkPqs89yKA== X-Received: by 2002:a05:6358:ca6:b0:14f:d52:39cb with SMTP id o38-20020a0563580ca600b0014f0d5239cbmr2880836rwj.26.1697734575292; Thu, 19 Oct 2023 09:56:15 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id y22-20020aa79436000000b00672ea40b8a9sm13988pfo.170.2023.10.19.09.56.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 09:56:14 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v3 07/29] net: remove experimental from functions Date: Thu, 19 Oct 2023 09:55:36 -0700 Message-Id: <20231019165559.115742-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231019165559.115742-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231019165559.115742-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) {