summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-10-16 13:49:04 +0400
committerDavid S. Miller <davem@davemloft.net>2013-10-18 00:11:04 +0400
commit0baf2b35fc70ab16c385963d2502da26a55d2cb7 (patch)
treef94f8bbb91aaf3ad1d7f0a8a342a83786e7ff12b /include
parenta5bb202b848c7962f942f81d93290a9ccdfb1a0f (diff)
downloadlinux-0baf2b35fc70ab16c385963d2502da26a55d2cb7.tar.xz
ipv4: shrink rt_cache_stat
Half of the rt_cache_stat fields are no longer used after IP route cache removal, lets shrink this per cpu area. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/route.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/net/route.h b/include/net/route.h
index 0ad8e0102386..dd4ae0029fd8 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -88,22 +88,14 @@ struct ip_rt_acct {
};
struct rt_cache_stat {
- unsigned int in_hit;
unsigned int in_slow_tot;
unsigned int in_slow_mc;
unsigned int in_no_route;
unsigned int in_brd;
unsigned int in_martian_dst;
unsigned int in_martian_src;
- unsigned int out_hit;
unsigned int out_slow_tot;
unsigned int out_slow_mc;
- unsigned int gc_total;
- unsigned int gc_ignored;
- unsigned int gc_goal_miss;
- unsigned int gc_dst_overflow;
- unsigned int in_hlist_search;
- unsigned int out_hlist_search;
};
extern struct ip_rt_acct __percpu *ip_rt_acct;