[v7,23/25] node: remove some of the experimental tags
Checks
Commit Message
The node library has been around long enough that experimental
tag should be removed. The IPv6 support was added in 23.03
but that is still enough time that it can be marked stable.
The logtype variable should have been marked internal
since it is not intended to be used outside of library.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
MAINTAINERS | 2 +-
lib/node/rte_node_eth_api.h | 1 -
lib/node/rte_node_ip4_api.h | 2 --
lib/node/version.map | 16 ++++++++++++----
4 files changed, 13 insertions(+), 8 deletions(-)
Comments
On Tue, Oct 24, 2023 at 4:57 AM Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
> The node library has been around long enough that experimental
> tag should be removed. The IPv6 support was added in 23.03
> but that is still enough time that it can be marked stable.
>
> The logtype variable should have been marked internal
> since it is not intended to be used outside of library.
There is, even, no need to export this symbol in the first place.
$ git grep -lw rte_node_logtype
lib/node/log.c
lib/node/node_private.h
$ git grep -lw node_private.h '**.h'
We only need to remove rte_node_logtype from version.map.
This can be fixed when applying.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
On Sun, Nov 12, 2023 at 8:29 PM David Marchand
<david.marchand@redhat.com> wrote:
>
> On Tue, Oct 24, 2023 at 4:57 AM Stephen Hemminger
> <stephen@networkplumber.org> wrote:
> >
> > The node library has been around long enough that experimental
> > tag should be removed. The IPv6 support was added in 23.03
> > but that is still enough time that it can be marked stable.
> >
> > The logtype variable should have been marked internal
> > since it is not intended to be used outside of library.
>
> There is, even, no need to export this symbol in the first place.
>
> $ git grep -lw rte_node_logtype
> lib/node/log.c
> lib/node/node_private.h
>
> $ git grep -lw node_private.h '**.h'
>
>
> We only need to remove rte_node_logtype from version.map.
> This can be fixed when applying.
>
> >
> > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Jerin Jacob <jerinj@marvell.com>
>
>
> --
> David Marchand
>
@@ -1735,7 +1735,7 @@ F: app/test/test_graph*
F: examples/l3fwd-graph/
F: doc/guides/sample_app_ug/l3_forward_graph.rst
-Nodes - EXPERIMENTAL
+Nodes
M: Nithin Dabilpuram <ndabilpuram@marvell.com>
M: Pavan Nikhilesh <pbhagavatula@marvell.com>
F: lib/node/
@@ -55,7 +55,6 @@ struct rte_node_ethdev_config {
* @return
* 0 on successful initialization, negative otherwise.
*/
-__rte_experimental
int rte_node_eth_config(struct rte_node_ethdev_config *cfg,
uint16_t cnt, uint16_t nb_graphs);
#ifdef __cplusplus
@@ -82,7 +82,6 @@ struct rte_node_ip4_reassembly_cfg {
* @return
* 0 on success, negative otherwise.
*/
-__rte_experimental
int rte_node_ip4_route_add(uint32_t ip, uint8_t depth, uint16_t next_hop,
enum rte_node_ip4_lookup_next next_node);
@@ -101,7 +100,6 @@ int rte_node_ip4_route_add(uint32_t ip, uint8_t depth, uint16_t next_hop,
* @return
* 0 on success, negative otherwise.
*/
-__rte_experimental
int rte_node_ip4_rewrite_add(uint16_t next_hop, uint8_t *rewrite_data,
uint8_t rewrite_len, uint16_t dst_port);
@@ -1,11 +1,15 @@
-EXPERIMENTAL {
+DPDK_24 {
global:
- # added in 20.05
rte_node_eth_config;
rte_node_ip4_route_add;
rte_node_ip4_rewrite_add;
- rte_node_logtype;
+
+ local: *;
+};
+
+EXPERIMENTAL {
+ global:
# added in 23.07
rte_node_ip6_rewrite_add;
@@ -15,6 +19,10 @@ EXPERIMENTAL {
rte_node_ip4_reassembly_configure;
rte_node_udp4_dst_port_add;
rte_node_udp4_usr_node_add;
+};
- local: *;
+INTERNAL {
+ global:
+
+ rte_node_logtype;
};