Re: [dpdk-dev] [PATCH 1/2] librte_sched: add post-init pipe profile api

2018-05-04 Thread Singh, Jasvinder
> > +static void > > +rte_sched_pipe_profile_get(struct rte_sched_port *port, > > + struct rte_sched_pipe_params *params, > > + struct rte_sched_pipe_profile *p) > > +{ > > + uint32_t i; > > + > > + /* Token Bucket */ > > + if (params->tb_rate == port->rate) { > > + p->tb_cre

Re: [dpdk-dev] [PATCH 1/2] librte_sched: add post-init pipe profile api

2018-05-03 Thread Dumitrescu, Cristian
Hi Jasvinder, Looks good, a few things to fix below: > -Original Message- > From: Singh, Jasvinder > Sent: Friday, March 9, 2018 6:41 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian > Subject: [PATCH 1/2] librte_sched: add post-init pipe profile api > > Add new API function to add more

[dpdk-dev] [PATCH 1/2] librte_sched: add post-init pipe profile api

2018-03-09 Thread Jasvinder Singh
Add new API function to add more pipe configuration profiles post initialization to the set of exisitng profiles specified during the creation of scheduler port. This API removes the current limitation that forces the user to define the full set of pipe profiles as the part of port parameters whil