summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-09-27 20:50:33 +0000
committerDavid S. Miller <davem@davemloft.net>2010-09-29 13:23:30 -0700
commit6d81f41c58c69ddde497e9e640ba5805aa26e78c (patch)
tree9e4cadd10af9f487fabb99a393f095d185160a13 /include/linux/netdevice.h
parent745e20f1b626b1be4b100af5d4bf7b3439392f8f (diff)
downloadblackbird-op-linux-6d81f41c58c69ddde497e9e640ba5805aa26e78c.tar.gz
blackbird-op-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;
OpenPOWER on IntegriCloud