summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2009-04-19 00:16:04 +0000
committerkmacy <kmacy@FreeBSD.org>2009-04-19 00:16:04 +0000
commit1aef8359b16173faa1d44e30e6568a2b969c108c (patch)
treea8dd99d5429950a3e406416fb5ea917ae6a0392d /sys/conf
parent60cacdeeef7ebfc3649c86d476c228917ae3bf99 (diff)
downloadFreeBSD-src-1aef8359b16173faa1d44e30e6568a2b969c108c.zip
FreeBSD-src-1aef8359b16173faa1d44e30e6568a2b969c108c.tar.gz
- 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. Supported by: Bitgravity Inc.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/NOTES3
-rw-r--r--sys/conf/files1
-rw-r--r--sys/conf/options1
3 files changed, 5 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index b06d8d2..fe3f1ff 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -553,6 +553,9 @@ options LIBMCHAIN
# libalias library, performing NAT
options LIBALIAS
+# flowtable cache
+options FLOWTABLE
+
#
# SCTP is a NEW transport protocol defined by
# RFC2960 updated by RFC3309 and RFC3758.. and
diff --git a/sys/conf/files b/sys/conf/files
index 9bb1480..17847b4 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -2145,6 +2145,7 @@ net/bpf_jitter.c optional bpf_jitter
net/bpf_filter.c optional bpf | netgraph_bpf
net/bpf_zerocopy.c optional bpf
net/bridgestp.c optional bridge | if_bridge
+net/flowtable.c optional flowtable
net/ieee8023ad_lacp.c optional lagg
net/if.c standard
net/if_arcsubr.c optional arcnet
diff --git a/sys/conf/options b/sys/conf/options
index e95b84d..ade971b 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -417,6 +417,7 @@ TCP_OFFLOAD_DISABLE opt_inet.h #Disable code to dispatch tcp offloading
TCP_SIGNATURE opt_inet.h
VLAN_ARRAY opt_vlan.h
XBONEHACK
+FLOWTABLE opt_route.h
#
# SCTP
OpenPOWER on IntegriCloud