tc-testing: fix build of eBPF programs
authorDavide Caratti <dcaratti@redhat.com>
Thu, 4 Oct 2018 16:34:38 +0000 (18:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 21:44:55 +0000 (14:44 -0700)
commitcf5eafbfa586d030f9321cee516b91d089e38280
tree30e1371bbdf7b2cdb19c0079d80c7135cfa7a2a5
parent4a84810eaa20337ffc033c299d35ab91877e3814
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>
tools/testing/selftests/tc-testing/bpf/Makefile [new file with mode: 0644]
tools/testing/selftests/tc-testing/bpf/action.c [new file with mode: 0644]
tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json
tools/testing/selftests/tc-testing/tdc_config.py