-
Notifications
You must be signed in to change notification settings - Fork 2
[Draft] Get vmlinux id without syscall #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2d2f0d6
1a7dfcb
f1e8503
844d805
dafd55a
4e3c682
8c8945a
3d44fe4
7a2e68f
1079485
52c0d1b
88c95ca
3ae10ef
456cea4
771695c
d4ce6d2
772ea7b
1ebd166
d94387c
1dd10a7
9fa8f22
fa3e1f2
623ba95
f2a1c36
aa1f95f
1215fab
9614207
e4d0d0d
de81e6c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -215,6 +215,7 @@ static int cpu_map_bpf_prog_run_xdp(struct bpf_cpu_map_entry *rcpu, | |
| { | ||
| struct xdp_rxq_info rxq; | ||
| struct xdp_buff xdp; | ||
| volatile struct xdp_meta_generic xdp_meta_generic; | ||
|
||
| int i, nframes = 0; | ||
|
|
||
| xdp_set_return_frame_no_direct(); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should either stop the operation and return early, or, if you want to still allow use XDP, but without metadata, revert
vsi->xdp_metadata_supportback to false, so the driver wouldn't even try to build it.