ethdev: promote set ptypes API to stable

Message ID 20210902081731.2935-1-pbhagavatula@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series ethdev: promote set ptypes API to stable |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/github-robot: build success github build: passed
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS

Commit Message

Pavan Nikhilesh Bhagavatula Sept. 2, 2021, 8:17 a.m. UTC
  From: Pavan Nikhilesh <pbhagavatula@marvell.com>

Remove experimental tag from rte_eth_dev_set_ptypes().

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
---
 lib/ethdev/rte_ethdev.h | 4 ----
 lib/ethdev/version.map  | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)
  

Comments

Andrew Rybchenko Sept. 2, 2021, 8:58 a.m. UTC | #1
On 9/2/21 11:17 AM, pbhagavatula@marvell.com wrote:
> From: Pavan Nikhilesh <pbhagavatula@marvell.com>
> 
> Remove experimental tag from rte_eth_dev_set_ptypes().
> 
> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>

Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
  
Ray Kinsella Sept. 2, 2021, 3:56 p.m. UTC | #2
On 02/09/2021 09:17, pbhagavatula@marvell.com wrote:
> From: Pavan Nikhilesh <pbhagavatula@marvell.com>
> 
> Remove experimental tag from rte_eth_dev_set_ptypes().
> 
> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
  
Ferruh Yigit Sept. 15, 2021, 8:15 a.m. UTC | #3
On 9/2/2021 4:56 PM, Kinsella, Ray wrote:
> 
> 
> On 02/09/2021 09:17, pbhagavatula@marvell.com wrote:
>> From: Pavan Nikhilesh <pbhagavatula@marvell.com>
>>
>> Remove experimental tag from rte_eth_dev_set_ptypes().
>>
>> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
> Acked-by: Ray Kinsella <mdr@ashroe.eu>
> 

Applied to dpdk-next-net/main, thanks.
  

Patch

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;