diff options
| author | Eric Dumazet <edumazet@google.com> | 2013-10-16 05:49:04 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-10-17 16:11:04 -0400 |
| commit | 0baf2b35fc70ab16c385963d2502da26a55d2cb7 (patch) | |
| tree | f94f8bbb91aaf3ad1d7f0a8a342a83786e7ff12b /include | |
| parent | a5bb202b848c7962f942f81d93290a9ccdfb1a0f (diff) | |
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.h | 8 |
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 { | |||
| 88 | }; | 88 | }; |
| 89 | 89 | ||
| 90 | struct rt_cache_stat { | 90 | struct rt_cache_stat { |
| 91 | unsigned int in_hit; | ||
| 92 | unsigned int in_slow_tot; | 91 | unsigned int in_slow_tot; |
| 93 | unsigned int in_slow_mc; | 92 | unsigned int in_slow_mc; |
| 94 | unsigned int in_no_route; | 93 | unsigned int in_no_route; |
| 95 | unsigned int in_brd; | 94 | unsigned int in_brd; |
| 96 | unsigned int in_martian_dst; | 95 | unsigned int in_martian_dst; |
| 97 | unsigned int in_martian_src; | 96 | unsigned int in_martian_src; |
| 98 | unsigned int out_hit; | ||
| 99 | unsigned int out_slow_tot; | 97 | unsigned int out_slow_tot; |
| 100 | unsigned int out_slow_mc; | 98 | unsigned int out_slow_mc; |
| 101 | unsigned int gc_total; | ||
| 102 | unsigned int gc_ignored; | ||
| 103 | unsigned int gc_goal_miss; | ||
| 104 | unsigned int gc_dst_overflow; | ||
| 105 | unsigned int in_hlist_search; | ||
| 106 | unsigned int out_hlist_search; | ||
| 107 | }; | 99 | }; |
| 108 | 100 | ||
| 109 | extern struct ip_rt_acct __percpu *ip_rt_acct; | 101 | extern struct ip_rt_acct __percpu *ip_rt_acct; |
