Thread (11 messages) 11 messages, 6 authors, 2011-01-21

Re: [PATCH] net_sched: accurate bytes/packets stats/rates

flat view

From: Eric Dumazet <hidden>
Date: 2011-01-14 18:08:27

Le vendredi 14 janvier 2011 à 09:52 -0800, Stephen Hemminger a écrit :
By using __qdisc_queue_drop_head in sch_fifo.c the stats_update parameter won't be
needed.

Hmm, this is a constant parameter in inline function so removed by
compiler.

And you add a bug in pfifo_tail_enqueue(), it now lacks the
sch->qstats.drops++;
From Eric Dumazet [off-list ref]
Note : This line should be the first one in mail ;)


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help