From: Davide Caratti <dcaratti@redhat.com>
To: Lucas Bates <lucasb@mojatatu.com>,
Jamal Hadi Salim <jhs@mojatatu.com>,
Roman Mashak <mrv@mojatatu.com>,
Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>,
Vlad Buslov <vladbu@mellanox.com>,
"David S . Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: [PATCH net-next 0/2] TDC fixes for eBPF actions
Date: Thu, 4 Oct 2018 18:34:37 +0200 [thread overview]
Message-ID: <cover.1538670184.git.dcaratti@redhat.com> (raw)
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
next reply other threads:[~2018-10-04 23:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-04 16:34 Davide Caratti [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1538670184.git.dcaratti@redhat.com \
--to=dcaratti@redhat.com \
--cc=davem@davemloft.net \
--cc=jhs@mojatatu.com \
--cc=lucasb@mojatatu.com \
--cc=marcelo.leitner@gmail.com \
--cc=mrv@mojatatu.com \
--cc=netdev@vger.kernel.org \
--cc=vladbu@mellanox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.