-
Notifications
You must be signed in to change notification settings - Fork 158
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_read_data_load_bytes_prog
This commit introduces xdp_read_data_load_bytes_prog to xdp-bench. This program uses the bpf_xdp_load_bytes helper for packet data access. In contrast, xdp_read_data_prog uses direct packet access. This addition aligns with the existing behavior of -p parse-ip: - 'xdp-bench -p read-data' loads xdp_read_data_prog. - 'xdp-bench -p read-data -l load-bytes' loads xdp_read_data_load_bytes_prog. Signed-off-by: Nimrod Oren <noren@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
- Loading branch information
1 parent
6f9ae82
commit 87915eb
Showing
3 changed files
with
24 additions
and
3 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
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