From patchwork Fri Sep 24 13:01:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Matz X-Patchwork-Id: 99591 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 6332FA0548; Fri, 24 Sep 2021 15:02:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCCBB411FA; Fri, 24 Sep 2021 15:02:04 +0200 (CEST) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mails.dpdk.org (Postfix) with ESMTP id 5CADC411F2 for ; Fri, 24 Sep 2021 15:02:03 +0200 (CEST) Received: by mail-wr1-f49.google.com with SMTP id w17so27199556wrv.10 for ; Fri, 24 Sep 2021 06:02:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tAJlolUm5KY4KeQhD04UZ6Dws3uSQicUZ/VTc/BGH8M=; b=I7ZL6Bs7uUgyKAfHSen4il71224tJl2Uy/b03xv//Jtb19DgsYMY73hHdjiCB2+43P quwbP1IvfNMUxFLteWXu8VG0eBGqqX0lKkCVka9jr240rNq+ZoxT2y7tnalbxIwFTxNC ekR1ucd3yM/nXCOUejzr8i+D+jeagsOM0sP4gA7m1u6p54U4/fJm+8/pVHtZNvTrPn0D ymVk2ToJY2nWEVM5vjbDXJ5Tx5KKmzIwHnwiRx/tQHaPAO3jIsgj1cBR6EL0Qrn/nf6G YJEwLYFYbEk9YyJsDPKnALRwQbKHEdbYFdn8OSI958Ldhf7IlZhGf8Ipeh75K2tv64fH fXcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tAJlolUm5KY4KeQhD04UZ6Dws3uSQicUZ/VTc/BGH8M=; b=qBH3aSeCwbsslHK0O/QoKpQ+4rcSF6Hg2J//qhPjkUV7MAMQBRzNnqweCUpI2HzKPV sBVJ8yxtlB3wHNK64M97dJqpBF7YthlKBfU1aMfVBXac87b1VjOWfdKj3DA2nWl+Dmdm o2w+0oJInq17u16zCwF3XREt30jEE52qqpUL/T39kN7OJcabaChE0wX2eFYX+qKKbcUr bYF6L4YeUx7ZSCi7TLkIG+5sMlZZ4S+hG+0iyiGqm5CM+MWN9aaT4dkWYUiAY61AqzGN kLH62eIgTUF4YwiCzUtyjcqb0+WC4HYUHZZAFFzlplPcL7WQJ/H3pFabzk3gFzr5jc5L WG2g== X-Gm-Message-State: AOAM533Vmp04BVFpyMlDnz4YukAiPPkcgHzdrAFPR/mg1jZQGP6bcVnk +tIB0O0q5zpgmhBTzc8J8I46rs/Cwz1Ylw== X-Google-Smtp-Source: ABdhPJzZ+SWmEVanH8iK4Gjz2LvW+1IlPVVXmew1SSnHibfHxY+Z5SNE6fgbbN+sSWYUaQdq0cpidA== X-Received: by 2002:a5d:6c69:: with SMTP id r9mr11573428wrz.78.1632488523035; Fri, 24 Sep 2021 06:02:03 -0700 (PDT) Received: from gojira.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id d1sm8673875wrr.72.2021.09.24.06.02.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 06:02:02 -0700 (PDT) From: Olivier Matz To: dev@dpdk.org Cc: Olivier Matz , Ray Kinsella , Didier Pallard Date: Fri, 24 Sep 2021 15:01:10 +0200 Message-Id: <20210924130110.14279-1-olivier.matz@6wind.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] net: promote ip6 external headers skip API as stable 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 Sender: "dev" This function is public since commit 8f0e4d6a78a5 ("net: export IPv6 header extensions skip function") (2018), and is used by vmxnet3 driver. Promote it as stable. Signed-off-by: Olivier Matz Acked-by: David Marchand Acked-by: Ray Kinsella --- lib/net/rte_net.h | 4 ---- lib/net/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/net/rte_net.h b/lib/net/rte_net.h index 42639bc154..f4460202c0 100644 --- a/lib/net/rte_net.h +++ b/lib/net/rte_net.h @@ -34,9 +34,6 @@ struct rte_net_hdr_lens { * This function skips all IPv6 extensions, returning size of * complete header including options and final protocol value. * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * @param proto * Protocol field of IPv6 header. * @param m @@ -51,7 +48,6 @@ struct rte_net_hdr_lens { * Protocol that follows IPv6 header. * -1 if an error occurs during mbuf parsing. */ -__rte_experimental int rte_net_skip_ip6_ext(uint16_t proto, const struct rte_mbuf *m, uint32_t *off, int *frag); diff --git a/lib/net/version.map b/lib/net/version.map index 355b7c25b4..a8a2ecf870 100644 --- a/lib/net/version.map +++ b/lib/net/version.map @@ -6,6 +6,7 @@ DPDK_22 { rte_net_crc_calc; rte_net_crc_set_alg; rte_net_get_ptype; + rte_net_skip_ip6_ext; local: *; }; @@ -14,6 +15,5 @@ EXPERIMENTAL { global: rte_net_make_rarp_packet; - rte_net_skip_ip6_ext; rte_ether_unformat_addr; };