ip_input - chksum - why is it done so early in ip_input?

Robert Watson rwatson at freebsd.org
Sat Jan 17 12:55:09 PST 2004


On Sat, 17 Jan 2004, Andre Oppermann wrote:

> > Besides that i'd like to add that FreeBSD has the fastest forwarding engine
> > i've seen on any free OS. It's in my opinion a very suitable OS for
> > routing/forwarding.
> 
> We are working on it to make it even faster.  If you are using 5.2 or
> -current you get the first step of it by enabling
> net.inet.ip.fastfowarding.  This is a newly written fast path for packet
> forwarding. (Do not do this on 4.9 because that is the old ip_flow
> code). 

You can also enable debug.mpsafenet, which disables holding the Giant lock
over the forwarding path for supported ethernet drivers.  Unfortunately,
this option can't be used with KAME IPSEC or IPv6 yet, but can be used
with FAST_IPSEC.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Senior Research Scientist, McAfee Research




More information about the freebsd-hackers mailing list