]> git.karo-electronics.de Git - mv-sheeva.git/commit
sch_teql: Use net_device internal stats
authorEric Dumazet <dada1@cosmosbay.com>
Tue, 19 May 2009 22:16:34 +0000 (15:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2009 22:36:15 +0000 (15:36 -0700)
commitab35cd4b8f42b5e4a9338949581a510e98503b28
tree06b66cc8e2696f88e3ecf101863d8ed667eb4c1d
parent0cefafadbbe3947fd97b7560a214eb486069faac
sch_teql: Use net_device internal stats

We can slightly reduce size of teqlN structure, not duplicating stats
structure in teql_master but using stats field from net_device.stats
for tx_errors and from netdev_queue for tx_bytes/tx_packets/tx_dropped
values.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_teql.c