[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1406884348-12423-1-git-send-email-christophe.gouault@6wind.com>
Date: Fri, 1 Aug 2014 11:12:26 +0200
From: Christophe Gouault <christophe.gouault@...nd.com>
To: "David S. Miller" <davem@...emloft.net>,
Steffen Klassert <steffen.klassert@...unet.com>
Cc: netdev@...r.kernel.org
Subject: [PATCH net-next v2 0/2] xfrm: scalability enhancements for policy database
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:
- changed configuration API from proc to netlink
---
include/net/netns/xfrm.h | 14 +++++++
include/net/xfrm.h | 1 +
include/uapi/linux/xfrm.h | 7 ++++
net/xfrm/xfrm_hash.h | 76 ++++++++++++++++++++++++++++++-----
net/xfrm/xfrm_policy.c | 143
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
net/xfrm/xfrm_user.c | 91
++++++++++++++++++++++++++++++++++++++++--
6 files changed, 313 insertions(+), 19 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists