-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xdp-bench: Introduce xdp_redirect_basic_load_bytes_prog
This commit introduces xdp_redirect_basic_load_bytes_prog to xdp-bench. This program uses the bpf_xdp_load_bytes and bpf_xdp_store_bytes helpers for packet data access. In contrast, xdp_redirect_basic_prog uses direct packet access. The program that will be attached is determined by the --load-mode flag. Signed-off-by: Nimrod Oren <[email protected]>
- Loading branch information
1 parent
8946702
commit d04057c
Showing
2 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters