[dpdk-dev] [PATCH] ethdev: Clarify usage of TM node parent update API function

Dumitrescu, Cristian cristian.dumitrescu at intel.com
Tue Jul 31 17:09:17 CEST 2018



> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas at monjalon.net]
> Sent: Tuesday, July 31, 2018 4:06 PM
> To: Dumitrescu, Cristian <cristian.dumitrescu at intel.com>
> Cc: dev at dpdk.org; Shelton, Benjamin H <benjamin.h.shelton at intel.com>
> Subject: Re: [dpdk-dev] [PATCH] ethdev: Clarify usage of TM node parent
> update API function
> 
> Cristian, review please?
> 
> 10/07/2018 17:33, Ben Shelton:
> > 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 <benjamin.h.shelton at intel.com>
> [...]
> >  /**
> >   * 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()
> 
> 
> 

Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>



More information about the dev mailing list