Timo Teräs
80c802f307
xfrm: cache bundles instead of policies for outgoing flows
...
__xfrm_lookup() is called for each packet transmitted out of
system. The xfrm_find_bundle() does a linear search which can
kill system performance depending on how many bundles are
required per policy.
This modifies __xfrm_lookup() to store bundles directly in
the flow cache. If we did not get a hit, we just create a new
bundle instead of doing slow search. This means that we can now
get multiple xfrm_dst's for same flow (on per-cpu basis).
Signed-off-by: Timo Teras <timo.teras@iki.fi >
Signed-off-by: David S. Miller <davem@davemloft.net >
2010-04-07 03:43:19 -07:00
..
2010-04-03 14:22:15 -07:00
2010-04-06 23:53:30 -07:00
2010-02-22 16:20:22 -08:00
2010-02-16 15:55:18 -08:00
2009-10-07 14:45:58 -07:00
2009-10-18 18:52:53 -07:00
2010-04-06 23:53:30 -07:00
2010-02-22 16:20:22 -08:00
2010-01-17 19:16:02 -08:00
2009-10-05 00:21:56 -07:00
2009-05-18 15:16:37 -07:00
2009-12-03 12:22:55 -08:00
2010-02-04 14:58:46 -08:00
2010-03-21 18:01:05 -07:00
2010-04-03 15:09:04 -07:00
2010-04-03 14:22:15 -07:00
2010-01-17 19:09:39 -08:00
2010-01-19 14:12:20 -08:00
2009-02-26 23:13:35 -08:00
2009-12-08 20:17:51 -08:00
2009-11-23 10:41:23 -08:00
2009-12-08 20:19:53 -08:00
2009-11-13 20:46:58 -08:00
2009-06-03 02:51:04 -07:00
2010-02-02 11:46:50 -08:00
2010-03-21 21:23:28 -07:00
2009-11-25 15:14:13 -08:00
2009-06-03 02:51:04 -07:00
2010-01-06 20:37:01 -08:00
2010-04-01 18:38:47 -07:00
2010-02-22 16:20:22 -08:00
2010-03-24 14:01:54 -07:00
2010-02-16 14:55:25 -08:00
2010-03-27 08:33:21 -07:00
2010-03-16 21:23:21 -07:00
2008-10-07 08:38:24 +11:00
2009-12-08 07:55:01 -08:00
2010-03-21 18:31:35 -07:00
2009-09-14 17:03:01 -07:00
2009-10-29 21:28:59 -07:00
2010-03-26 20:57:35 -07:00
2009-12-23 14:13:30 -08:00
2010-02-18 15:43:09 -08:00
2009-03-02 03:00:15 -08:00
2009-08-14 11:18:34 +10:00
2009-03-02 03:00:15 -08:00
2009-12-03 16:06:13 -08:00
2009-11-23 10:41:23 -08:00
2008-10-07 15:58:17 -07:00
2010-03-24 14:01:54 -07:00
2010-03-19 21:00:42 -07:00
2009-11-23 10:41:23 -08:00
2010-03-21 18:31:35 -07:00
2010-03-08 11:32:01 -08:00
2010-01-25 15:47:50 -08:00
2009-03-02 03:00:15 -08:00
2010-03-08 16:55:37 +01:00
2009-05-25 22:44:59 -07:00
2009-11-23 10:41:23 -08:00
2009-11-23 10:41:23 -08:00
2010-03-30 13:56:01 -07:00
2009-09-14 17:03:01 -07:00
2009-09-30 16:12:20 -07:00
2010-03-05 13:34:03 -08:00
2010-01-17 19:16:02 -08:00
2009-06-03 02:51:04 -07:00
2008-08-06 02:39:30 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2010-04-07 03:43:19 -07:00
2008-11-25 01:05:54 -08:00