diff options
| author | Vadim Fedorenko <[email protected]> | 2024-04-22 15:50:21 -0700 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2024-04-24 16:01:10 -0700 |
| commit | 3e1c6f35409f9e447bf37f64840f5b65576bfb78 (patch) | |
| tree | 6ff5c59d598f975728cfdd1f4d29407d4b6cae01 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 95c07d58250ca3ed01855c20be568cf04e15382f (diff) | |
bpf: make common crypto API for TC/XDP programs
Add crypto API support to BPF to be able to decrypt or encrypt packets
in TC/XDP BPF programs. Special care should be taken for initialization
part of crypto algo because crypto alloc) doesn't work with preemtion
disabled, it can be run only in sleepable BPF program. Also async crypto
is not supported because of the very same issue - TC/XDP BPF programs
are not sleepable.
Signed-off-by: Vadim Fedorenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions