DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Please any one who can help me with librte_sched
@ 2014-05-27 13:33 Ariel Rodriguez
  2014-05-27 16:34 ` Stephen Hemminger
  0 siblings, 1 reply; 8+ messages in thread
From: Ariel Rodriguez @ 2014-05-27 13:33 UTC (permalink / raw)
  To: dev

Hello , this is my third mail , the previous mails have not been answered
yet.

I justo need someone explains to me  how the librte_sched framework behaves
in a specific situation.

I have a managment application , this connects with a ring with the tx
core, when a user applies some configuration of the bandwith mangement ,
the tx core read the message in the ring parse the configuration in a
rte_port_params struct , subport_params and pipe_params, then creates a new
rte_sched from scratch , and then changes the pointer of the current
rte_sched_port currently doing scheduling and then the code execurte
rte_sched_port_free() for the unreference (reference by temporal pointer)
rte_sched_port . This is the only way i found for applying dinamic
configuration or changes to the qos framework.
So, with this, what happens with the packets attached to the old
rte_sched_port while is deleted? are those lost packets inside the
rte_sched_port generates memory leaks?  how can i recover this packets _
just dequeing from the port scheduler? Where the port scheduler  indicates
empty packets in the queu state?

Is there a better way to achieve this kind of behaviour? i just need to
update  the rte_sched_port configuration dinamically, and i want to change
the current pipe configuration and sub port configuration also.

Regards .

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-05-30  0:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-27 13:33 [dpdk-dev] Please any one who can help me with librte_sched Ariel Rodriguez
2014-05-27 16:34 ` Stephen Hemminger
2014-05-27 18:31   ` Dumitrescu, Cristian
2014-05-28  0:45     ` Ariel Rodriguez
2014-05-28 10:10       ` Dumitrescu, Cristian
2014-05-28 10:49         ` Ariel Rodriguez
2014-05-29 23:07           ` Dumitrescu, Cristian
     [not found]             ` <CADoa0bZe5w2s8BW84tGBNt6PO_eo4r4njj1K031Tk1d3QYZXdQ@mail.gmail.com>
2014-05-30  0:03               ` [dpdk-dev] Fwd: " Ariel Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).