aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/tdc_config.py
diff options
context:
space:
mode:
authorDavide Caratti <dcaratti@redhat.com>2018-10-04 18:34:38 +0200
committerDavid S. Miller <davem@davemloft.net>2018-10-05 14:44:55 -0700
commitcf5eafbfa586d030f9321cee516b91d089e38280 (patch)
tree30e1371bbdf7b2cdb19c0079d80c7135cfa7a2a5 /tools/testing/selftests/tc-testing/tdc_config.py
parentMerge branch 'mscc-ocelot-add-support-for-SerDes-muxing-configuration' (diff)
downloadlinux-dev-cf5eafbfa586d030f9321cee516b91d089e38280.tar.xz
linux-dev-cf5eafbfa586d030f9321cee516b91d089e38280.zip
tc-testing: fix build of eBPF programs
rely on uAPI headers in the current kernel tree, rather than requiring the correct version installed on the test system. While at it, group all sections in a single binary and test the 'section' parameter. Reported-by: Lucas Bates <lucasb@mojatatu.com> Signed-off-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tdc_config.py')
-rw-r--r--tools/testing/selftests/tc-testing/tdc_config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/testing/selftests/tc-testing/tdc_config.py b/tools/testing/selftests/tc-testing/tdc_config.py
index a023d0d62b25..d651bc1501bd 100644
--- a/tools/testing/selftests/tc-testing/tdc_config.py
+++ b/tools/testing/selftests/tc-testing/tdc_config.py
@@ -16,7 +16,9 @@ NAMES = {
'DEV2': '',
'BATCH_FILE': './batch.txt',
# Name of the namespace to use
- 'NS': 'tcut'
+ 'NS': 'tcut',
+ # Directory containing eBPF test programs
+ 'EBPFDIR': './bpf'
}