[dpdk-dev] ethdev: Add rte_tm_get_number_of_leaf_nodes to .map file

Message ID 20180525195943.16277-1-benjamin.h.shelton@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Ben Shelton May 25, 2018, 7:59 p.m. UTC
  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.

v2: Remove Gerrit Change-Id.

Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
---
 lib/librte_ethdev/rte_ethdev_version.map | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Ferruh Yigit May 26, 2018, 10:21 p.m. UTC | #1
On 5/25/2018 8:59 PM, Ben Shelton wrote:
> 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")

> 
> v2: Remove Gerrit Change-Id.
> 
> Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
  
Ferruh Yigit May 26, 2018, 10:23 p.m. UTC | #2
On 5/26/2018 11:21 PM, Ferruh Yigit wrote:
> On 5/25/2018 8:59 PM, Ben Shelton wrote:
>> 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")
> 
>>
>> v2: Remove Gerrit Change-Id.
>>
>> Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
> 
> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Applied to dpdk-next-net/master, thanks.
  

Patch

diff --git a/lib/librte_ethdev/rte_ethdev_version.map b/lib/librte_ethdev/rte_ethdev_version.map
index 9c9394c..c4251b6 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;