-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selftests/xsk: Add support check for bpf_xdp_adjust_tail() helper in …
…xskxceiver Add is_adjust_tail_supported function to check if the bpf_xdp_adjust_tail() helper is supported when 'adjust_tail' is set in the test. Look up a specific key in the bss section of the XDP program. If the key is not found or its value is -EOPNOTSUPP, return false, indicating that the helper is not supported. Signed-off-by: Tushar Vyavahare <[email protected]>
- Loading branch information
Showing
2 changed files
with
36 additions
and
2 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