ethdev: fix TM API comment
authorBen Shelton <benjamin.h.shelton@intel.com>
Wed, 21 Mar 2018 15:45:33 +0000 (10:45 -0500)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Tue, 1 May 2018 14:50:28 +0000 (16:50 +0200)
The rte_tm_node_wfq_weight_mode_update() API function operates on
non-leaf nodes, not leaf nodes.

Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
lib/librte_ethdev/rte_tm.h

index 2b25a87..f735f84 100644 (file)
@@ -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