On Wed, 14 Sep 2016, Jan Danielsson wrote:
On 14/09/16 17:15, Stephen Borrill wrote:On Wed, 14 Sep 2016, Jan Danielsson wrote:On 14/09/16 16:43, Stephen Borrill wrote: [---]I can't see any way to build bpfjit into the kernel though: # grep jit /usr/src/7.0/sys/arch/amd64/conf/GENERIC| grep -v FujitsuDoes adding: options SLJIT options BPFJIT .. work?--- bpfjit.d --- /usr/src/7.0/sys/net/bpfjit.c:72:22: fatal error: sljitLir.h: No such file or directory #include <sljitLir.h> ^ compilation terminated. nbmkdep: compile failed. *** [bpfjit.d] Error code 1Odd; I used the two lines to get npf working (without the warnings) on my netbsd-7 system. I'll try a more recent -7 kernel.
It appears that kernels based on GENERIC are OK, but kernels based on XEN3_DOMU are not.
-- Stephen