mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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.
This commit is contained in:
parent
59c0a6708e
commit
4ebd717767
@ -134,7 +134,12 @@
|
||||
<desc>TCP Offload Engine - BCE</desc>
|
||||
<tunable>hw.bce.tso_enable</tunable>
|
||||
<value>0</value>
|
||||
</item>
|
||||
</item>
|
||||
<item>
|
||||
<desc>Enable accelerating of L3 and L2 lookups</desc>
|
||||
<tunable>net.inet.flowtable.enable</tunable>
|
||||
<value>1</value>
|
||||
</item>
|
||||
</sysctl>
|
||||
<system>
|
||||
<optimization>normal</optimization>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user