From patchwork Tue Aug 8 17:35:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 129952 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5B9DB4300E; Tue, 8 Aug 2023 19:36:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 218C643279; Tue, 8 Aug 2023 19:35:49 +0200 (CEST) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mails.dpdk.org (Postfix) with ESMTP id 9AF9143270 for ; Tue, 8 Aug 2023 19:35:46 +0200 (CEST) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6874d1c8610so4306103b3a.0 for ; Tue, 08 Aug 2023 10:35:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516145; x=1692120945; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rdqv51WdYGvDiP0cM6CHV22vpKs83M/1NA3xX1G+S1w=; b=VX17bHxDt7YU7zi0tVr3ItTgrm461hZg51Y1U7kpftvb9SzWIiz8t5ujoLKpp0sGVo AUuFMzTxWfBHTlZxhVvSioy1jRdCWJ4aykTb8tyjd7+LaPEiAjw/JHHiIhhQtrZz6n1X JepIUsPmvYuLuieonuthDODqocQs7kIy/3MRxp1smd9eo0mMAcHkTTw5oVqTWRz6zV3H j064WxuSsXK0wG3xtBI1pC4VDRXID431zJJ6c4KC1XqPtb/yo8fEiLyCeCS2wxOoV5gb PgKRwgxxTfaGPD3VMJLtcdCA3+fsJhaleQD8yLp0c4S1sXDEuTRBQFY9rEvEElzPW4VI nzBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516145; x=1692120945; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rdqv51WdYGvDiP0cM6CHV22vpKs83M/1NA3xX1G+S1w=; b=jPGKQ8GEXqwlIyYgR0Ihrj74VfXcqY25x7zgLO8siy4xTQR4gwT2A9PjZ5ixZhA+/r pmopRdsagUToC7KwaJtcgpBwoSHg7YPhRm59L1/RPDgUCTK8F5SavDQx4ZaK/AUHxrol Dd9rvq4HYS5FMlx2dqC1QzMlaYHXJpUelybZ1MBQRz+TYALeNYe54LJJiwL/oXJm+jHT wnLyH3AtQZuzVBMIUMTgqiyavBGAFycJbddfMXnFhlrC/Dac1ct0uccsQKpibBmVwbpZ BEyeakiKYQWs0lhBTd9FQXwzaqiTdd+RFsnZC53WqhfgDbN0aiBAHmKCoIBzuO+DJi/j LVMg== X-Gm-Message-State: AOJu0Yw02+77eZMpleGr7J7+fy0pV8H4IURWlJMm03yhLHDYoMEwQC9X 2sjoLaDrjIGNQXEmsmaONPVn7rm5FLr72f8bntAK/A== X-Google-Smtp-Source: AGHT+IFdsAI/Ep5CMMe+/2+HOTpf2UDDmff9dAzZqodfdmmhRnEB8+O8huZNMEShepYUGndlEZ3uVA== X-Received: by 2002:a05:6a00:16cd:b0:682:759c:644d with SMTP id l13-20020a056a0016cd00b00682759c644dmr176487pfc.27.1691516145573; Tue, 08 Aug 2023 10:35:45 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:45 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Olivier Matz Subject: [PATCH 07/20] net: remove experimental from functions Date: Tue, 8 Aug 2023 10:35:14 -0700 Message-Id: <20230808173527.186042-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These functions have been around long enough should no longer be experimental. Signed-off-by: Stephen Hemminger --- lib/net/rte_ip.h | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/lib/net/rte_ip.h b/lib/net/rte_ip.h index 7f58dc6f6a9c..2cb5be222cdd 100644 --- a/lib/net/rte_ip.h +++ b/lib/net/rte_ip.h @@ -435,9 +435,6 @@ __rte_ipv4_udptcp_cksum_mbuf(const struct rte_mbuf *m, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Compute the IPv4 UDP/TCP checksum of a packet. * * @param m @@ -449,7 +446,6 @@ __rte_ipv4_udptcp_cksum_mbuf(const struct rte_mbuf *m, * @return * The complemented checksum to set in the L4 header. */ -__rte_experimental static inline uint16_t rte_ipv4_udptcp_cksum_mbuf(const struct rte_mbuf *m, const struct rte_ipv4_hdr *ipv4_hdr, uint16_t l4_off) @@ -482,7 +478,6 @@ rte_ipv4_udptcp_cksum_mbuf(const struct rte_mbuf *m, * @return * Return 0 if the checksum is correct, else -1. */ -__rte_experimental static inline int rte_ipv4_udptcp_cksum_verify(const struct rte_ipv4_hdr *ipv4_hdr, const void *l4_hdr) @@ -496,9 +491,6 @@ rte_ipv4_udptcp_cksum_verify(const struct rte_ipv4_hdr *ipv4_hdr, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Verify the IPv4 UDP/TCP checksum of a packet. * * In case of UDP, the caller must first check if udp_hdr->dgram_cksum is 0 @@ -513,7 +505,6 @@ rte_ipv4_udptcp_cksum_verify(const struct rte_ipv4_hdr *ipv4_hdr, * @return * Return 0 if the checksum is correct, else -1. */ -__rte_experimental static inline int rte_ipv4_udptcp_cksum_mbuf_verify(const struct rte_mbuf *m, const struct rte_ipv4_hdr *ipv4_hdr, @@ -687,9 +678,6 @@ __rte_ipv6_udptcp_cksum_mbuf(const struct rte_mbuf *m, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Process the IPv6 UDP or TCP checksum of a packet. * * The IPv6 header must not be followed by extension headers. The layer 4 @@ -704,7 +692,6 @@ __rte_ipv6_udptcp_cksum_mbuf(const struct rte_mbuf *m, * @return * The complemented checksum to set in the L4 header. */ -__rte_experimental static inline uint16_t rte_ipv6_udptcp_cksum_mbuf(const struct rte_mbuf *m, const struct rte_ipv6_hdr *ipv6_hdr, uint16_t l4_off) @@ -738,7 +725,6 @@ rte_ipv6_udptcp_cksum_mbuf(const struct rte_mbuf *m, * @return * Return 0 if the checksum is correct, else -1. */ -__rte_experimental static inline int rte_ipv6_udptcp_cksum_verify(const struct rte_ipv6_hdr *ipv6_hdr, const void *l4_hdr) @@ -752,9 +738,6 @@ rte_ipv6_udptcp_cksum_verify(const struct rte_ipv6_hdr *ipv6_hdr, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Validate the IPv6 UDP or TCP checksum of a packet. * * In case of UDP, the caller must first check if udp_hdr->dgram_cksum is 0: @@ -770,7 +753,6 @@ rte_ipv6_udptcp_cksum_verify(const struct rte_ipv6_hdr *ipv6_hdr, * @return * Return 0 if the checksum is correct, else -1. */ -__rte_experimental static inline int rte_ipv6_udptcp_cksum_mbuf_verify(const struct rte_mbuf *m, const struct rte_ipv6_hdr *ipv6_hdr, @@ -825,7 +807,6 @@ struct rte_ipv6_fragment_ext { * @return * next protocol number if proto is an IPv6 extension, -EINVAL otherwise */ -__rte_experimental static inline int rte_ipv6_get_next_ext(const uint8_t *p, int proto, size_t *ext_len) {