* [PATCH] selftests: bpf: add config fragment BPF_JIT
@ 2019-08-20 13:41 Anders Roxell
2019-08-21 15:11 ` Daniel Borkmann
0 siblings, 1 reply; 2+ messages in thread
From: Anders Roxell @ 2019-08-20 13:41 UTC (permalink / raw)
To: shuah, ast, daniel
Cc: linux-kselftest, netdev, bpf, linux-kernel, Anders Roxell
When running test_kmod.sh the following shows up
# sysctl cannot stat /proc/sys/net/core/bpf_jit_enable No such file or directory
cannot: stat_/proc/sys/net/core/bpf_jit_enable #
# sysctl cannot stat /proc/sys/net/core/bpf_jit_harden No such file or directory
cannot: stat_/proc/sys/net/core/bpf_jit_harden #
Rework to enable CONFIG_BPF_JIT to solve "No such file or directory"
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
tools/testing/selftests/bpf/config | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config
index f7a0744db31e..5dc109f4c097 100644
--- a/tools/testing/selftests/bpf/config
+++ b/tools/testing/selftests/bpf/config
@@ -34,3 +34,4 @@ CONFIG_NET_MPLS_GSO=m
CONFIG_MPLS_ROUTING=m
CONFIG_MPLS_IPTUNNEL=m
CONFIG_IPV6_SIT=m
+CONFIG_BPF_JIT=y
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] selftests: bpf: add config fragment BPF_JIT
2019-08-20 13:41 [PATCH] selftests: bpf: add config fragment BPF_JIT Anders Roxell
@ 2019-08-21 15:11 ` Daniel Borkmann
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Borkmann @ 2019-08-21 15:11 UTC (permalink / raw)
To: Anders Roxell, shuah, ast; +Cc: linux-kselftest, netdev, bpf, linux-kernel
On 8/20/19 3:41 PM, Anders Roxell wrote:
> When running test_kmod.sh the following shows up
>
> # sysctl cannot stat /proc/sys/net/core/bpf_jit_enable No such file or directory
> cannot: stat_/proc/sys/net/core/bpf_jit_enable #
> # sysctl cannot stat /proc/sys/net/core/bpf_jit_harden No such file or directory
> cannot: stat_/proc/sys/net/core/bpf_jit_harden #
>
> Rework to enable CONFIG_BPF_JIT to solve "No such file or directory"
>
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-21 15:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-20 13:41 [PATCH] selftests: bpf: add config fragment BPF_JIT Anders Roxell
2019-08-21 15:11 ` Daniel Borkmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).