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 <benjamin.h.shelton@intel.com>
This commit is contained in:
Ben Shelton 2018-03-21 10:45:33 -05:00 committed by Cristian Dumitrescu
parent 67af7ecc52
commit 50752f06d2

View File

@ -1643,7 +1643,7 @@ rte_tm_node_stats_update(uint16_t port_id,
* @param[in] port_id * @param[in] port_id
* The port identifier of the Ethernet device. * The port identifier of the Ethernet device.
* @param[in] node_id * @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 * @param[in] wfq_weight_mode
* WFQ weight mode for each SP priority. When NULL, it indicates that WFQ is * 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 * to be used for all priorities. When non-NULL, it points to a pre-allocated