selftests/bpf: add config fragments BPF_STREAM_PARSER and XDP_SOCKETS

Message ID 1540478848-27827-1-git-send-email-naresh.kamboju@linaro.org
State New
Headers show
Series
  • selftests/bpf: add config fragments BPF_STREAM_PARSER and XDP_SOCKETS
Related show

Commit Message

Naresh Kamboju Oct. 25, 2018, 2:47 p.m.
BPF sockmap and hashmap are dependent on CONFIG_BPF_STREAM_PARSER and
xskmap is dependent on CONFIG_XDP_SOCKETS

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

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

-- 
2.17.1

Comments

Daniel Borkmann Oct. 25, 2018, 10:55 p.m. | #1
On 10/25/2018 04:47 PM, Naresh Kamboju wrote:
> BPF sockmap and hashmap are dependent on CONFIG_BPF_STREAM_PARSER and

> xskmap is dependent on CONFIG_XDP_SOCKETS

> 

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


Applied to bpf, thanks Naresh!

Patch

diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config
index dd49df5e2df4..7f90d3645af8 100644
--- a/tools/testing/selftests/bpf/config
+++ b/tools/testing/selftests/bpf/config
@@ -20,3 +20,5 @@  CONFIG_VXLAN=y
 CONFIG_GENEVE=y
 CONFIG_NET_CLS_FLOWER=m
 CONFIG_LWTUNNEL=y
+CONFIG_BPF_STREAM_PARSER=y
+CONFIG_XDP_SOCKETS=y