diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2020-06-02 17:58:34 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-06-02 21:50:23 +0300 |
commit | c4ba153b6501fa7ccfdc7e57946fb1d6011e36e8 (patch) | |
tree | 47088e7997d1baf81e988db64874164ff5bbe234 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7cdec54f9713256bb170873a1fc5c75c9127c9d2 (diff) | |
download | linux-c4ba153b6501fa7ccfdc7e57946fb1d6011e36e8.tar.xz |
bpf, selftests: Adapt cls_redirect to call csum_level helper
Adapt bpf_skb_adjust_room() to pass in BPF_F_ADJ_ROOM_NO_CSUM_RESET flag and
use the new bpf_csum_level() helper to inc/dec the checksum level by one after
the encap/decap.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Lorenz Bauer <lmb@cloudflare.com>
Link: https://lore.kernel.org/bpf/e7458f10e3f3d795307cbc5ad870112671d9c6f7.1591108731.git.daniel@iogearbox.net
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions