[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200424185556.7358-1-lmb@cloudflare.com>
Date: Fri, 24 Apr 2020 19:55:54 +0100
From: Lorenz Bauer <lmb@...udflare.com>
To: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>
Cc: theojulienne@...hub.com, Lorenz Bauer <lmb@...udflare.com>,
netdev@...r.kernel.org, bpf@...r.kernel.org
Subject: [PATCH 0/1] Open source our TC classifier
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
Powered by blists - more mailing lists