]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:20:29 +0000 (08:20 +0100)
commite4aecc15d7c4741f72c83bef46f2b69a9cbb73f6
treee533bc6041f02d1c04ab390acda748d7629dd162
parentd653bd939cb1bb69dc8ea5b51b12626481e85c50
tc-testing: fix build of eBPF programs

[ Upstream commit cf5eafbfa586d030f9321cee516b91d089e38280 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
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