diff options
author | Toke Høiland-Jørgensen <toke@redhat.com> | 2022-01-03 18:08:10 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-01-06 06:46:32 +0300 |
commit | 1372d34ccf6dd480332b2bcb2fd59a2b9a0df415 (patch) | |
tree | 8bbf0d70bbeb10765d30dd3e284dbbeab56ce584 /net/batman-adv/netlink.c | |
parent | d53ad5d8b218a885e95080d4d3d556b16b91b1b9 (diff) | |
download | linux-1372d34ccf6dd480332b2bcb2fd59a2b9a0df415.tar.xz |
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 <toke@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220103150812.87914-6-toke@redhat.com
Diffstat (limited to 'net/batman-adv/netlink.c')
0 files changed, 0 insertions, 0 deletions