net: promote ip6 external headers skip API as stable
authorOlivier Matz <olivier.matz@6wind.com>
Thu, 16 Sep 2021 11:41:32 +0000 (13:41 +0200)
committerOlivier Matz <olivier.matz@6wind.com>
Fri, 24 Sep 2021 12:31:20 +0000 (14:31 +0200)
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 <olivier.matz@6wind.com>
lib/net/rte_net.h
lib/net/version.map

index 42639bc..f446020 100644 (file)
@@ -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);
index 355b7c2..a8a2ecf 100644 (file)
@@ -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;
 };