Jamal Hadi Salim
28d8909bc7
[XFRM]: Export SAD info.
...
On a system with a lot of SAs, counting SAD entries chews useful
CPU time since you need to dump the whole SAD to user space;
i.e something like ip xfrm state ls | grep -i src | wc -l
I have seen taking literally minutes on a 40K SAs when the system
is swapping.
With this patch, some of the SAD info (that was already being tracked)
is exposed to user space. i.e you do:
ip xfrm state count
And you get the count; you can also pass -s to the command line and
get the hash info.
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca >
Signed-off-by: David S. Miller <davem@davemloft.net >
2007-04-26 00:10:29 -07:00
..
2007-03-06 13:26:55 +01:00
2007-03-09 08:08:09 +00:00
2007-04-25 22:27:30 -07:00
2007-04-25 22:28:58 -07:00
2007-04-25 22:25:34 -07:00
2007-04-04 21:12:47 -07:00
2007-03-16 19:25:04 -07:00
2007-03-06 09:30:26 -08:00
2007-04-04 02:12:27 -04:00
2007-04-25 22:25:31 -07:00
2007-03-06 09:30:25 -08:00
2007-03-16 19:25:05 -07:00
2007-03-22 19:39:05 -07:00
2007-03-08 07:38:22 -08:00
2007-03-26 14:23:52 -07:00
2007-04-02 10:06:09 -07:00
2007-04-25 22:28:56 -07:00
2007-04-02 10:06:09 -07:00
2007-03-27 09:05:15 -07:00
2007-04-25 22:28:35 -07:00
2007-04-25 22:24:32 -07:00
2007-04-07 10:03:43 -07:00
2007-04-25 22:25:31 -07:00
2007-04-25 22:25:31 -07:00
2007-04-10 22:38:37 +02:00
2007-04-25 22:23:43 -07:00
2007-04-25 22:25:12 -07:00
2007-04-25 22:28:44 -07:00
2007-04-25 22:30:01 -07:00
2007-04-25 22:29:10 -07:00
2007-04-25 22:29:14 -07:00
2007-04-25 22:28:57 -07:00
2007-04-25 22:24:41 -07:00
2007-04-25 22:26:20 -07:00
2007-04-25 22:25:31 -07:00
2007-04-25 22:29:57 -07:00
2007-04-25 22:29:10 -07:00
2007-04-17 16:36:27 -07:00
2007-04-25 22:25:31 -07:00
2007-03-27 09:05:16 -07:00
2007-04-25 22:25:31 -07:00
2007-04-25 22:25:52 -07:00
2007-03-16 19:25:05 -07:00
2007-04-25 22:29:41 -07:00
2007-04-04 21:12:47 -07:00
2007-04-25 22:29:49 -07:00
2007-04-04 02:12:27 -04:00
2007-03-22 19:39:06 -07:00
2007-03-05 07:57:51 -08:00
2007-03-12 16:31:50 -07:00
2007-03-06 06:14:54 -05:00
2007-03-06 13:26:27 +01:00
2007-04-25 22:29:41 -07:00
2007-04-25 22:28:57 -07:00
2007-04-25 22:27:45 -07:00
2007-04-25 22:29:03 -07:00
2007-03-16 19:25:05 -07:00
2007-03-16 19:25:05 -07:00
2007-04-20 22:56:29 -07:00
2007-04-25 22:29:41 -07:00
2007-03-12 16:31:50 -07:00
2007-03-12 16:31:50 -07:00
2007-03-27 08:55:47 +02:00
2007-04-17 16:36:26 -07:00
2007-04-25 22:27:04 -07:00
2007-04-25 22:25:31 -07:00
2007-03-14 15:27:48 -07:00
2007-04-25 22:29:45 -07:00
2007-03-05 07:57:53 -08:00
2007-04-25 22:28:57 -07:00
2007-03-18 13:40:06 -07:00
2007-04-24 08:23:08 -07:00
2007-04-25 22:25:31 -07:00
2007-04-25 22:25:31 -07:00
2007-03-16 19:25:03 -07:00
2007-03-27 09:05:15 -07:00
2007-03-16 19:25:05 -07:00
2007-03-27 14:10:26 -04:00
2007-04-26 00:10:29 -07:00