net: add dev_txq_stats_fold() helper
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 16 Nov 2009 03:36:51 +0000 (03:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Nov 2009 07:51:52 +0000 (23:51 -0800)
Some drivers ndo_get_stats() method need to perform txqueue stats folding.

Move folding from dev_get_stats() to a new dev_txq_stats_fold() function

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found