From 50752f06d2b4c6f3815732afd4dfc29a5e080b82 Mon Sep 17 00:00:00 2001 From: Ben Shelton Date: Wed, 21 Mar 2018 10:45:33 -0500 Subject: [PATCH] ethdev: fix TM API comment The rte_tm_node_wfq_weight_mode_update() API function operates on non-leaf nodes, not leaf nodes. Signed-off-by: Ben Shelton --- lib/librte_ethdev/rte_tm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ethdev/rte_tm.h b/lib/librte_ethdev/rte_tm.h index 2b25a8715f..f735f8459f 100644 --- a/lib/librte_ethdev/rte_tm.h +++ b/lib/librte_ethdev/rte_tm.h @@ -1643,7 +1643,7 @@ rte_tm_node_stats_update(uint16_t port_id, * @param[in] port_id * The port identifier of the Ethernet device. * @param[in] node_id - * Node ID. Needs to be valid leaf node ID. + * Node ID. Needs to be valid non-leaf node ID. * @param[in] wfq_weight_mode * WFQ weight mode for each SP priority. When NULL, it indicates that WFQ is * to be used for all priorities. When non-NULL, it points to a pre-allocated -- 2.20.1