NIU: Implement discard counters, optimize
authorJesper Dangaard Brouer <hawk@comx.dk>
Fri, 19 Dec 2008 03:51:56 +0000 (19:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Dec 2008 06:27:41 +0000 (22:27 -0800)
Optimize the lightly loaded case, by only synchronizing discards stats
when qlen > 10 indicate potential for drops.

Notice Robert Olsson might disagree with this patch.

Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found