Project

General

Profile

« Previous | Next » 

Revision 4ebd7177

Added by Scott Ullrich about 16 years ago

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.

View differences:

conf.default/config.xml
134 134
			<desc>TCP Offload Engine - BCE</desc>
135 135
			<tunable>hw.bce.tso_enable</tunable>
136 136
			<value>0</value>
137
		</item>		
137
		</item>
138
		<item>
139
			<desc>Enable accelerating of L3 and L2 lookups</desc>
140
			<tunable>net.inet.flowtable.enable</tunable>
141
			<value>1</value>
142
		</item>
138 143
	</sysctl>
139 144
	<system>
140 145
		<optimization>normal</optimization>

Also available in: Unified diff