From: Lorenz Bauer <lmb@cloudflare.com>
To: Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>
Cc: theojulienne@github.com, Lorenz Bauer <lmb@cloudflare.com>,
netdev@vger.kernel.org, bpf@vger.kernel.org
Subject: [PATCH 0/1] Open source our TC classifier
Date: Fri, 24 Apr 2020 19:55:54 +0100 [thread overview]
Message-ID: <20200424185556.7358-1-lmb@cloudflare.com> (raw)
We've been developing an in-house L4 load balancer based on XDP
and TC for a while. Following Alexei's call for more up-to-date examples of
production BPF in the kernel tree [1], Cloudflare is making this available
under dual GPL-2.0 or BSD 3-clause terms.
The code requires at least v5.3 to function correctly.
1: https://lore.kernel.org/bpf/20200326210719.den5isqxntnoqhmv@ast-mbp/
Lorenz Bauer (1):
selftests/bpf: add cls_redirect classifier
.../selftests/bpf/prog_tests/cls_redirect.c | 456 +++++++
.../selftests/bpf/progs/test_cls_redirect.c | 1058 +++++++++++++++++
.../selftests/bpf/progs/test_cls_redirect.h | 54 +
tools/testing/selftests/bpf/test_progs.h | 7 +
4 files changed, 1575 insertions(+)
create mode 100644 tools/testing/selftests/bpf/prog_tests/cls_redirect.c
create mode 100644 tools/testing/selftests/bpf/progs/test_cls_redirect.c
create mode 100644 tools/testing/selftests/bpf/progs/test_cls_redirect.h
--
2.20.1
next reply other threads:[~2020-04-24 18:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-24 18:55 Lorenz Bauer [this message]
2020-04-24 18:55 ` [PATCH 1/1] selftests/bpf: add cls_redirect classifier Lorenz Bauer
2020-04-26 17:33 ` Alexei Starovoitov
2020-04-27 9:45 ` Lorenz Bauer
2020-05-01 23:48 ` Daniel Borkmann
2020-05-04 23:48 ` Alexei Starovoitov
2020-05-05 13:37 ` Daniel Borkmann
2020-05-06 1:30 ` Alexei Starovoitov
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=20200424185556.7358-1-lmb@cloudflare.com \
--to=lmb@cloudflare.com \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=netdev@vger.kernel.org \
--cc=theojulienne@github.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 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).