bpf: use bpf_xdp_load_bytes() / bpf_xdp_store_bytes() helpers#29377
Merged
bpf: use bpf_xdp_load_bytes() / bpf_xdp_store_bytes() helpers#29377
Conversation
Member
Author
|
/test |
8835783 to
f6fb874
Compare
Member
Author
|
/test |
Member
Author
|
/ci-e2e |
Member
Author
|
/ci-verifier |
These helpers were introduced in kernel 5.18, with
3f364222d032 ("net: xdp: introduce bpf_xdp_pointer utility routine").
Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
As the corresponding helpers were introduced in kernel 5.18, also add separate configs for the 6.1 kernel. For now these are just copies of the net-next configs. Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
These are now different from the 5.10 configs. Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
aab3cad to
cc61bdb
Compare
Member
Author
|
/test |
rgo3
approved these changes
Nov 27, 2023
tklauser
approved these changes
Nov 28, 2023
borkmann
approved these changes
Nov 28, 2023
Member
🚀 this could also get us closer to supporting >4k MTU on XDP. |
brlbil
approved these changes
Nov 28, 2023
This was referenced Nov 29, 2023
Member
Author
|
Looks like we want this in |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These helpers were introduced in kernel 5.18, with
3f364222d032 ("net: xdp: introduce bpf_xdp_pointer utility routine").
Add the needed probes, and have the datapath use the helpers when available.
Fixes: #29356