diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-09-27 20:50:33 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-29 20:23:30 (GMT) |
commit | 6d81f41c58c69ddde497e9e640ba5805aa26e78c (patch) | |
tree | 9e4cadd10af9f487fabb99a393f095d185160a13 /include/linux | |
parent | 745e20f1b626b1be4b100af5d4bf7b3439392f8f (diff) | |
download | linux-fsl-qoriq-6d81f41c58c69ddde497e9e640ba5805aa26e78c.tar.xz |
dummy: percpu stats and lockless xmit
Converts dummy network device driver to :
- percpu stats
- 64bit stats
- lockless xmit (NETIF_F_LLTX)
- performance features added (NETIF_F_SG | NETIF_F_FRAGLIST |
NETIF_F_TSO | NETIF_F_NO_CSUM | NETIF_F_HIGHDMA)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index c2bec99..6f0845e 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1057,6 +1057,7 @@ struct net_device { void *ml_priv; struct pcpu_lstats __percpu *lstats; /* loopback stats */ struct pcpu_tstats __percpu *tstats; /* tunnel stats */ + struct pcpu_dstats __percpu *dstats; /* dummy stats */ }; /* GARP */ struct garp_port *garp_port; |