[dpdk-dev] ethdev: Add rte_tm_get_number_of_leaf_nodes to .map file
Checks
Commit Message
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
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>
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.
@@ -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;