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 asm in csum helpers #32543

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jack-R-lantern
Copy link
Contributor

@Jack-R-lantern Jack-R-lantern commented May 15, 2024

Please ensure your pull request adheres to the following guidelines:

  • For first time contributors, read Submitting a pull request
  • All code is covered by unit and/or runtime tests where feasible.
  • All commits contain a well written commit description including a title,
    description and a Fixes: #XXX line if the commit addresses a particular
    GitHub issue.
  • If your commit description contains a Fixes: <commit-id> tag, then
    please add the commit author[s] as reviewer[s] to this issue.
  • All commits are signed off. See the section Developer’s Certificate of Origin
  • Provide a title or release-note blurb suitable for the release notes.
  • Are you a user of Cilium? Please add yourself to the Users doc
  • Thanks for contributing!

This commit is a refactoring due to native support for the bpf_xdp_load_bytes.
replace inline asm to native support xdp_load_bytes()

Fixes: #29487

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label May 15, 2024
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label May 15, 2024
@Jack-R-lantern Jack-R-lantern force-pushed the ISSUE-29487/bpf-xdp-replace-inline-assembly-in-csum-helpers branch 2 times, most recently from 463bf29 to 45f6b05 Compare May 15, 2024 10:18
@Jack-R-lantern Jack-R-lantern marked this pull request as ready for review May 15, 2024 10:23
@Jack-R-lantern Jack-R-lantern requested a review from a team as a code owner May 15, 2024 10:23
@Jack-R-lantern Jack-R-lantern requested a review from jibi May 15, 2024 10:23
@Jack-R-lantern
Copy link
Contributor Author

Jack-R-lantern commented May 20, 2024

@julianwiedmann please review

@jibi jibi added sig/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. release-note/misc This PR makes changes that have no direct user impact. labels May 24, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels May 24, 2024
@jibi
Copy link
Member

jibi commented May 24, 2024

/test

@Jack-R-lantern Jack-R-lantern force-pushed the ISSUE-29487/bpf-xdp-replace-inline-assembly-in-csum-helpers branch 2 times, most recently from a440100 to 4cb5680 Compare May 24, 2024 13:46
@Jack-R-lantern Jack-R-lantern requested a review from jibi May 24, 2024 14:27
@Jack-R-lantern Jack-R-lantern force-pushed the ISSUE-29487/bpf-xdp-replace-inline-assembly-in-csum-helpers branch 2 times, most recently from 5c79660 to 4fc7847 Compare May 26, 2024 16:40
This commit is a refactoring due to native support for
the bpf_xdp_load_bytes.

Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com>
@Jack-R-lantern Jack-R-lantern force-pushed the ISSUE-29487/bpf-xdp-replace-inline-assembly-in-csum-helpers branch from 4fc7847 to 1235c76 Compare May 27, 2024 02:21
@joestringer
Copy link
Member

/test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/community-contribution This was a contribution made by a community member. release-note/misc This PR makes changes that have no direct user impact. sig/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bpf: xdp: replace inline assembly in csum helpers
3 participants