]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb57259df6da8f45de50fea146b631370a1bcaa44
tree30e1371bbdf7b2cdb19c0079d80c7135cfa7a2a5
parent8ace8174dc9d3c162a44f25c5fad9a24149d76ae
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