summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorEric Dumazet2010-09-27 22:50:33 +0200
committerDavid S. Miller2010-09-29 22:23:30 +0200
commit6d81f41c58c69ddde497e9e640ba5805aa26e78c (patch)
tree9e4cadd10af9f487fabb99a393f095d185160a13 /include/linux/netdevice.h
parentnet: add a recursion limit in xmit path (diff)
downloadkernel-qcow2-linux-6d81f41c58c69ddde497e9e640ba5805aa26e78c.tar.gz
kernel-qcow2-linux-6d81f41c58c69ddde497e9e640ba5805aa26e78c.tar.xz
kernel-qcow2-linux-6d81f41c58c69ddde497e9e640ba5805aa26e78c.zip
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/netdevice.h')
-rw-r--r--include/linux/netdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index c2bec990bd17..6f0845e0b888 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;