Thread (27 messages) 27 messages, 4 authors, 2014-09-03

Re: [ipsec-next v4 0/2] xfrm: scalability enhancements for policy database

From: Steffen Klassert <steffen.klassert@secunet.com>
Date: 2014-09-03 11:59:25

On Fri, Aug 29, 2014 at 04:16:03PM +0200, Christophe Gouault wrote:
This patchset enables to hash more policies than just non-prefixed
ones: hash policies whose prefix lengths are greater or equal to
configurable thresholds.

These thresholds are configured via netlink message
XFRM_MSG_NEWSPDINFO, attributes XFRMA_SPD_IPV4_HTHRESH and
XFRMA_SPD_IPV6_HTHRESH.

The related iproute2 patch for configuring the thresholds is available
on demand.

Best Regards,
Christophe
----
v2:
- change configuration API from proc to netlink
v3:
- initialize xfrm_policy_hthresh lock
- remove "rebuilding SPD hash table" log
- replace deprecated hlist_add_after by hlist_add_behind
- remove netlink reply to XFRM_MSG_NEWSPDINFO request
v4:
- remove unused variables in xfrm_set_spdinfo
Looks good. All applied to ipsec-next, thanks a lot Christophe!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help