From 527eefac655bb5e3b75dc0fa5819cee38c8be6f9 Mon Sep 17 00:00:00 2001 From: Ben Shelton Date: Fri, 25 May 2018 14:59:43 -0500 Subject: [PATCH] ethdev: add missing TM function to export map The rte_tm_get_number_of_leaf_nodes() API function was added in DPDK 17.08. However, it was added to the .map file with the wrong function name (rte_tm_get_leaf_nodes), which was subsequently removed in commit 3e8ea3d ('lib: remove unused map symbols'). Add it back under the 17.08 release with the correct function name. Fixes: 5d109deffa87 ("ethdev: add traffic management API") Cc: stable@dpdk.org Signed-off-by: Ben Shelton Reviewed-by: Ferruh Yigit --- lib/librte_ethdev/rte_ethdev_version.map | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ethdev/rte_ethdev_version.map b/lib/librte_ethdev/rte_ethdev_version.map index 4f1f4c8eaf..40cf42b8a8 100644 --- a/lib/librte_ethdev/rte_ethdev_version.map +++ b/lib/librte_ethdev/rte_ethdev_version.map @@ -148,6 +148,7 @@ DPDK_17.08 { _rte_eth_dev_callback_process; rte_eth_dev_adjust_nb_rx_tx_desc; rte_tm_capabilities_get; + rte_tm_get_number_of_leaf_nodes; rte_tm_hierarchy_commit; rte_tm_level_capabilities_get; rte_tm_mark_ip_dscp; -- 2.20.1