]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/if_tunnel.h
net: unify the pcpu_tstats and br_cpu_netstats as one
[mirror_ubuntu-artful-kernel.git] / include / linux / if_tunnel.h
index f4e56ecd0b1ab49b0e09594e16fe996165168d11..712710bc05803f7fa7b47014d55e1471be18d837 100644 (file)
 #define for_each_ip_tunnel_rcu(pos, start) \
        for (pos = rcu_dereference(start); pos; pos = rcu_dereference(pos->next))
 
-/* often modified stats are per cpu, other are shared (netdev->stats) */
-struct pcpu_tstats {
-       u64     rx_packets;
-       u64     rx_bytes;
-       u64     tx_packets;
-       u64     tx_bytes;
-       struct u64_stats_sync   syncp;
-};
-
 #endif /* _IF_TUNNEL_H_ */