summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/forwarding/config
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-02-28 12:25:06 +0200
committerDavid S. Miller <davem@davemloft.net>2018-02-28 12:25:47 -0500
commit73bae6736b6b577b52fbba2d4b71a5a3e9920fb5 (patch)
treed43ffba823395681367b3db91d9e1aec0b9a2a7a /tools/testing/selftests/net/forwarding/config
parent8230819494b3bf284ca7262ac5f877333147b937 (diff)
selftests: forwarding: Add initial testing framework
Add initial framework to test packet forwarding functionality. The tests can run on actual devices using loop-backed cables or using veth pairs. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/forwarding/config')
-rw-r--r--tools/testing/selftests/net/forwarding/config12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/selftests/net/forwarding/config b/tools/testing/selftests/net/forwarding/config
new file mode 100644
index 000000000000..5cd2aed97958
--- /dev/null
+++ b/tools/testing/selftests/net/forwarding/config
@@ -0,0 +1,12 @@
+CONFIG_BRIDGE=m
+CONFIG_VLAN_8021Q=m
+CONFIG_BRIDGE_VLAN_FILTERING=y
+CONFIG_NET_L3_MASTER_DEV=y
+CONFIG_IPV6_MULTIPLE_TABLES=y
+CONFIG_NET_VRF=m
+CONFIG_BPF_SYSCALL=y
+CONFIG_CGROUP_BPF=y
+CONFIG_NET_CLS_FLOWER=m
+CONFIG_NET_SCH_INGRESS=m
+CONFIG_NET_ACT_GACT=m
+CONFIG_VETH=m