From: Ben Shelton Date: Tue, 10 Jul 2018 15:33:01 +0000 (-0500) Subject: ethdev: clarify usage of TM node parent update X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d473b0ce1759bfa3684c2618d15362473921cdea;hp=d633ed1077807ab784fd5b558ea46f92744a4f63;p=dpdk.git ethdev: clarify usage of TM node parent update The node parent update API function may be used to update the priority/weight of an existing node. Update the documentation to indicate that this use case is supported. Signed-off-by: Ben Shelton Acked-by: Cristian Dumitrescu --- diff --git a/lib/librte_ethdev/rte_tm.h b/lib/librte_ethdev/rte_tm.h index 7255403847..955f02ff10 100644 --- a/lib/librte_ethdev/rte_tm.h +++ b/lib/librte_ethdev/rte_tm.h @@ -1569,6 +1569,10 @@ rte_tm_hierarchy_commit(uint16_t port_id, /** * Traffic manager node parent update * + * This function may be used to move a node and its children to a different + * parent. Additionally, if the new parent is the same as the current parent, + * this function will update the priority/weight of an existing node. + * * Restriction for root node: its parent cannot be changed. * * This function can only be called after the rte_tm_hierarchy_commit()