From 4ebd717767e1d898d021a73b4aa354e6538fefdf Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 9 Jun 2009 22:38:19 -0400 Subject: Add L2 L3 Cache lookup by default. - Import infrastructure for caching flows as a means of accelerating L3 and L2 lookups as well as providing stateful load balancing when used with RADIX_MPATH. - Currently compiled in to i386 and amd64 but disabled by default, it can be enabled at runtime with 'sysctl net.inet.flowtable.enable=1'. - Embedded users can remove it entirely from the kernel by adding 'nooption FLOWTABLE' to their kernel config files. - A minimal hookup will be added to ip_output in a subsequent commit. I would like to see more review before bringing in changes that require more churn. --- conf.default/config.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'conf.default') diff --git a/conf.default/config.xml b/conf.default/config.xml index b9e89ab..6895aa7 100644 --- a/conf.default/config.xml +++ b/conf.default/config.xml @@ -134,7 +134,12 @@ TCP Offload Engine - BCE hw.bce.tso_enable 0 - + + + Enable accelerating of L3 and L2 lookups + net.inet.flowtable.enable + 1 + normal -- cgit v1.1