aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf.c
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <[email protected]>2022-01-03 15:08:10 +0000
committerAlexei Starovoitov <[email protected]>2022-01-06 03:46:32 +0000
commit1372d34ccf6dd480332b2bcb2fd59a2b9a0df415 (patch)
tree8bbf0d70bbeb10765d30dd3e284dbbeab56ce584 /tools/lib/bpf/bpf.c
parentxdp: Move conversion to xdp_frame out of map functions (diff)
downloadkernel-1372d34ccf6dd480332b2bcb2fd59a2b9a0df415.tar.gz
kernel-1372d34ccf6dd480332b2bcb2fd59a2b9a0df415.zip
xdp: Add xdp_do_redirect_frame() for pre-computed xdp_frames
Add an xdp_do_redirect_frame() variant which supports pre-computed xdp_frame structures. This will be used in bpf_prog_run() to avoid having to write to the xdp_frame structure when the XDP program doesn't modify the frame boundaries. Signed-off-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf.c')
0 files changed, 0 insertions, 0 deletions