ethdev: promote API to set packet types
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Thu, 2 Sep 2021 08:17:30 +0000 (13:47 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 15 Sep 2021 07:54:04 +0000 (09:54 +0200)
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>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
lib/ethdev/rte_ethdev.h
lib/ethdev/version.map

index 2ccd651..1b9f383 100644 (file)
@@ -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);
 
index a0fc482..f8d6d08 100644 (file)
@@ -53,6 +53,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;