From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [dpdk-dev] [PATCH 2/2] mbuf: remove experimental from dynamic field support
Date: Wed, 25 Aug 2021 08:52:29 -0700 [thread overview]
Message-ID: <20210825155229.67191-3-stephen@networkplumber.org> (raw)
In-Reply-To: <20210825155229.67191-1-stephen@networkplumber.org>
These functions to register dynamic fields were added in 20.11
and should be promoted to supported.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
lib/mbuf/rte_mbuf_dyn.h | 9 ---------
lib/mbuf/version.map | 18 +++++++++---------
2 files changed, 9 insertions(+), 18 deletions(-)
diff --git a/lib/mbuf/rte_mbuf_dyn.h b/lib/mbuf/rte_mbuf_dyn.h
index 13f06d8ed25b..fc12687bef21 100644
--- a/lib/mbuf/rte_mbuf_dyn.h
+++ b/lib/mbuf/rte_mbuf_dyn.h
@@ -118,7 +118,6 @@ struct rte_mbuf_dynflag {
* - ENOMEM: allocation failure.
* - ENAMETOOLONG: name does not ends with \0.
*/
-__rte_experimental
int rte_mbuf_dynfield_register(const struct rte_mbuf_dynfield *params);
/**
@@ -143,7 +142,6 @@ int rte_mbuf_dynfield_register(const struct rte_mbuf_dynfield *params);
* - ENOMEM: allocation failure.
* - ENAMETOOLONG: name does not ends with \0.
*/
-__rte_experimental
int rte_mbuf_dynfield_register_offset(const struct rte_mbuf_dynfield *params,
size_t offset);
@@ -160,7 +158,6 @@ int rte_mbuf_dynfield_register_offset(const struct rte_mbuf_dynfield *params,
* Possible values for rte_errno:
* - ENOENT: no dynamic field matches this name.
*/
-__rte_experimental
int rte_mbuf_dynfield_lookup(const char *name,
struct rte_mbuf_dynfield *params);
@@ -183,7 +180,6 @@ int rte_mbuf_dynfield_lookup(const char *name,
* - ENOMEM: allocation failure.
* - ENAMETOOLONG: name is longer than RTE_MBUF_DYN_NAMESIZE - 1.
*/
-__rte_experimental
int rte_mbuf_dynflag_register(const struct rte_mbuf_dynflag *params);
/**
@@ -208,7 +204,6 @@ int rte_mbuf_dynflag_register(const struct rte_mbuf_dynflag *params);
* - ENOMEM: allocation failure.
* - ENAMETOOLONG: name is longer than RTE_MBUF_DYN_NAMESIZE - 1.
*/
-__rte_experimental
int rte_mbuf_dynflag_register_bitnum(const struct rte_mbuf_dynflag *params,
unsigned int bitnum);
@@ -225,7 +220,6 @@ int rte_mbuf_dynflag_register_bitnum(const struct rte_mbuf_dynflag *params,
* Possible values for rte_errno:
* - ENOENT: no dynamic flag matches this name.
*/
-__rte_experimental
int rte_mbuf_dynflag_lookup(const char *name,
struct rte_mbuf_dynflag *params);
@@ -240,7 +234,6 @@ int rte_mbuf_dynflag_lookup(const char *name,
* @param out
* The stream where the status is displayed.
*/
-__rte_experimental
void rte_mbuf_dyn_dump(FILE *out);
/*
@@ -295,7 +288,6 @@ typedef uint64_t rte_mbuf_timestamp_t;
* - ENOENT: no more field or flag available.
* - ENOMEM: allocation failure.
*/
-__rte_experimental
int rte_mbuf_dyn_rx_timestamp_register(int *field_offset, uint64_t *rx_flag);
/**
@@ -332,7 +324,6 @@ int rte_mbuf_dyn_rx_timestamp_register(int *field_offset, uint64_t *rx_flag);
* - ENOENT: no more field or flag available.
* - ENOMEM: allocation failure.
*/
-__rte_experimental
int rte_mbuf_dyn_tx_timestamp_register(int *field_offset, uint64_t *tx_flag);
#ifdef __cplusplus
diff --git a/lib/mbuf/version.map b/lib/mbuf/version.map
index 940b04096520..b63e28a8cc4d 100644
--- a/lib/mbuf/version.map
+++ b/lib/mbuf/version.map
@@ -16,6 +16,15 @@ DPDK_22 {
rte_get_tx_ol_flag_list;
rte_get_tx_ol_flag_name;
rte_mbuf_best_mempool_ops;
+ rte_mbuf_dyn_dump;
+ rte_mbuf_dyn_rx_timestamp_register;
+ rte_mbuf_dyn_tx_timestamp_register;
+ rte_mbuf_dynfield_lookup;
+ rte_mbuf_dynfield_register;
+ rte_mbuf_dynfield_register_offset;
+ rte_mbuf_dynflag_lookup;
+ rte_mbuf_dynflag_register;
+ rte_mbuf_dynflag_register_bitnum;
rte_mbuf_platform_mempool_ops;
rte_mbuf_sanity_check;
rte_mbuf_set_platform_mempool_ops;
@@ -37,15 +46,6 @@ EXPERIMENTAL {
global:
rte_mbuf_check;
- rte_mbuf_dynfield_lookup;
- rte_mbuf_dynfield_register;
- rte_mbuf_dynfield_register_offset;
- rte_mbuf_dynflag_lookup;
- rte_mbuf_dynflag_register;
- rte_mbuf_dynflag_register_bitnum;
- rte_mbuf_dyn_dump;
- rte_mbuf_dyn_rx_timestamp_register;
- rte_mbuf_dyn_tx_timestamp_register;
rte_pktmbuf_pool_create_extbuf;
};
--
2.30.2
next prev parent reply other threads:[~2021-08-25 15:52 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-25 15:52 [dpdk-dev] [PATCH 0/2] mbuf: unmark experimental API's Stephen Hemminger
2021-08-25 15:52 ` [dpdk-dev] [PATCH 1/2] mbuf: take experimental of mbuf copy and bulk free Stephen Hemminger
2021-08-25 15:52 ` Stephen Hemminger [this message]
2021-08-25 22:09 ` [dpdk-dev] [PATCH v2 0/3] mbuf: experimental tag changes Stephen Hemminger
2021-08-25 22:09 ` [dpdk-dev] [PATCH v2 1/3] mbuf: take experimental of mbuf copy and bulk free Stephen Hemminger
2021-08-25 22:09 ` [dpdk-dev] [PATCH v2 2/3] mbuf: remove experimental from dynamic field support Stephen Hemminger
2021-08-25 22:09 ` [dpdk-dev] [PATCH v2 3/3] mbuf: mark function rte_mbuf_tx_offload with __rte_expermental Stephen Hemminger
2021-08-31 19:35 ` [dpdk-dev] [PATCH v3 0/4] mbuf: promote experimental API's to stable Stephen Hemminger
2021-08-31 19:35 ` [dpdk-dev] [PATCH v3 1/4] mbuf: make rte_pktmbuf_free_bulk and rte_pktmbuf_copy stable API's Stephen Hemminger
2021-09-01 6:42 ` Andrew Rybchenko
2021-09-16 11:55 ` Olivier Matz
2021-08-31 19:35 ` [dpdk-dev] [PATCH v3 2/4] mbuf: make rte_mbuf_dynfield API's stable Stephen Hemminger
2021-09-01 6:43 ` Andrew Rybchenko
2021-09-16 11:56 ` Olivier Matz
2021-08-31 19:35 ` [dpdk-dev] [PATCH v3 3/4] mbuf: make rte_mbuf_tx_offload as stable Stephen Hemminger
2021-09-01 6:45 ` Andrew Rybchenko
2021-09-01 17:14 ` Stephen Hemminger
2021-09-16 12:14 ` Olivier Matz
2021-10-02 9:34 ` David Marchand
2021-08-31 19:35 ` [dpdk-dev] [PATCH v3 4/4] mbuf: make rte_mbuf_check part of stable API Stephen Hemminger
2021-09-01 6:46 ` Andrew Rybchenko
2021-09-01 6:49 ` Andrew Rybchenko
2021-09-16 12:35 ` Olivier Matz
2021-10-04 19:32 ` [dpdk-dev] [PATCH v4 0/5] mbuf: promote experimental API's to stable Stephen Hemminger
2021-10-04 19:32 ` [dpdk-dev] [PATCH v4 1/5] mbuf: make rte_pktmbuf_free_bulk and rte_pktmbuf_copy stable API's Stephen Hemminger
2021-10-04 19:32 ` [dpdk-dev] [PATCH v4 2/5] mbuf: make rte_mbuf_dynfield API's stable Stephen Hemminger
2021-10-04 19:33 ` [dpdk-dev] [PATCH v4 3/5] mbuf: make rte_mbuf_check part of stable API Stephen Hemminger
2021-10-04 19:33 ` [dpdk-dev] [PATCH v4 4/5] mbuf: make rte_mbuf_tx_offload as stable Stephen Hemminger
2021-10-05 7:27 ` Olivier Matz
2021-10-05 8:17 ` Ananyev, Konstantin
2021-10-04 19:33 ` [dpdk-dev] [PATCH v4 5/5] mbuf: mark rte_mbuf_to_priv " Stephen Hemminger
2021-10-05 7:31 ` Olivier Matz
2021-10-05 8:20 ` [dpdk-dev] [PATCH v4 0/5] mbuf: promote experimental API's to stable David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210825155229.67191-3-stephen@networkplumber.org \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).