Re: [dpdk-dev] [PATCH] rte_sched: don't count RED-drops as tail-drops

2017-09-25 Thread Dumitrescu, Cristian
> > Packets that are RED-dropped are not Tail-dropped, so the n_pkts_dropped > counter should not be incremented when the n_pkts_red_dropped counter > is. > Hi Alan, Not really: * The n_pkts_dropped counter is intended to be incremented every time a packet is dropped, regardless of the drop ca

[dpdk-dev] [PATCH] rte_sched: don't count RED-drops as tail-drops

2017-08-24 Thread Alan Dewar
Everytime the rte_sched_port_update_subport_stats_on_drop or rte_sched_port_update_queue_stats_on_drop functions are called the n_pkts_dropped counter is incremented. The n_pkts_red_dropped counter is only incremented when the function argument red is non-zero. Packets that are RED-dropped are no