From: Nipun Gupta Date: Fri, 3 Sep 2021 07:17:14 +0000 (+0530) Subject: net/dpaa2: promote some old experimental API X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3ab154b306d6713f8c38b95abca7e5e43b700fd0;p=dpdk.git net/dpaa2: promote some old experimental API These APIs were introduced in 19.02, therefore removing experimental tag to promote them to stable state. Signed-off-by: Nipun Gupta --- diff --git a/drivers/net/dpaa2/rte_pmd_dpaa2.h b/drivers/net/dpaa2/rte_pmd_dpaa2.h index 84ac9d38d1..a68244c974 100644 --- a/drivers/net/dpaa2/rte_pmd_dpaa2.h +++ b/drivers/net/dpaa2/rte_pmd_dpaa2.h @@ -9,18 +9,11 @@ * @file rte_pmd_dpaa2.h * * NXP dpaa2 PMD specific functions. - * - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * */ #include /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Create a flow rule to demultiplex ethernet traffic to separate network * interfaces. * @@ -34,7 +27,6 @@ * @return * A valid handle in case of success, NULL otherwise. */ -__rte_experimental struct rte_flow * rte_pmd_dpaa2_mux_flow_create(uint32_t dpdmux_id, struct rte_flow_item *pattern[], @@ -57,9 +49,6 @@ int rte_pmd_dpaa2_mux_rx_frame_len(uint32_t dpdmux_id, uint16_t max_rx_frame_len); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Create a custom hash key on basis of offset of start of packet and size. * for e.g. if we need GRE packets (non-vlan and without any extra headers) * to be hashed on basis of inner IP header, we will provide offset as: @@ -78,7 +67,6 @@ rte_pmd_dpaa2_mux_rx_frame_len(uint32_t dpdmux_id, uint16_t max_rx_frame_len); * - 0 if successful. * - Negative in case of failure. */ -__rte_experimental int rte_pmd_dpaa2_set_custom_hash(uint16_t port_id, uint16_t offset, diff --git a/drivers/net/dpaa2/version.map b/drivers/net/dpaa2/version.map index 49f69dacd2..3ab96344c4 100644 --- a/drivers/net/dpaa2/version.map +++ b/drivers/net/dpaa2/version.map @@ -1,9 +1,15 @@ -EXPERIMENTAL { +DPDK_22 { global: rte_pmd_dpaa2_mux_flow_create; rte_pmd_dpaa2_set_custom_hash; + local: *; +}; + +EXPERIMENTAL { + global: + # added in 21.05 rte_pmd_dpaa2_mux_rx_frame_len; # added in 21.08