ethdev: remove flow metadata symbol aliases
PATCH 1/1 ethdev: remove flow metadata symbol aliases
Version aliases for rte_flow_dynf_metadata_register and EXPERIMENTAL version on rte_flow_dynf_metadata_offs and rte_flow_dynf_metadata_mask symbols added in [1] are not needed after ABI version bump.
This patch removes them.
[1]: 56045d198968 ("ethdev: add aliases for flow metadata symbols")
--- lib/ethdev/meson.build | 2 -- lib/ethdev/rte_flow.c | 13 +++++-------- 2 files changed, 5 insertions(+), 10 deletions(-)
lib/ethdev/meson.build +0 -2
@@ -1,8 +1,6 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -use_function_versioning = true - sources = files( 'ethdev_driver.c', 'ethdev_private.c',
lib/ethdev/rte_flow.c +5 -8
@@ -23,11 +23,11 @@#define FLOW_LOG RTE_ETHDEV_LOG_LINE/* Mbuf dynamic field name for metadata. */ -RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_flow_dynf_metadata_offs, 19.11) +RTE_EXPORT_SYMBOL (rte_flow_dynf_metadata_offs) int32_t rte_flow_dynf_metadata_offs = -1;/* Mbuf dynamic field flag bit number for metadata. */ -RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_flow_dynf_metadata_mask, 19.11) +RTE_EXPORT_SYMBOL (rte_flow_dynf_metadata_mask) uint64_t rte_flow_dynf_metadata_mask;/**
@@ -282,7 +282,9 @@ static const struct rte_flow_desc_data rte_flow_desc_action[] = { MK_FLOW_ACTION(JUMP_TO_TABLE_INDEX, sizeof(struct rte_flow_action_jump_to_table_index)), }; -RTE_DEFAULT_SYMBOL(26, int, rte_flow_dynf_metadata_register, (void)) +RTE_EXPORT_SYMBOL (rte_flow_dynf_metadata_register) +int +rte_flow_dynf_metadata_register (void ) {int offset;int flag;
@@ -315,11 +317,6 @@ RTE_DEFAULT_SYMBOL(26, int, rte_flow_dynf_metadata_register, (void))return -rte_errno; } -RTE_VERSION_EXPERIMENTAL_SYMBOL(int, rte_flow_dynf_metadata_register, (void)) -{ - return rte_flow_dynf_metadata_register(); -} -static inline void fts_enter (struct rte_eth_dev *dev) {
Signature · 1 line
2.47.3
Quoted 10 lines · Dariusz Sosnowski
Version aliases for
rte_flow_dynf_metadata_registerand EXPERIMENTAL version onrte_flow_dynf_metadata_offsandrte_flow_dynf_metadata_masksymbols added in [1] are not needed after ABI version bump.
This patch removes them.[1]:
56045d198968("ethdev: add aliases for flow metadata symbols")Signed-off-by Dariusz Sosnowski <[email protected]>
Signature · 1 line
David Marchand
Quoted 9 lines · David Marchand
Quoted 7 lines · Dariusz Sosnowski
Version aliases for
rte_flow_dynf_metadata_registerand EXPERIMENTAL version onrte_flow_dynf_metadata_offsandrte_flow_dynf_metadata_masksymbols added in [1] are not needed after ABI version bump.
This patch removes them.
Quoted 5 lines
Quoted 3 lines
[1]:
56045d198968("ethdev: add aliases for flow metadata symbols")Signed-off-by Dariusz Sosnowski <[email protected]>Acked-by David Marchand <[email protected]>
Rebased on 26.11.0-rc0 and applied, thanks Dariusz.
Signature · 1 line
David Marchand