flow_classify: remove eperimental tag from the API
PATCH 1/1 flow_classify: remove eperimental tag from the API
This API was introduced in 17.11, removing experimental tag to promote to stable state.
--- lib/flow_classify/rte_flow_classify.h | 7 ------- lib/flow_classify/version.map | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-)
lib/flow_classify/rte_flow_classify.h +0 -7
@@ -157,7 +157,6 @@ struct rte_flow_classify_ipv4_5tuple_stats {* @return * Handle to flow classifier instance on success or NULL otherwise */ -__rte_experimental struct rte_flow_classifier *rte_flow_classifier_create (struct rte_flow_classifier_params *params);
@@ -169,7 +168,6 @@ rte_flow_classifier_create(struct rte_flow_classifier_params *params);* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classifier_free (struct rte_flow_classifier *cls);
@@ -183,7 +181,6 @@ rte_flow_classifier_free(struct rte_flow_classifier *cls);* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classify_table_create (struct rte_flow_classifier *cls,struct rte_flow_classify_table_params *params);
@@ -205,7 +202,6 @@ rte_flow_classify_table_create(struct rte_flow_classifier *cls,* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classify_validate(struct rte_flow_classifier *cls, const struct rte_flow_attr *attr,
@@ -232,7 +228,6 @@ rte_flow_classify_validate(struct rte_flow_classifier *cls,* @return * A valid handle in case of success, NULL otherwise. */ -__rte_experimental struct rte_flow_classify_rule * rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls, const struct rte_flow_attr *attr,
@@ -251,7 +246,6 @@ rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls,* @return * 0 on success, error code otherwise. */ -__rte_experimental int rte_flow_classify_table_entry_delete (struct rte_flow_classifier *cls,struct rte_flow_classify_rule *rule);
@@ -273,7 +267,6 @@ rte_flow_classify_table_entry_delete(struct rte_flow_classifier *cls,* @return * 0 on success, error code otherwise. */ -__rte_experimental int rte_flow_classifier_query(struct rte_flow_classifier *cls, struct rte_mbuf **pkts,
lib/flow_classify/version.map +1 -1
@@ -1,4 +1,4 @@ -EXPERIMENTAL { +DPDK_22 { global: rte_flow_classifier_create;
Signature · 1 line
2.25.1
s/eperimental/experimental/
Quoted 9 lines · Bernard Iremonger
This API was introduced in 17.11, removing experimental tag to promote to stable state.
Signed-off-by Bernard Iremonger <[email protected]>--- lib/flow_classify/rte_flow_classify.h | 7 ------- lib/flow_classify/version.map | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-)
The library is still listed as experimental
https://git.dpdk.org/dpdk/tree/lib/flow_classify/rte_flow_classify.h#n13
and you can remove the allow_experimental_apis from the example app now.
Quoted 71 lines
lib/flow_classify/rte_flow_classify.h +0
-7@@ -157,7 +157,6 @@ struct rte_flow_classify_ipv4_5tuple_stats {* @return * Handle to flow classifier instance on success or NULL otherwise */ -__rte_experimental struct rte_flow_classifier *rte_flow_classifier_create (struct rte_flow_classifier_params *params);@@ -169,7 +168,6 @@ rte_flow_classifier_create(struct rte_flow_classifier_params *params);* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classifier_free (struct rte_flow_classifier *cls);@@ -183,7 +181,6 @@ rte_flow_classifier_free(struct rte_flow_classifier *cls);* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classify_table_create (struct rte_flow_classifier *cls,struct rte_flow_classify_table_params *params);@@ -205,7 +202,6 @@ rte_flow_classify_table_create(struct rte_flow_classifier *cls,* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classify_validate(struct rte_flow_classifier *cls, const struct rte_flow_attr *attr,@@ -232,7 +228,6 @@ rte_flow_classify_validate(struct rte_flow_classifier *cls,* @return * A valid handle in case of success, NULL otherwise. */ -__rte_experimental struct rte_flow_classify_rule * rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls, const struct rte_flow_attr *attr,@@ -251,7 +246,6 @@ rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls,* @return * 0 on success, error code otherwise. */ -__rte_experimental int rte_flow_classify_table_entry_delete (struct rte_flow_classifier *cls,struct rte_flow_classify_rule *rule);@@ -273,7 +267,6 @@ rte_flow_classify_table_entry_delete(struct rte_flow_classifier *cls,* @return * 0 on success, error code otherwise. */ -__rte_experimental int rte_flow_classifier_query(struct rte_flow_classifier *cls, struct rte_mbuf **pkts,lib/flow_classify/version.map +1
-1@@ -1,4 +1,4 @@ -EXPERIMENTAL { +DPDK_22 { global: rte_flow_classifier_create;
Hi Kevin,
Quoted 21 lines
-----Original Message-----
From: Kevin Traynor <[email protected]>
Sent: Wednesday, September 22, 2021 3:48 PM
To: Iremonger, Bernard <[email protected]>; Kinsella, Ray <[email protected]>; [email protected]
Subject: Re: [dpdk-dev] [PATCH]flow_classify: remove eperimental tag from the APIs/eperimental/experimental/
Quoted 9 lines · Bernard Iremonger
This API was introduced in 17.11, removing experimental tag to promote to stable state.
Signed-off-by Bernard Iremonger <[email protected]>--- lib/flow_classify/rte_flow_classify.h | 7 ------- lib/flow_classify/version.map | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-)
Quoted 5 lines
The library is still listed as experimental
https://git.dpdk.org/dpdk/tree/lib/flow_classify/rte_flow_classify.h#n13and you can remove the
allow_experimental_apisfrom the example app now.
Good catch.
I will remove allow_experimental_apis from the flow_classify/meson.build file.
Quoted 76 lines
lib/flow_classify/rte_flow_classify.h rte_flow_classifier_create(struct
Quoted 15 lines
lib/flow_classify/rte_flow_classify.h +0
-1@@ -157,7 +157,6 @@ struct rte_flow_classify_ipv4_5tuple_stats {* @return * Handle to flow classifier instance on success or NULL otherwise */ -__rte_experimental struct rte_flow_classifier *rte_flow_classifier_create (struct rte_flow_classifier_params *params);@@ -169,7 +168,6 @@ rte_flow_classifier_create(struct
rte_flow_classifier_params*params);lib/flow_classify/rte_flow_classify.h rte_flow_classifier_free(struct rte_flow_classifier
Quoted 8 lines
lib/flow_classify/rte_flow_classify.h +0
-1* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classifier_free (struct rte_flow_classifier *cls);@@ -183,7 +181,6 @@ rte_flow_classifier_free(struct rte_flow_classifier*cls);
lib/flow_classify/rte_flow_classify.h rte_flow_classifier_free(struct rte_flow_classifier *cls);
Quoted 7 lines
lib/flow_classify/rte_flow_classify.h +0
-1* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classify_table_create (struct rte_flow_classifier *cls, struct rte_flow_classify_table_params *params); @@ -205,7+202,6
lib/flow_classify/rte_flow_classify.h rte_flow_classify_validate(struct rte_flow_classifier
Quoted 9 lines
@@ rte_flow_classify_table_create(struct
rte_flow_classifier*cls,
* @return
* 0 on success, error code otherwise
*/lib/flow_classify/rte_flow_classify.h +0
-1-__rte_experimental int rte_flow_classify_validate(struct rte_flow_classifier *cls, const struct rte_flow_attr *attr,@@ -232,7 +228,6 @@ rte_flow_classify_validate(struct rte_flow_classifier*cls,
lib/flow_classify/rte_flow_classify.h rte_flow_classify_table_entry_add(struct
Quoted 8 lines
lib/flow_classify/rte_flow_classify.h +0
-1* @return * A valid handle in case of success, NULL otherwise. */ -__rte_experimental struct rte_flow_classify_rule * rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls, const struct rte_flow_attr *attr,@@ -251,7 +246,6 @@ rte_flow_classify_table_entry_add(struct
rte_flow_classifier*cls,Quoted 24 lines
lib/flow_classify/rte_flow_classify.h +0
-1* @return * 0 on success, error code otherwise. */ -__rte_experimental int rte_flow_classify_table_entry_delete (struct rte_flow_classifier *cls, struct rte_flow_classify_rule *rule); @@ -273,7 +267,6 @@rte_flow_classify_table_entry_delete(struct
rte_flow_classifier*cls,
* @return
* 0 on success, error code otherwise.
*/lib/flow_classify/rte_flow_classify.h +0
-1-__rte_experimental int rte_flow_classifier_query(struct rte_flow_classifier *cls, struct rte_mbuf **pkts,(quoted diff) +0
-0b/lib/flow_classify/version.map index
49bc25c6a0..b7a888053b100644lib/flow_classify/version.map +1
-1@@ -1,4 +1,4 @@ -EXPERIMENTAL { +DPDK_22 { global:
Quoted 2 lines
lib/flow_classify/version.map line 4
Quoted 2 lines
lib/flow_classify/version.map +0
-0rte_flow_classifier_create;
Regards,
Bernard.
PATCH v2 1/1 flow_classify: remove eperimental tag from the API
In reply to Bernard IremongerThis API was introduced in 17.11, removing experimental tag to promote to stable state.
--- examples/flow_classify/meson.build | 2 +- lib/flow_classify/rte_flow_classify.h | 7 ------- lib/flow_classify/version.map | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-)
examples/flow_classify/meson.build +1 -1
@@ -7,7 +7,7 @@ # DPDK instance, use 'make' deps += 'flow_classify' -allow_experimental_apis = true + sources = files( 'flow_classify.c', )
lib/flow_classify/rte_flow_classify.h +0 -7
@@ -157,7 +157,6 @@ struct rte_flow_classify_ipv4_5tuple_stats {* @return * Handle to flow classifier instance on success or NULL otherwise */ -__rte_experimental struct rte_flow_classifier *rte_flow_classifier_create (struct rte_flow_classifier_params *params);
@@ -169,7 +168,6 @@ rte_flow_classifier_create(struct rte_flow_classifier_params *params);* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classifier_free (struct rte_flow_classifier *cls);
@@ -183,7 +181,6 @@ rte_flow_classifier_free(struct rte_flow_classifier *cls);* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classify_table_create (struct rte_flow_classifier *cls,struct rte_flow_classify_table_params *params);
@@ -205,7 +202,6 @@ rte_flow_classify_table_create(struct rte_flow_classifier *cls,* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classify_validate(struct rte_flow_classifier *cls, const struct rte_flow_attr *attr,
@@ -232,7 +228,6 @@ rte_flow_classify_validate(struct rte_flow_classifier *cls,* @return * A valid handle in case of success, NULL otherwise. */ -__rte_experimental struct rte_flow_classify_rule * rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls, const struct rte_flow_attr *attr,
@@ -251,7 +246,6 @@ rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls,* @return * 0 on success, error code otherwise. */ -__rte_experimental int rte_flow_classify_table_entry_delete (struct rte_flow_classifier *cls,struct rte_flow_classify_rule *rule);
@@ -273,7 +267,6 @@ rte_flow_classify_table_entry_delete(struct rte_flow_classifier *cls,* @return * 0 on success, error code otherwise. */ -__rte_experimental int rte_flow_classifier_query(struct rte_flow_classifier *cls, struct rte_mbuf **pkts,
lib/flow_classify/version.map +1 -1
@@ -1,4 +1,4 @@ -EXPERIMENTAL { +DPDK_22 { global: rte_flow_classifier_create;
Signature · 1 line
2.25.1
Hi Bernard,
lib/flow_classify/rte_flow_classify.h
Quoted 27 lines · Bernard Iremonger
This API was introduced in 17.11, removing experimental tag to promote to stable state.
Signed-off-by Bernard Iremonger <[email protected]>--- examples/flow_classify/meson.build | 2 +- lib/flow_classify/rte_flow_classify.h | 7 ------- lib/flow_classify/version.map | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-)examples/flow_classify/meson.build +1
-1@@ -7,7 +7,7 @@ # DPDK instance, use 'make' deps += 'flow_classify' -allow_experimental_apis = true + sources = files( 'flow_classify.c', )lib/flow_classify/rte_flow_classify.h +0
-0
The library is still marked as experimental, but I don't think this is valid anymore as it now contains stable APIs. So needs some removals:
Text below in rte_flow_classify.h,
* @warning
* @b EXPERIMENTAL:
* All functions in this file may be changed or removed without prior
notice.
Also in MAINTAINERS file,
Flow Classify - EXPERIMENTAL
and as it is lib moving into stable ABI, then probably something should go in the release notes for this.
thanks,
Kevin.
Quoted 67 lines
lib/flow_classify/rte_flow_classify.h +0
-7@@ -157,7 +157,6 @@ struct rte_flow_classify_ipv4_5tuple_stats {* @return * Handle to flow classifier instance on success or NULL otherwise */ -__rte_experimental struct rte_flow_classifier *rte_flow_classifier_create (struct rte_flow_classifier_params *params);@@ -169,7 +168,6 @@ rte_flow_classifier_create(struct rte_flow_classifier_params *params);* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classifier_free (struct rte_flow_classifier *cls);@@ -183,7 +181,6 @@ rte_flow_classifier_free(struct rte_flow_classifier *cls);* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classify_table_create (struct rte_flow_classifier *cls,struct rte_flow_classify_table_params *params);@@ -205,7 +202,6 @@ rte_flow_classify_table_create(struct rte_flow_classifier *cls,* @return * 0 on success, error code otherwise */ -__rte_experimental int rte_flow_classify_validate(struct rte_flow_classifier *cls, const struct rte_flow_attr *attr,@@ -232,7 +228,6 @@ rte_flow_classify_validate(struct rte_flow_classifier *cls,* @return * A valid handle in case of success, NULL otherwise. */ -__rte_experimental struct rte_flow_classify_rule * rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls, const struct rte_flow_attr *attr,@@ -251,7 +246,6 @@ rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls,* @return * 0 on success, error code otherwise. */ -__rte_experimental int rte_flow_classify_table_entry_delete (struct rte_flow_classifier *cls,struct rte_flow_classify_rule *rule);@@ -273,7 +267,6 @@ rte_flow_classify_table_entry_delete(struct rte_flow_classifier *cls,* @return * 0 on success, error code otherwise. */ -__rte_experimental int rte_flow_classifier_query(struct rte_flow_classifier *cls, struct rte_mbuf **pkts,lib/flow_classify/version.map +1
-1@@ -1,4 +1,4 @@ -EXPERIMENTAL { +DPDK_22 { global: rte_flow_classifier_create;
Quoted 4 lines · On Wed, 15 Sep 2021 16:16:35 +0100 Bernard Iremonger…
This API was introduced in 17.11, removing experimental tag to promote to stable state.
Signed-off-by Bernard Iremonger <[email protected]>
The API is unmaintained and because of that likely to be deprecated in future. Marking it as stable at this point would not be a good idea.