From mboxrd@z Thu Jan 1 00:00:00 1970 From: Davide Caratti Subject: [PATCH net-next 0/2] TDC fixes for eBPF actions Date: Thu, 4 Oct 2018 18:34:37 +0200 Message-ID: Cc: netdev@vger.kernel.org To: Lucas Bates , Jamal Hadi Salim , Roman Mashak , Marcelo Ricardo Leitner , Vlad Buslov , "David S . Miller" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:57580 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727540AbeJDX3d (ORCPT ); Thu, 4 Oct 2018 19:29:33 -0400 Sender: netdev-owner@vger.kernel.org List-ID: 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