aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <[email protected]>2022-06-15 16:48:46 +0300
committerAlexei Starovoitov <[email protected]>2022-06-16 21:20:30 -0700
commit9a4cf073866c414199be52bdac1afe6f72ecb8e1 (patch)
tree77f8cf9d5a7a4aaa82b255f3e199b1760b7d181e /tools/perf/scripts/python/libxed.py
parentfb5cd0ce70d43b9bf589aa05aaa067350c3d3b26 (diff)
bpf: Allow the new syncookie helpers to work with SKBs
This commit allows the new BPF helpers to work in SKB context (in TC BPF programs): bpf_tcp_raw_{gen,check}_syncookie_ipv{4,6}. Using these helpers in TC BPF programs is not recommended, because it's unlikely that the BPF program will provide any substantional speedup compared to regular SYN cookies or synproxy, after the SKB is already created. Signed-off-by: Maxim Mikityanskiy <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions