From patchwork Wed Aug 9 00:09:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129972 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 CA38543011; Wed, 9 Aug 2023 02:11:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 71CF24327B; Wed, 9 Aug 2023 02:10:38 +0200 (CEST) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mails.dpdk.org (Postfix) with ESMTP id DF5604326E for ; Wed, 9 Aug 2023 02:10:35 +0200 (CEST) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1bbc64f9a91so53435965ad.0 for ; Tue, 08 Aug 2023 17:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691539835; x=1692144635; 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=vi2yqnEvResnc/kSuNXzYMg3rdoESihFb1szOyP2uKBBBOb2SeCCUwyUe3Mz1/+1d3 rn/iiD4v/dWaT7f5pGnkgJ4oBzJa0zgrYtRh+DVKp84GAI4jHetEnJbddaTngQmNb7mB Bm1SdALv1Wfm1Cus15R1UyW30Vw80q6hoZIrIzfNC1rWsmzPS0bT+NaQYLDsNrrEmk2Q oYWqZvTFlRJOn2SC/6GoC+vg9CszhyWgjiWdSl3xRHOwBr9zOfM8xMYcmNtTqT31qRRP eb8iapdgePllgZUyhtCPBGPCsVcrH8alGwoWLgnJjdu7Tm1Y6S7Rwn+SFnfZ5jDdDoPN /H5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691539835; x=1692144635; 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=AbBsI9eNz1LAmcEHFsewOQJb2SCkqFqKSxNwkQK1S93Ea3BDrL6m5WvjSUm/DMAXVu 4wjVa7vI0qNDonBptfHl1i/FLJWymn+W/wZlgJZCxhaUTZqUXy/mN67Q1qcrQr9RzXAA VVAF0/5DZxjqz7GjhXTQwHxsoxvkslza0qJ8Uk9MCxufdDlVKuvlymQY6z33H4jROf5a PhlJM8yqQ8jcqMvdYAM1H2DHjvd4DbtqgIyKXRUmSkaKt5dRqUoa+/aN95VNc7yJVZp9 2nhC49bxibSmVZf/ewF85SgD/6d++XhtsNjGMdstduU2jOfINB1fTmut84zhZ/uihNld L+rg== X-Gm-Message-State: AOJu0YwsGDfeqJj0OLMLgnaYlzdB6oU8uU20rrn5j49BGs9+LRQwJUH2 PlJw5mMSlA0h9iXkVoTHs7VhInFigG2OvXiSb25b/g== X-Google-Smtp-Source: AGHT+IGJYPSIgwACsDZ3QO1MRJpHqHgF8WxnyELoEwEyHp0TgQW0jP1PNeD/9XxEBLegUNKy0Nmf6g== X-Received: by 2002:a17:902:8c95:b0:1bc:6c8:cde3 with SMTP id t21-20020a1709028c9500b001bc06c8cde3mr1144231plo.57.1691539834886; Tue, 08 Aug 2023 17:10:34 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id ix11-20020a170902f80b00b001bc676df6a9sm5745629plb.132.2023.08.08.17.10.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 17:10:34 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Olivier Matz Subject: [PATCH v2 07/29] net: remove experimental from functions Date: Tue, 8 Aug 2023 17:09:55 -0700 Message-Id: <20230809001017.293037-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809001017.293037-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20230809001017.293037-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) {