]> git.baikalelectronics.ru Git - kernel.git/commit
tc-testing: use a plugin to build eBPF program
authorDavide Caratti <dcaratti@redhat.com>
Thu, 4 Oct 2018 16:34:39 +0000 (18:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 21:44:56 +0000 (14:44 -0700)
commitfc4237f9b5f383f408fb2ddf9396ff59e3c8f112
tree766db935876b24122b6f16edb824a380e578dbff
parentb57259df6da8f45de50fea146b631370a1bcaa44
tc-testing: use a plugin to build eBPF program

use a TDC plugin, instead of building eBPF programs in the 'setup' stage.
'-B' argument can be used to build eBPF programs in $EBPFDIR directory,
in the 'pre-suite' stage. Binaries are then cleaned in 'post-suite' stage.

Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/README
tools/testing/selftests/tc-testing/plugin-lib/buildebpfPlugin.py [new file with mode: 0644]
tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json