tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bpfjit and npf on Xen



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 Fujitsu

  Does 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 1

  Odd; 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



Home | Main Index | Thread Index | Old Index