2015-06-04 17:48, Dumitrescu, Cristian:
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> > The rte_sched statistics API should allow reading statistics without
> > clearing. Make auto-clear optional. In this version, this is handled
> > by deprecating the old API and adding a new one.
> > 
> > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
[...]
> > --- a/lib/librte_sched/rte_sched_version.map
> > +++ b/lib/librte_sched/rte_sched_version.map
> > @@ -14,8 +14,10 @@ DPDK_2.0 {
> >     rte_sched_port_enqueue;
> >     rte_sched_port_free;
> >     rte_sched_port_get_memory_footprint;
> > +   rte_sched_queue_stats;
> >     rte_sched_queue_read_stats;
> >     rte_sched_subport_config;
> > +   rte_sched_subport_stats;
> >     rte_sched_subport_read_stats;
> >     rte_sched_port_pkt_write;
> >     rte_sched_port_pkt_read_tree_path;
> 
> If we plan to obsolete API function rte_sched_queue_read_stats() and have 
> people use the new API function rte_sched_queue_stats(), we should replace 
> every usage of the obsolete function with call to new function. We need to do 
> this in examples/qos_sched and app/test.

Patchwork status is now "Changes requested".

Reply via email to