From: Pavan Nikhilesh Date: Thu, 2 Sep 2021 08:17:30 +0000 (+0530) Subject: ethdev: promote API to set packet types X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2def522abcf2eaf8832249c991f59b8d8730f360;p=dpdk.git ethdev: promote API to set packet types Remove experimental tag from rte_eth_dev_set_ptypes(). Signed-off-by: Pavan Nikhilesh Acked-by: Andrew Rybchenko Acked-by: Ray Kinsella --- diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index 2ccd651490..1b9f383e3e 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 a0fc4826a1..f8d6d08845 100644 --- a/lib/ethdev/version.map +++ b/lib/ethdev/version.map @@ -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;