Skip to content

TDC fixes for eBPF actions

Davide Caratti netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tc-testing: fix build of eBPF programstools/testing/selftests/tc-testing/bpf/Makefile tools/testing/selftests/tc-testing/bpf/action.c tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json +1 more+63 -90 replies
2/2tc-testing: use a plugin to build eBPF programtools/testing/selftests/tc-testing/README tools/testing/selftests/tc-testing/plugin-lib/buildebpfPlugin.py tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json+70 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] TDC fixes for eBPF actions

Lucas and Roman reported TDC errors while testing act_bpf with TDC:

- patch 1/2 fixes the reported problem (include of wrong headers).
- patch 2/2 allows building eBPF test programs for TDC using a plugin.

Davide Caratti (2):
tc-testing: fix build of eBPF programs
tc-testing: use a plugin to build eBPF program

 tools/testing/selftests/tc-testing/README     |  2 +
 .../testing/selftests/tc-testing/bpf/Makefile | 29 ++++++++
 .../testing/selftests/tc-testing/bpf/action.c | 23 +++++++
 .../tc-testing/plugin-lib/buildebpfPlugin.py  | 66 +++++++++++++++++++
 .../tc-testing/tc-tests/actions/bpf.json      | 16 ++---
 .../selftests/tc-testing/tdc_config.py        |  4 +-
 6 files changed, 129 insertions(+), 11 deletions(-)
 create mode 100644 tools/testing/selftests/tc-testing/bpf/Makefile
 create mode 100644 tools/testing/selftests/tc-testing/bpf/action.c
 create mode 100644 tools/testing/selftests/tc-testing/plugin-lib/buildebpfPlugin.py
Signature · 1 line
2.17.1