tunnels: prepare percpu accounting
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 27 Sep 2010 00:33:35 +0000 (00:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Sep 2010 04:30:42 +0000 (21:30 -0700)
commit290b895e0ba4552dfcfc4bd35759c192345b934a
tree439ffccea9fa87b28b6af2a06e562cc5a0c01f80
parentaf5ef241133b602a77b682009f112e7c3f7604e5
tunnels: prepare percpu accounting

Tunnels are going to use percpu for their accounting.

They are going to use a new tstats field in net_device.

skb_tunnel_rx() is changed to be a wrapper around __skb_tunnel_rx()

IPTUNNEL_XMIT() is changed to be a wrapper around __IPTUNNEL_XMIT()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/net/dst.h
include/net/ipip.h