"Mindaugas Rasiukevicius" <rm...@netbsd.org> wrote: > Module Name: src > Committed By: rmind > Date: Wed Aug 1 23:24:29 UTC 2012 > > <...> > > Log Message: > Add BPF JIT compiler, currently supporting amd64 and i386. Code obtained > from FreeBSD. Also, make few BPF fixes and simplifications while here. > Note that bpf_jit_enable is false for now.
FYI: FreeBSD has quite comprehensive regression tests for BPF. With some changes they run on NetBSD. http://www.netbsd.org/~rmind/regress/bpf_tests.tar.bz2 Out of 84 tests, all pass with BPF JIT enabled (and disabled). -- Mindaugas