From 8e506da755c5712dbccc75abec8cf376abb085b1 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Fri, 24 Sep 2021 15:01:10 +0200 Subject: [PATCH] net: promote IPv6 external headers skip API as stable 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 | 7 +------ 2 files changed, 1 insertion(+), 10 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 fa729c5c0c..4f4330d1c4 100644 --- a/lib/net/version.map +++ b/lib/net/version.map @@ -8,12 +8,7 @@ DPDK_22 { rte_net_crc_set_alg; rte_net_get_ptype; rte_net_make_rarp_packet; + rte_net_skip_ip6_ext; local: *; }; - -EXPERIMENTAL { - global: - - rte_net_skip_ip6_ext; -}; -- 2.20.1