selftests: bpf: Adding config fragment CONFIG_CGROUP_BPF=y

Message ID 1513020323-29591-1-git-send-email-naresh.kamboju@linaro.org
State New
Headers show
Series
  • selftests: bpf: Adding config fragment CONFIG_CGROUP_BPF=y
Related show

Commit Message

Naresh Kamboju Dec. 11, 2017, 7:25 p.m.
CONFIG_CGROUP_BPF=y is required for test_dev_cgroup test case.

Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>

---
 tools/testing/selftests/bpf/config | 1 +
 1 file changed, 1 insertion(+)

-- 
2.7.4

Comments

Roman Gushchin Dec. 11, 2017, 7:41 p.m. | #1
Hi Naresh,

Looks good!

Thanks!

On Tue, Dec 12, 2017 at 12:55:23AM +0530, Naresh Kamboju wrote:
> CONFIG_CGROUP_BPF=y is required for test_dev_cgroup test case.

> 

> Signed-off-by: Naresh Kamboju <naresh.kamboju@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 52d53ed..9d48973 100644

> --- a/tools/testing/selftests/bpf/config

> +++ b/tools/testing/selftests/bpf/config

> @@ -3,3 +3,4 @@ CONFIG_BPF_SYSCALL=y

>  CONFIG_NET_CLS_BPF=m

>  CONFIG_BPF_EVENTS=y

>  CONFIG_TEST_BPF=m

> +CONFIG_CGROUP_BPF=y

> -- 

> 2.7.4

>
Daniel Borkmann Dec. 12, 2017, 1:34 a.m. | #2
On 12/11/2017 08:25 PM, Naresh Kamboju wrote:
> CONFIG_CGROUP_BPF=y is required for test_dev_cgroup test case.

> 

> Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>


Applied to bpf-next, thanks Naresh!

Patch

diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config
index 52d53ed..9d48973 100644
--- a/tools/testing/selftests/bpf/config
+++ b/tools/testing/selftests/bpf/config
@@ -3,3 +3,4 @@  CONFIG_BPF_SYSCALL=y
 CONFIG_NET_CLS_BPF=m
 CONFIG_BPF_EVENTS=y
 CONFIG_TEST_BPF=m
+CONFIG_CGROUP_BPF=y