]> 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)
commitc3407adf2764a28d6c79440415b41c530b496eb5
tree30e1371bbdf7b2cdb19c0079d80c7135cfa7a2a5
parent558bc92684d39832a62094b435be0ad618628946
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