netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] TDC fixes for eBPF actions
@ 2018-10-04 16:34 Davide Caratti
  2018-10-04 16:34 ` [PATCH net-next 1/2] tc-testing: fix build of eBPF programs Davide Caratti
  2018-10-04 16:34 ` [PATCH net-next 2/2] tc-testing: use a plugin to build eBPF program Davide Caratti
  0 siblings, 2 replies; 3+ messages in thread
From: Davide Caratti @ 2018-10-04 16:34 UTC (permalink / raw)
  To: Lucas Bates, Jamal Hadi Salim, Roman Mashak,
	Marcelo Ricardo Leitner, Vlad Buslov, David S . Miller
  Cc: netdev

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

-- 
2.17.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-04 23:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-04 16:34 [PATCH net-next 0/2] TDC fixes for eBPF actions Davide Caratti
2018-10-04 16:34 ` [PATCH net-next 1/2] tc-testing: fix build of eBPF programs Davide Caratti
2018-10-04 16:34 ` [PATCH net-next 2/2] tc-testing: use a plugin to build eBPF program Davide Caratti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).