commit | 450c4ea15ecb89567e6a75b89cbb8a598a7efb75 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <dada1@cosmosbay.com> | Mon May 18 00:35:38 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon May 18 15:15:06 2009 -0700 |
tree | 5e99e5e58ca2e5e046d47963773ef66857bec46a | |
parent | 7004bf252c53da18f6b55103e0c92f777f846806 [diff] |
vlan: use struct netdev_queue counters instead of dev->stats We can update netdev_queue tx_bytes/tx_packets/tx_dropped counters instead of dev->stats ones, to reduce number of cache lines dirtied in xmit path. This fixes a performance problem on SMP when many different cpus take vlan tx path. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>