ethdev: add missing TM function to export map
authorBen Shelton <benjamin.h.shelton@intel.com>
Fri, 25 May 2018 19:59:43 +0000 (14:59 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 26 May 2018 22:22:09 +0000 (00:22 +0200)
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 <benjamin.h.shelton@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_ethdev/rte_ethdev_version.map

index 4f1f4c8..40cf42b 100644 (file)
@@ -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;