From patchwork Thu Oct 19 19: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: 133036 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 B23E1431B1; Thu, 19 Oct 2023 21:11:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1DD7342E14; Thu, 19 Oct 2023 21:10:38 +0200 (CEST) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mails.dpdk.org (Postfix) with ESMTP id AB08F427DD for ; Thu, 19 Oct 2023 21:10:33 +0200 (CEST) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1c9b95943beso71002035ad.1 for ; Thu, 19 Oct 2023 12:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697742632; x=1698347432; 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=QvV9Nu45iMvjF31Re5cqTK2+GZE2g9ygjU7XbZAo+hqKAA8zi0Rom4VXoI29QAIHWf jWHDdhmfrKW1CWJkto/uYCTcUz437prKxFApaLVKJHrcjABcm6Y7Rw4DHtNmuLFznU6h +sHgezlwFv7fPdT4i7kY65+llHnK2P8q7Ho0vkNiudXvLU8oxzESfz+RccKl7NFfimdz xUeriQvmJyUNZQpO697QH9TteEVc9f+97F9op39V3XUpzVpZlIvV+0PXsI72ynm7U4JA ll5spn9H58/Xim+GYtd0Gx4xfIu6V3ijA55F+lCWfE2NRnKBC4/DqR14+IdqRkPKfR8I DSJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697742632; x=1698347432; 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=w98sakxFY6pFVZKMHQrBOattsjHLGBXP0OVWZyejlLsX0XSdqYlJyB4RPMZj+yw90A eY1vO7HB4GRygWpPBrJvCdmRRVsaUD2l9IssB4hmLqJSFvU+MrrrvZS7PirWgBHWeRNm oo/D9SWHoyLQll97FTMQ+juKRMT5+1bJWN0/vWNQHfTm6RXH/7lThcMSCKf4gbw9yjl4 Nj/WIuy2wcLSwv1bX1XuLdg0AmvLmcstKIaw5SsQcDgBRo3+p48Z1rQoG+TKKKV5nWU1 8q9hK5jNcKM/ONz+T5rTUk6fdnVuapyd29LzDtq1RcSaQIZAbWe5DOChAC7ABtkMIs+u OP0A== X-Gm-Message-State: AOJu0Yz8lgBvnQquDp2e5jlQWjmuJgeqD/TypLBPUgaRsri/4tkBG2ZS 282PnJ4iL+AZ3WFu5G9kLwluVM/7PnJXqPsd/mnUqQ== X-Google-Smtp-Source: AGHT+IHqHDWntTDEs2F3FXh7f8wugmTAghK3ZyZcTMTpNAYoVQv6ZzDVA5PRjTdziOku/v8HJ3qOeg== X-Received: by 2002:a17:902:e746:b0:1c9:ccb3:2352 with SMTP id p6-20020a170902e74600b001c9ccb32352mr4092054plf.12.1697742632625; Thu, 19 Oct 2023 12:10:32 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id h12-20020a170902eecc00b001a9b29b6759sm52464plb.183.2023.10.19.12.10.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 12:10:31 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v4 07/28] net: remove experimental from functions Date: Thu, 19 Oct 2023 12:09:55 -0700 Message-Id: <20231019191016.156430-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231019191016.156430-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231019191016.156430-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) {