Thread (4 messages) 4 messages, 3 authors, 2018-07-31

Re: [PATCH] ethdev: Clarify usage of TM node parent update API function

From: Thomas Monjalon <hidden>
Date: 2018-07-31 16:52:08

31/07/2018 17:09, Dumitrescu, Cristian:
From: Thomas Monjalon [mailto:thomas@monjalon.net]
quoted
Cristian, review please?

10/07/2018 17:33, Ben Shelton:
quoted
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 <redacted>
[...]
quoted
 /**
  * Traffic manager node parent update
  *
+ * This function may be used to move a node and its children to a
different
quoted
+ * parent.  Additionally, if the new parent is the same as the current
parent,
quoted
+ * 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()
Acked-by: Cristian Dumitrescu <redacted>
Applied, thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help