From patchwork Fri Oct 20 20:57:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133084 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 6E174431BE; Fri, 20 Oct 2023 22:59:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90F4C40DF8; Fri, 20 Oct 2023 22:58:19 +0200 (CEST) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id 6590C40A8B for ; Fri, 20 Oct 2023 22:58:16 +0200 (CEST) Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-1c77449a6daso10434825ad.0 for ; Fri, 20 Oct 2023 13:58:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697835495; x=1698440295; 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=K1ykgP3TSo88O6aefYRlqwkoDhyKh8+KAARuCq1JOBI1TZHbkkYAfBuuLDUrdBeYQT g0J8fA7XmYf5beTVwmK13CTCxkXXb6byCgXPU6D1cVQT1p1Z97EU7fhJtWgyJ9GRm70u YKEmL3UiAb2acVcpmEO8H96Bi5AwAVYZNVditt/90sGulTLL+8Nf+tsbrK7sxLePZiZz xhNn4kaXZQFGC1fwx9fp4RvdLx4LL4Lc1ac0M+zO0p+RfelgHMQtpjvyBZ0rL5AYSeYu EwqYmqA4rzWmdkSJ6+zqaEZRz7TeJTWzcDThwnizLZfJa1RGF54Aq2YqCla4jU1tcIp4 SbpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697835495; x=1698440295; 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=Uv+XTf7zBXw7HlvqOWstdko3HV4nKukTHXiwgS+d3kYiguq2V+HJyY44Ai3Yoaeqb1 6L8GEAGa1QUdxsXoAxzkoUP4GpWUh/ElkszD3FF5gVQB1zQ1jA6HC1axYXDCidhxOC+3 w9nKmvHY+MrQP75L+KoYG8JQOYJhWRlEiOoJE5BdiSqoYZdh+7zxSZ0vv7m8JBi6zIcO MWMldsK/1tyGegBksmlUbw/4BwzRpfsDuhmqPfRPn7g0cn7eklicAV7gkHygnGF9oHxn oy9yXacDT3ZVHfsCPgyqCoQ54rHSK5bF7geAxODtzvfd1HsjMPTI3jE7L+zLxAiXieuh FsWQ== X-Gm-Message-State: AOJu0YwK+QS7RIfrcUnZgZbOv4Cphvoh2BtZ8Nsd9qrgoSvJmFtfIrD+ 0hOsleOQU+EC4E2cONT0JAtodZvY/0Zm8uR2BJL4Lw== X-Google-Smtp-Source: AGHT+IECEG/2onPZWS7ufDmKSv/HsAMmu3CcoLcwib37/hBJ0Z2zeOI0q94PDnB5x5PWWAAZAy06xA== X-Received: by 2002:a17:903:2301:b0:1c9:d940:78ea with SMTP id d1-20020a170903230100b001c9d94078eamr3933220plh.22.1697835495399; Fri, 20 Oct 2023 13:58:15 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id u17-20020a170902e5d100b001c61512f2a6sm1930961plf.220.2023.10.20.13.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 13:58:14 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v5 06/26] net: remove experimental from functions Date: Fri, 20 Oct 2023 13:57:39 -0700 Message-Id: <20231020205759.195126-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020205759.195126-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231020205759.195126-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) {