]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcdb7b13f44245b5a4d4d264fb2f15489b034441e
tree439ffccea9fa87b28b6af2a06e562cc5a0c01f80
parent1b1954e86bf410579f37001a2e81914c9cdd4312
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