-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libxdp: Convert xdp-dispatcher to use strict section names
Use SEC("xdp") as recommended by new strict section naming rules in upstream libbpf, and backport the internal __xdp_program__find_file() function from the master branch to find BPF program in object by program name instead of section name. This is a backport of commit: d165118 ("libxdp: Convert xdp-dispatcher to use strict section name") from the master branch, with the internal functions from commit: 239e64e ("libxdp: Introduce OPTS based xdp_program__create") Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
- Loading branch information
Showing
2 changed files
with
39 additions
and
17 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