Skip to content
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

bpf: xdp: replace inline assembly in csum helpers #29487

Open
julianwiedmann opened this issue Nov 29, 2023 · 1 comment · May be fixed by #32543
Open

bpf: xdp: replace inline assembly in csum helpers #29487

julianwiedmann opened this issue Nov 29, 2023 · 1 comment · May be fixed by #32543
Assignees
Labels
kind/enhancement This would improve or streamline existing functionality. pinned These issues are not marked stale by our issue bot. sig/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages.

Comments

@julianwiedmann
Copy link
Member

Now that we have native support for bpf_xdp_load_bytes(), wouldn't it be nice if we also replaced the inline assembly in

asm volatile("r1 = *(u32 *)(%[ctx] +0)\n\t"
and
asm volatile("r1 = *(u32 *)(%[ctx] +0)\n\t"
.

@julianwiedmann julianwiedmann added kind/enhancement This would improve or streamline existing functionality. sig/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. pinned These issues are not marked stale by our issue bot. labels Nov 29, 2023
@Jack-R-lantern Jack-R-lantern linked a pull request May 15, 2024 that will close this issue
8 tasks
@Jack-R-lantern
Copy link
Contributor

please assign me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement This would improve or streamline existing functionality. pinned These issues are not marked stale by our issue bot. sig/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants