[dpdk-dev] [PATCH] ethdev: promote set ptypes API to stable
pbhagavatula at marvell.com
pbhagavatula at marvell.com
Thu Sep 2 10:17:30 CEST 2021
From: Pavan Nikhilesh <pbhagavatula at marvell.com>
Remove experimental tag from rte_eth_dev_set_ptypes().
Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
---
lib/ethdev/rte_ethdev.h | 4 ----
lib/ethdev/version.map | 2 +-
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
index d2b27c351f..55d0da60bd 100644
--- a/lib/ethdev/rte_ethdev.h
+++ b/lib/ethdev/rte_ethdev.h
@@ -3123,9 +3123,6 @@ int rte_eth_dev_fw_version_get(uint16_t port_id,
int rte_eth_dev_get_supported_ptypes(uint16_t port_id, uint32_t ptype_mask,
uint32_t *ptypes, int num);
/**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
* Inform Ethernet device about reduced range of packet types to handle.
*
* Application can use this function to set only specific ptypes that it's
@@ -3155,7 +3152,6 @@ int rte_eth_dev_get_supported_ptypes(uint16_t port_id, uint32_t ptype_mask,
* - (-EINVAL) if *ptype_mask* is invalid (or) set_ptypes is NULL and
* num > 0.
*/
-__rte_experimental
int rte_eth_dev_set_ptypes(uint16_t port_id, uint32_t ptype_mask,
uint32_t *set_ptypes, unsigned int num);
diff --git a/lib/ethdev/version.map b/lib/ethdev/version.map
index 3eece75b72..b02d981378 100644
--- a/lib/ethdev/version.map
+++ b/lib/ethdev/version.map
@@ -52,6 +52,7 @@ DPDK_22 {
rte_eth_dev_set_link_up;
rte_eth_dev_set_mc_addr_list;
rte_eth_dev_set_mtu;
+ rte_eth_dev_set_ptypes;
rte_eth_dev_set_rx_queue_stats_mapping;
rte_eth_dev_set_tx_queue_stats_mapping;
rte_eth_dev_set_vlan_ether_type;
@@ -173,7 +174,6 @@ EXPERIMENTAL {
rte_flow_dynf_metadata_offs;
rte_flow_dynf_metadata_mask;
rte_flow_dynf_metadata_register;
- rte_eth_dev_set_ptypes;
# added in 20.02
rte_flow_dev_dump;
--
2.17.1
More information about the dev
mailing list